Lines Matching refs:mBackbuffers

121     SkASSERT(surface->mBackbuffers);  in getAvailableBackbuffer()
128 VulkanSurface::BackbufferInfo* backbuffer = surface->mBackbuffers + in getAvailableBackbuffer()
244 if (surface->mBackbuffers) { in destroyBuffers()
246 mWaitForFences(mBackendContext->fDevice, 2, surface->mBackbuffers[i].mUsageFences, true, in destroyBuffers()
248 surface->mBackbuffers[i].mImageIndex = -1; in destroyBuffers()
249 mDestroySemaphore(mBackendContext->fDevice, surface->mBackbuffers[i].mAcquireSemaphore, in destroyBuffers()
251 mDestroySemaphore(mBackendContext->fDevice, surface->mBackbuffers[i].mRenderSemaphore, in destroyBuffers()
254 surface->mBackbuffers[i].mTransitionCmdBuffers); in destroyBuffers()
255 mDestroyFence(mBackendContext->fDevice, surface->mBackbuffers[i].mUsageFences[0], 0); in destroyBuffers()
256 mDestroyFence(mBackendContext->fDevice, surface->mBackbuffers[i].mUsageFences[1], 0); in destroyBuffers()
260 delete[] surface->mBackbuffers; in destroyBuffers()
261 surface->mBackbuffers = nullptr; in destroyBuffers()
350 surface->mBackbuffers = new VulkanSurface::BackbufferInfo[surface->mImageCount + 1]; in createBuffers()
353 surface->mBackbuffers[i].mImageIndex = -1; in createBuffers()
355 &surface->mBackbuffers[i].mAcquireSemaphore); in createBuffers()
357 &surface->mBackbuffers[i].mRenderSemaphore); in createBuffers()
359 surface->mBackbuffers[i].mTransitionCmdBuffers); in createBuffers()
361 &surface->mBackbuffers[i].mUsageFences[0]); in createBuffers()
363 &surface->mBackbuffers[i].mUsageFences[1]); in createBuffers()
611 VulkanSurface::BackbufferInfo* backbuffer = surface->mBackbuffers + in swapBuffers()
693 VulkanSurface::BackbufferInfo* backbuffer = surface->mBackbuffers + in getAge()