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()
126 directDraw->CreateSurface(&ddsd, &backBuffer, 0); in createSurfaces()
128 directDraw->CreateClipper(0, &clipper, 0); in createSurfaces()
195 DirectDrawCreate(0, &directDraw, 0); in initFullscreen()
200 DirectDrawCreate(&secondaryDisplay, &directDraw, 0); in initFullscreen()
203 directDraw->SetCooperativeLevel(windowHandle, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); in initFullscreen()
210 result = directDraw->SetDisplayMode(width, height, 32); in initFullscreen()
215 result = directDraw->SetDisplayMode(width, height, 24); in initFullscreen()
220 result = directDraw->SetDisplayMode(width, height, 16); in initFullscreen()
245 DirectDrawCreate(0, &directDraw, 0); in initWindowed()
246 directDraw->SetCooperativeLevel(windowHandle, DDSCL_NORMAL); in initWindowed()
468 HRESULT result = directDraw->GetScanLine((unsigned long*)&scanline); in getScanline()
503 if(directDraw) in releaseAll()
505 directDraw->SetCooperativeLevel(0, DDSCL_NORMAL); in releaseAll()
506 directDraw->Release(); in releaseAll()
507 directDraw = 0; in releaseAll()