/reactos/win32ss/gdi/ntgdi/ |
H A D | cliprgn.c | 18 IntGdiReleaseRaoRgn(PDC pDC) in IntGdiReleaseRaoRgn() argument 22 pDC->fs |= DC_DIRTY_RAO; in IntGdiReleaseRaoRgn() 712 pDC->dclevel.prgnMeta = pDC->dclevel.prgnClip; in IntGdiSetMetaRgn() 728 if (!pDC) in NtGdiSetMetaRgn() 735 DC_UnlockDc(pDC); in NtGdiSetMetaRgn() 757 REGION_bOffsetRgn(pDC->prgnVis, pDC->ptlDCOrig.x, pDC->ptlDCOrig.y); in CLIPPING_UpdateGCRegion() 768 REGION_bOffsetRgn(pDC->prgnVis, -pDC->ptlDCOrig.x, -pDC->ptlDCOrig.y); in CLIPPING_UpdateGCRegion() 775 if (pDC->prgnAPI) in CLIPPING_UpdateGCRegion() 781 if (pDC->dclevel.prgnMeta || pDC->dclevel.prgnClip) in CLIPPING_UpdateGCRegion() 833 REGION_bOffsetRgn(pDC->prgnRao, pDC->ptlDCOrig.x, pDC->ptlDCOrig.y); in CLIPPING_UpdateGCRegion() [all …]
|
H A D | arc.c | 254 IntGdiAngleArc( PDC pDC, in IntGdiAngleArc() argument 278 pDC, in IntGdiAngleArc() 292 IntGdiMoveToEx(pDC, x2, y2, NULL); in IntGdiAngleArc() 309 DC *pDC; in NtGdiAngleArc() local 315 pDC = DC_LockDc (hDC); in NtGdiAngleArc() 316 if(!pDC) in NtGdiAngleArc() 325 DC_UnlockDc( pDC ); in NtGdiAngleArc() 333 DC_vUpdateFillBrush(pDC); in NtGdiAngleArc() 335 DC_vUpdateLineBrush(pDC); in NtGdiAngleArc() 337 DC_vFinishBlit(pDC, NULL); in NtGdiAngleArc() [all …]
|
H A D | dcobjs.c | 261 PDC pDC; in NtGdiSelectBrush() local 266 pDC = DC_LockDc(hDC); in NtGdiSelectBrush() 267 if (!pDC) in NtGdiSelectBrush() 275 DC_vUpdateFillBrush(pDC); in NtGdiSelectBrush() 277 DC_UnlockDc(pDC); in NtGdiSelectBrush() 291 PDC pDC; in NtGdiSelectPen() local 296 pDC = DC_LockDc(hDC); in NtGdiSelectPen() 297 if (!pDC) in NtGdiSelectPen() 304 pDC->pdcattr->hpen = hPen; in NtGdiSelectPen() 305 DC_vUpdateLineBrush(pDC); in NtGdiSelectPen() [all …]
|
H A D | print.c | 127 PDC pDC = DC_LockDc(hDC); in NtGdiExtEscape() local 128 if ( pDC == NULL ) in NtGdiExtEscape() 135 ppdev = pDC->ppdev; in NtGdiExtEscape() 139 psurf = pDC->dclevel.pSurface; in NtGdiExtEscape() 142 DC_UnlockDc(pDC); in NtGdiExtEscape() 149 DC_UnlockDc(pDC); in NtGdiExtEscape()
|
H A D | icm.c | 187 PDC pDC; in NtGdiSetColorSpace() local 191 pDC = DC_LockDc(hdc); in NtGdiSetColorSpace() 192 if (!pDC) in NtGdiSetColorSpace() 197 pdcattr = pDC->pdcattr; in NtGdiSetColorSpace() 201 DC_UnlockDc(pDC); in NtGdiSetColorSpace() 212 if (pDC->dclevel.pColorSpace) in NtGdiSetColorSpace() 214 GDIOBJ_vDereferenceObject((POBJ) pDC->dclevel.pColorSpace); in NtGdiSetColorSpace() 217 pDC->dclevel.pColorSpace = pCS; in NtGdiSetColorSpace() 221 DC_UnlockDc(pDC); in NtGdiSetColorSpace()
|
H A D | coord.c | 675 PDC pDC; in NtGdiScaleViewportExtEx() local 680 pDC = DC_LockDc(hDC); in NtGdiScaleViewportExtEx() 681 if (!pDC) in NtGdiScaleViewportExtEx() 686 pdcattr = pDC->pdcattr; in NtGdiScaleViewportExtEx() 740 DC_UnlockDc(pDC); in NtGdiScaleViewportExtEx() 754 PDC pDC; in NtGdiScaleWindowExtEx() local 759 pDC = DC_LockDc(hDC); in NtGdiScaleWindowExtEx() 760 if (!pDC) in NtGdiScaleWindowExtEx() 765 pdcattr = pDC->pdcattr; in NtGdiScaleWindowExtEx() 789 DC_UnlockDc(pDC); in NtGdiScaleWindowExtEx() [all …]
|
H A D | dibobj.c | 489 PDC pDC = NULL; in NtGdiSetDIBitsToDeviceInternal() local 549 pDC = DC_LockDc(hDC); in NtGdiSetDIBitsToDeviceInternal() 550 if (!pDC) in NtGdiSetDIBitsToDeviceInternal() 649 pSurf = pDC->dclevel.pSurface; in NtGdiSetDIBitsToDeviceInternal() 697 DC_vFinishBlit(pDC, NULL); in NtGdiSetDIBitsToDeviceInternal() 708 if (pDC) DC_UnlockDc(pDC); in NtGdiSetDIBitsToDeviceInternal() 730 PDC pDC; in GreGetDIBitsInternal() local 744 pDC = DC_LockDc(hDC); in GreGetDIBitsInternal() 745 if (pDC == NULL || pDC->dctype == DCTYPE_INFO) in GreGetDIBitsInternal() 1102 if (pDC) in GreGetDIBitsInternal() [all …]
|
H A D | gdibatch.c | 502 PDC pDC = NULL; in NtGdiFlushUserBatch() local 506 pDC = DC_LockDc(hDC); in NtGdiFlushUserBatch() 514 Size = GdiFlushUserBatch(pDC, (PGDIBATCHHDR) pHdr); in NtGdiFlushUserBatch() 519 if (pDC) in NtGdiFlushUserBatch() 521 DC_UnlockDc(pDC); in NtGdiFlushUserBatch()
|
/reactos/modules/rosapps/applications/screensavers/starfield/ |
H A D | screensaver.c | 50 void DrawStarField (HDC pDC) in DrawStarField() argument 58 pDC, in DrawStarField() 68 pDC, in DrawStarField() 145 static HDC pDC; in ScreenSaverProc() local 161 HDC pDC = BeginPaint (hwnd, &PtStr); in ScreenSaverProc() local 162 DrawStarField (pDC); in ScreenSaverProc() 173 pDC = GetDC(hwnd); in ScreenSaverProc() 174 DrawStarField (pDC); in ScreenSaverProc() 175 ReleaseDC(hwnd, pDC); in ScreenSaverProc()
|
/reactos/win32ss/reactx/ntddraw/ |
H A D | dxeng.c | 155 DxEngUnlockDC(PDC pDC) in DxEngUnlockDC() argument 158 DC_UnlockDc(pDC); in DxEngUnlockDC() 453 PDC pDC = DC_LockDc(hDC); in DxEngGetDCState() local 458 if (pDC) in DxEngGetDCState() 472 retVal = (DWORD_PTR) pDC->ppdev; in DxEngGetDCState() 480 DC_UnlockDc(pDC); in DxEngGetDCState() 740 PDC pDC = DC_LockDc(hDC); in DxEngSetDCState() local 742 if (pDC) in DxEngSetDCState() 747 pDC->fs |= DC_FULLSCREEN; in DxEngSetDCState() 749 pDC->fs &= ~DC_FULLSCREEN; in DxEngSetDCState() [all …]
|
/reactos/win32ss/user/ntuser/ |
H A D | scrollex.c | 110 PDC pDC; in UserScrollDC() local 161 pDC = DC_LockDc(hDC); in UserScrollDC() 162 if (!pDC) in UserScrollDC() 173 DC_UnlockDc(pDC); in UserScrollDC() 197 IntGdiCombineRgn(RgnTmp, RgnTmp, pDC->prgnVis, RGN_AND); in UserScrollDC() 202 DC_UnlockDc(pDC); in UserScrollDC()
|
/reactos/win32ss/reactx/dxg/ |
H A D | ddraw.c | 261 PDC pDC = NULL; in DxDdCreateDirectDrawObject() local 265 pDC = gpEngFuncs.DxEngLockDC(hDC); in DxDdCreateDirectDrawObject() 266 if (!pDC) in DxDdCreateDirectDrawObject() 272 gpEngFuncs.DxEngUnlockDC(pDC); in DxDdCreateDirectDrawObject() 279 gpEngFuncs.DxEngUnlockDC(pDC); in DxDdCreateDirectDrawObject() 290 gpEngFuncs.DxEngUnlockDC(pDC); in DxDdCreateDirectDrawObject()
|
/reactos/sdk/include/reactos/drivers/directx/ |
H A D | dxeng.h | 78 BOOLEAN NTAPI DxEngUnlockDC(PDC pDC);
|