Lines Matching refs:backBuffer
39 backBuffer = 0; in FrameBufferDD()
66 if(backBuffer) in createSurfaces()
68 backBuffer->Release(); in createSurfaces()
69 backBuffer = 0; in createSurfaces()
91 frontBuffer->GetAttachedSurface(&surfaceCapabilties, &backBuffer); in createSurfaces()
92 backBuffer->AddRef(); in createSurfaces()
126 directDraw->CreateSurface(&ddsd, &backBuffer, 0); in createSurfaces()
138 if(!frontBuffer || !backBuffer) in readySurfaces()
143 if(frontBuffer && backBuffer) in readySurfaces()
145 if(frontBuffer->IsLost() || backBuffer->IsLost()) in readySurfaces()
150 if(frontBuffer && backBuffer) in readySurfaces()
152 if(!frontBuffer->IsLost() && !backBuffer->IsLost()) in readySurfaces()
181 long result2 = backBuffer->Restore(); in restoreSurfaces()
268 result = frontBuffer->Blt(&bounds, backBuffer, 0, DDBLT_WAIT, 0); in flip()
312 long result = frontBuffer->Blt(&dRect, backBuffer, (LPRECT)sourceRect, DDBLT_WAIT, 0); in blit()
420 long result = backBuffer->Lock(0, &DDSD, DDLOCK_WAIT, 0); in lock()
438 if(!framebuffer || !backBuffer) return; in unlock()
440 backBuffer->Unlock(0); in unlock()
456 backBuffer->GetDC(&hdc); in drawText()
463 backBuffer->ReleaseDC(hdc); in drawText()
491 if(backBuffer) in releaseAll()
493 backBuffer->Release(); in releaseAll()
494 backBuffer = 0; in releaseAll()