Lines Matching refs:backBuffer
1708 if(swapchain->backBuffer && swapchain->backBuffer[0]) {
1709 TRACE("Setting rendertarget to %p\n", swapchain->backBuffer);
1710 This->render_targets[0] = swapchain->backBuffer[0];
5942 if (!swapchain->backBuffer)
5944 swapchain->backBuffer = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*swapchain->backBuffer));
5945 if (!swapchain->backBuffer)
5972 if (swapchain->backBuffer[0] != back)
5974 TRACE("Changing the back buffer from %p to %p.\n", swapchain->backBuffer[0], back);
5976 if (swapchain->backBuffer[0])
5978 IWineD3DSurface_SetContainer(swapchain->backBuffer[0], NULL);
5979 ((IWineD3DSurfaceImpl *)swapchain->backBuffer[0])->Flags &= ~SFLAG_SWAPCHAIN;
5981 swapchain->backBuffer[0] = back;
5996 HeapFree(GetProcessHeap(), 0, swapchain->backBuffer);
5997 swapchain->backBuffer = NULL;
6670 target = (IWineD3DSurfaceImpl *)(swapchain->backBuffer ? swapchain->backBuffer[0] : swapchain->frontBuffer);
6868 hr = updateSurfaceDesc((IWineD3DSurfaceImpl *)swapchain->backBuffer[i], pPresentationParameters);