Lines Matching refs:directDraw
37 directDraw = 0; in FrameBufferDD()
85 directDraw->CreateSurface(&surfaceDescription, &frontBuffer, 0); in createSurfaces()
104 long result = directDraw->CreateSurface(&ddsd, &frontBuffer, 0); in createSurfaces()
105 directDraw->GetDisplayMode(&ddsd); in createSurfaces()
125 directDraw->CreateSurface(&ddsd, &backBuffer, 0); in createSurfaces()
127 directDraw->CreateClipper(0, &clipper, 0); in createSurfaces()
194 DirectDrawCreate(0, &directDraw, 0); in initFullscreen()
199 DirectDrawCreate(&secondaryDisplay, &directDraw, 0); in initFullscreen()
202 directDraw->SetCooperativeLevel(windowHandle, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); in initFullscreen()
209 result = directDraw->SetDisplayMode(width, height, 32); in initFullscreen()
214 result = directDraw->SetDisplayMode(width, height, 16); in initFullscreen()
238 DirectDrawCreate(0, &directDraw, 0); in initWindowed()
239 directDraw->SetCooperativeLevel(windowHandle, DDSCL_NORMAL); in initWindowed()
461 HRESULT result = directDraw->GetScanLine((unsigned long*)&scanline); in getScanline()
496 if(directDraw) in releaseAll()
498 directDraw->SetCooperativeLevel(0, DDSCL_NORMAL); in releaseAll()
499 directDraw->Release(); in releaseAll()
500 directDraw = 0; in releaseAll()