• Home
  • Raw
  • Download

Lines Matching refs:backbuffer

502     BackbufferInfo* backbuffer = fBackbuffers + fCurrentBackbufferIndex;  in getAvailableBackbuffer()  local
504 WaitForFences(fDevice, 2, backbuffer->fUsageFences, in getAvailableBackbuffer()
506 return backbuffer; in getAvailableBackbuffer()
510 BackbufferInfo* backbuffer = this->getAvailableBackbuffer(); in getBackbufferSurface() local
511 SkASSERT(backbuffer); in getBackbufferSurface()
515 ResetFences(fDevice, 2, backbuffer->fUsageFences)); in getBackbufferSurface()
520 backbuffer->fAcquireSemaphore, VK_NULL_HANDLE, in getBackbufferSurface()
521 &backbuffer->fImageIndex); in getBackbufferSurface()
532 backbuffer = this->getAvailableBackbuffer(); in getBackbufferSurface()
534 ResetFences(fDevice, 2, backbuffer->fUsageFences)); in getBackbufferSurface()
538 backbuffer->fAcquireSemaphore, VK_NULL_HANDLE, in getBackbufferSurface()
539 &backbuffer->fImageIndex); in getBackbufferSurface()
547 VkImageLayout layout = fImageLayouts[backbuffer->fImageIndex]; in getBackbufferSurface()
564 fImages[backbuffer->fImageIndex], // image in getBackbufferSurface()
568 ResetCommandBuffer(backbuffer->fTransitionCmdBuffers[0], 0)); in getBackbufferSurface()
574 BeginCommandBuffer(backbuffer->fTransitionCmdBuffers[0], &info)); in getBackbufferSurface()
577 CmdPipelineBarrier(backbuffer->fTransitionCmdBuffers[0], in getBackbufferSurface()
584 EndCommandBuffer(backbuffer->fTransitionCmdBuffers[0])); in getBackbufferSurface()
592 submitInfo.pWaitSemaphores = &backbuffer->fAcquireSemaphore; in getBackbufferSurface()
595 submitInfo.pCommandBuffers = &backbuffer->fTransitionCmdBuffers[0]; in getBackbufferSurface()
600 backbuffer->fUsageFences[0])); in getBackbufferSurface()
602 SkSurface* surface = fSurfaces[backbuffer->fImageIndex].get(); in getBackbufferSurface()
613 BackbufferInfo* backbuffer = fBackbuffers + fCurrentBackbufferIndex; in swapBuffers() local
614 SkSurface* surface = fSurfaces[backbuffer->fImageIndex].get(); in swapBuffers()
621 SkASSERT(imageInfo.fImage == fImages[backbuffer->fImageIndex]); in swapBuffers()
638 fImages[backbuffer->fImageIndex], // image in swapBuffers()
642 ResetCommandBuffer(backbuffer->fTransitionCmdBuffers[1], 0)); in swapBuffers()
648 BeginCommandBuffer(backbuffer->fTransitionCmdBuffers[1], &info)); in swapBuffers()
650 CmdPipelineBarrier(backbuffer->fTransitionCmdBuffers[1], in swapBuffers()
656 EndCommandBuffer(backbuffer->fTransitionCmdBuffers[1])); in swapBuffers()
658 fImageLayouts[backbuffer->fImageIndex] = VK_IMAGE_LAYOUT_PRESENT_SRC_KHR; in swapBuffers()
667 submitInfo.pCommandBuffers = &backbuffer->fTransitionCmdBuffers[1]; in swapBuffers()
669 submitInfo.pSignalSemaphores = &backbuffer->fRenderSemaphore; in swapBuffers()
673 backbuffer->fUsageFences[1])); in swapBuffers()
681 &backbuffer->fRenderSemaphore, // pWaitSemaphores in swapBuffers()
684 &backbuffer->fImageIndex, // pImageIndices in swapBuffers()