Home
last modified time | relevance | path

Searched refs:Surface (Results 1 – 18 of 18) sorted by relevance

/reactos/modules/rostests/dxtest/ddraw/Surface/
H A Dblt.cpp2 DWORD GetPixel (LPDIRECTDRAWSURFACE7 Surface, UINT x, UINT y) in GetPixel() argument
17 if(Surface->Unlock (&rect) != DD_OK) in GetPixel()
40 TEST (Surface->Blt(NULL, Surface, NULL, 0, NULL) == DD_OK ); // blting to itself in Blt_Test()
90 TEST(GetPixel(Surface, 0, 0) == RGB(0, 0, 0)); in Blt_Test()
121 Surface->Unlock (NULL); in GetBltStatus_Test()
138 LPDIRECTDRAWSURFACE7 Surface; in Test_Blt() local
139 if(!CreateSurface(&Surface)) in Test_Blt()
147 if(GetPixel(Surface, 0, 0) != RGB(0, 0, 0)) in Test_Blt()
152 Blt_Test (Surface, passed, failed); in Test_Blt()
153 GetBltStatus_Test (Surface, passed, failed); in Test_Blt()
[all …]
H A Dmisc.cpp5 LPDIRECTDRAWSURFACE7 Surface; in Test_Misc() local
6 if(!CreateSurface(&Surface)) in Test_Misc()
9 TEST (Surface->Initialize(NULL, NULL) == DDERR_ALREADYINITIALIZED); in Test_Misc()
20 TEST (Surface->ReleaseDC((HDC)0xdeadbeef) == DDERR_NODC); in Test_Misc()
21 TEST (Surface->ReleaseDC(GetDC(NULL)) == DDERR_NODC); in Test_Misc()
23 TEST (Surface->GetDC(&hdc) == DD_OK); in Test_Misc()
26 TEST (Surface->ReleaseDC(hdc) == DD_OK); in Test_Misc()
34 TEST (Surface->ChangeUniquenessValue() == DD_OK); in Test_Misc()
41 TEST (Surface->GetPixelFormat(&PixelFormat)); in Test_Misc()
49 TEST (Surface->GetSurfaceDesc(&Desc)); in Test_Misc()
[all …]
H A Dprivate_data.cpp5 LPDIRECTDRAWSURFACE7 Surface; in Test_PrivateData() local
10 if(!CreateSurface(&Surface)) in Test_PrivateData()
14 TEST(Surface->SetPrivateData(guid, NULL, 0, 0) == DDERR_INVALIDPARAMS); in Test_PrivateData()
19 TEST(Surface->GetPrivateData(guid, NULL, 0) == DDERR_INVALIDPARAMS); in Test_PrivateData()
20 TEST(Surface->GetPrivateData(guid, &dummy, 0) == DDERR_INVALIDPARAMS); in Test_PrivateData()
25 TEST(Surface->GetPrivateData(guid, NULL, &size) == DDERR_INVALIDPARAMS); in Test_PrivateData()
27 TEST(Surface->GetPrivateData(guid2, NULL, 0) == DDERR_NOTFOUND); in Test_PrivateData()
29 TEST(Surface->FreePrivateData(guid) == DD_OK); in Test_PrivateData()
30 TEST(Surface->FreePrivateData(guid) == DDERR_NOTFOUND); in Test_PrivateData()
43 TEST(Surface->GetPrivateData(guid, &dummy, &size) == DDERR_EXPIRED); in Test_PrivateData()
[all …]
H A Dcreate.cpp7 LPDIRECTDRAWSURFACE7 Surface = NULL; in TestCaps() local
15 BOOL ret = DirectDraw->CreateSurface(&Desc, &Surface, NULL) == test1; in TestCaps()
18 ret = ret && DirectDraw->CreateSurface(&Desc, &Surface, NULL) == test2; in TestCaps()
20 if ( Surface ) in TestCaps()
21 Surface->Release(); in TestCaps()
28 LPDIRECTDRAWSURFACE7 Surface = NULL; in Test_CreateSurface() local
60 …TEST ( DirectDraw->CreateSurface(&Desc, &Surface, (IUnknown*)0xdeadbeef) == CLASS_E_NOAGGREGATION … in Test_CreateSurface()
61 TEST ( DirectDraw->CreateSurface(NULL, &Surface, NULL) == DDERR_INVALIDPARAMS ); in Test_CreateSurface()
63 TEST ( DirectDraw->CreateSurface(&Desc, &Surface, NULL) == DDERR_INVALIDPARAMS ); in Test_CreateSurface()
/reactos/win32ss/drivers/displays/vga/objects/
H A Dpaint.c13 BOOL VGADDIFillSolid(SURFOBJ *Surface, RECTL Dimensions, ULONG iColor) in VGADDIFillSolid() argument
133 IN SURFOBJ *Surface, in VGADDIPaintRgn() argument
155 VGADDIFillSolid(Surface, ClipRegion->rclBounds, iColor); in VGADDIPaintRgn()
171 VGADDIFillSolid(Surface, RectEnum.arcl[i], iColor); in VGADDIPaintRgn()
185 IN SURFOBJ *Surface, in DrvPaint() argument
201 return(VGADDIPaintRgn(Surface, ClipRegion, iSolidColor, Mix, NULL, BrushOrigin)); in DrvPaint()
/reactos/dll/directx/ddraw/
H A DCMakeLists.txt23 Surface/callbacks_surf_hel.c
24 Surface/createsurface.c
25 Surface/surface_main.c
26 Surface/surface_stubs.c
H A Dddraw_structures.txt243 Surface:
/reactos/modules/rostests/dxtest/ddraw/
H A Dhelper.cpp31 LPDIRECTDRAWSURFACE7 Surface; in CreateSurface() local
63 if(DirectDraw->CreateSurface(&Desc, &Surface, NULL) != DD_OK) in CreateSurface()
71 *pSurface = Surface; in CreateSurface()
/reactos/win32ss/gdi/ntgdi/
H A Dgdibatch.c22 DoDeviceSync( SURFOBJ *Surface, PRECTL Rect, FLONG fl) in DoDeviceSync() argument
24 PPDEVOBJ Device = (PDEVOBJ*)Surface->hdev; in DoDeviceSync()
27 if (!(Device->flFlags & PDEV_DRIVER_PUNTED_CALL) && (Surface->dhsurf)) in DoDeviceSync()
31 Device->DriverFunctions.SynchronizeSurface(Surface, Rect, fl); in DoDeviceSync()
37 Device->DriverFunctions.Synchronize(Surface->dhpdev, Rect); in DoDeviceSync()
H A Dpaint.h3 BOOL APIENTRY FillSolid (SURFOBJ* Surface, RECTL* Dimensions, ULONG iColor);
H A Ddibobj.c1587 PSURFACE Surface; in IntCreateDIBitmap() local
1599 Surface = SURFACE_ShareLockSurface(handle); in IntCreateDIBitmap()
1600 ASSERT(Surface); in IntCreateDIBitmap()
1604 SURFACE_ShareUnlockSurface(Surface); in IntCreateDIBitmap()
1609 SURFACE_vSetPalette(Surface, Palette); in IntCreateDIBitmap()
1612 SURFACE_ShareUnlockSurface(Surface); in IntCreateDIBitmap()
/reactos/win32ss/gdi/eng/
H A Dinteng.h61 IntEngLineTo(SURFOBJ *Surface,
/reactos/win32ss/gdi/gdi32/misc/
H A Dgdientry.c52 HANDLE Surface = 0; in DdBlt() local
57 Surface = (HANDLE)Blt->lpDDSrcSurface->hDDSurface; in DdBlt()
61 return NtGdiDdBlt((HANDLE)Blt->lpDDDestSurface->hDDSurface, Surface, (PDD_BLTDATA)Blt); in DdBlt()
/reactos/dll/directx/wine/ddraw/
H A Dsurface.c737 DDSCAPS2 *Caps, IDirectDrawSurface7 **Surface) in ddraw_surface7_GetAttachedSurface() argument
744 TRACE("iface %p, caps %p, attachment %p.\n", iface, Caps, Surface); in ddraw_surface7_GetAttachedSurface()
784 *Surface = &surf->IDirectDrawSurface7_iface; in ddraw_surface7_GetAttachedSurface()
785 ddraw_surface7_AddRef(*Surface); in ddraw_surface7_GetAttachedSurface()
807 *Surface = &surf->IDirectDrawSurface7_iface; in ddraw_surface7_GetAttachedSurface()
808 ddraw_surface7_AddRef(*Surface); in ddraw_surface7_GetAttachedSurface()
818 *Surface = NULL; in ddraw_surface7_GetAttachedSurface()
/reactos/sdk/include/psdk/
H A Dntgdi.h91 HLSURF_INFORMATION_SURFACE Surface;
/reactos/dll/win32/getuname/lang/
H A Dde-DE.rc8763 8751 "Surface Integral"
H A Den-US.rc8765 8751 "Surface Integral"
H A Dpl-PL.rc8763 8751 "Surface Integral"