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()
125 directDraw->CreateSurface(&ddsd, &backBuffer, 0); 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()
180 long result2 = backBuffer->Restore(); in restoreSurfaces()
261 result = frontBuffer->Blt(&bounds, backBuffer, 0, DDBLT_WAIT, 0); in flip()
305 long result = frontBuffer->Blt(&dRect, backBuffer, (LPRECT)sourceRect, DDBLT_WAIT, 0); in blit()
413 long result = backBuffer->Lock(0, &DDSD, DDLOCK_WAIT, 0); in lock()
431 if(!framebuffer || !backBuffer) return; in unlock()
433 backBuffer->Unlock(0); in unlock()
449 backBuffer->GetDC(&hdc); in drawText()
456 backBuffer->ReleaseDC(hdc); in drawText()
484 if(backBuffer) in releaseAll()
486 backBuffer->Release(); in releaseAll()
487 backBuffer = 0; in releaseAll()