Lines Matching refs:frontBuffer

38 		frontBuffer = 0;  in FrameBufferDD()
72 if(frontBuffer) in createSurfaces()
74 frontBuffer->Release(); in createSurfaces()
75 frontBuffer = 0; in createSurfaces()
85 directDraw->CreateSurface(&surfaceDescription, &frontBuffer, 0); in createSurfaces()
87 if(frontBuffer) in createSurfaces()
91 frontBuffer->GetAttachedSurface(&surfaceCapabilties, &backBuffer); in createSurfaces()
104 long result = directDraw->CreateSurface(&ddsd, &frontBuffer, 0); in createSurfaces()
129 frontBuffer->SetClipper(clipper); in createSurfaces()
137 if(!frontBuffer || !backBuffer) in readySurfaces()
142 if(frontBuffer && backBuffer) in readySurfaces()
144 if(frontBuffer->IsLost() || backBuffer->IsLost()) in readySurfaces()
149 if(frontBuffer && backBuffer) in readySurfaces()
151 if(!frontBuffer->IsLost() && !backBuffer->IsLost()) in readySurfaces()
165 if(frontBuffer) in updateClipper()
170 frontBuffer->GetClipper(&clipper); in updateClipper()
179 long result1 = frontBuffer->Restore(); in restoreSurfaces()
261 result = frontBuffer->Blt(&bounds, backBuffer, 0, DDBLT_WAIT, 0); in flip()
265 result = frontBuffer->Flip(0, DDFLIP_NOVSYNC); in flip()
305 long result = frontBuffer->Blt(&dRect, backBuffer, (LPRECT)sourceRect, DDBLT_WAIT, 0); in blit()
342 long result = frontBuffer->Lock(0, &DDSD, DDLOCK_WAIT, 0); in screenshot()
360 frontBuffer->Unlock(0); in screenshot()
368 if(frontBuffer) in setGammaRamp()
370 frontBuffer->QueryInterface(IID_IDirectDrawGammaControl, (void**)&gammaControl); in setGammaRamp()
385 if(frontBuffer) in getGammaRamp()
387 frontBuffer->QueryInterface(IID_IDirectDrawGammaControl, (void**)&gammaControl); in getGammaRamp()
490 if(frontBuffer) in releaseAll()
492 frontBuffer->Release(); in releaseAll()
493 frontBuffer = 0; in releaseAll()