Home
last modified time | relevance | path

Searched refs:presentInfo (Results 1 – 25 of 31) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DNativeSwapChainImplVk.cpp203 VkPresentInfoKHR presentInfo; in Present() local
204 presentInfo.sType = VK_STRUCTURE_TYPE_PRESENT_INFO_KHR; in Present()
205 presentInfo.pNext = nullptr; in Present()
206 presentInfo.waitSemaphoreCount = 0; in Present()
207 presentInfo.pWaitSemaphores = nullptr; in Present()
208 presentInfo.swapchainCount = 1; in Present()
209 presentInfo.pSwapchains = &*mSwapChain; in Present()
210 presentInfo.pImageIndices = &mLastImageIndex; in Present()
211 presentInfo.pResults = nullptr; in Present()
214 if (mDevice->fn.QueuePresentKHR(queue, &presentInfo) != VK_SUCCESS) { in Present()
DSwapChainVk.cpp520 VkPresentInfoKHR presentInfo; in PresentImpl() local
521 presentInfo.sType = VK_STRUCTURE_TYPE_PRESENT_INFO_KHR; in PresentImpl()
522 presentInfo.pNext = nullptr; in PresentImpl()
523 presentInfo.waitSemaphoreCount = 0; in PresentImpl()
524 presentInfo.pWaitSemaphores = nullptr; in PresentImpl()
525 presentInfo.swapchainCount = 1; in PresentImpl()
526 presentInfo.pSwapchains = &*mSwapChain; in PresentImpl()
527 presentInfo.pImageIndices = &mLastImageIndex; in PresentImpl()
528 presentInfo.pResults = nullptr; in PresentImpl()
535 VkResult::WrapUnsafe(device->fn.QueuePresentKHR(device->GetQueue(), &presentInfo)); in PresentImpl()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DSwapchain.cpp81 vk::PresentInfoKHR presentInfo; in queuePresent() local
82 presentInfo.pWaitSemaphores = &waitSemaphore; in queuePresent()
83 presentInfo.waitSemaphoreCount = 1; in queuePresent()
84 presentInfo.swapchainCount = 1; in queuePresent()
85 presentInfo.pSwapchains = &swapchain; in queuePresent()
86 presentInfo.pImageIndices = &imageIndex; in queuePresent()
88 queue.presentKHR(presentInfo); in queuePresent()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DNativeSwapChainImplVk.cpp188 VkPresentInfoKHR presentInfo; in Present() local
189 presentInfo.sType = VK_STRUCTURE_TYPE_PRESENT_INFO_KHR; in Present()
190 presentInfo.pNext = nullptr; in Present()
191 presentInfo.waitSemaphoreCount = 0; in Present()
192 presentInfo.pWaitSemaphores = nullptr; in Present()
193 presentInfo.swapchainCount = 1; in Present()
194 presentInfo.pSwapchains = &mSwapChain; in Present()
195 presentInfo.pImageIndices = &mLastImageIndex; in Present()
196 presentInfo.pResults = nullptr; in Present()
199 if (mDevice->fn.QueuePresentKHR(queue, &presentInfo) != VK_SUCCESS) { in Present()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkQueue.cpp325 VkResult Queue::present(const VkPresentInfoKHR *presentInfo) in present() argument
332 for(uint32_t i = 0; i < presentInfo->waitSemaphoreCount; i++) in present()
334 auto *semaphore = vk::DynamicCast<BinarySemaphore>(presentInfo->pWaitSemaphores[i]); in present()
340 for(uint32_t i = 0; i < presentInfo->swapchainCount; i++) in present()
342 auto *swapchain = vk::Cast(presentInfo->pSwapchains[i]); in present()
343 VkResult perSwapchainResult = swapchain->present(presentInfo->pImageIndices[i]); in present()
345 if(presentInfo->pResults) in present()
347 presentInfo->pResults[i] = perSwapchainResult; in present()
DVkQueue.hpp56 VkResult present(const VkPresentInfoKHR *presentInfo);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSurfaceVk.cpp906 VkPresentInfoKHR presentInfo = {}; in present() local
907 presentInfo.sType = VK_STRUCTURE_TYPE_PRESENT_INFO_KHR; in present()
908 presentInfo.waitSemaphoreCount = 1; in present()
909 presentInfo.pWaitSemaphores = swap.presentImageSemaphore.ptr(); in present()
910 presentInfo.swapchainCount = 1; in present()
911 presentInfo.pSwapchains = &mSwapchain; in present()
912 presentInfo.pImageIndices = &mCurrentSwapchainImageIndex; in present()
913 presentInfo.pResults = nullptr; in present()
944 presentInfo.pNext = &presentRegions; in present()
955 VkResult result = contextVk->getRenderer()->queuePresent(presentInfo); in present()
DRendererVk.h144 VkResult queuePresent(const VkPresentInfoKHR &presentInfo);
DRendererVk.cpp1519 VkResult RendererVk::queuePresent(const VkPresentInfoKHR &presentInfo) in queuePresent() argument
1527 return vkQueuePresentKHR(mQueue, &presentInfo); in queuePresent()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DCommandProcessor.cpp195 const VkPresentInfoKHR &presentInfo) in initPresent() argument
199 copyPresentInfo(presentInfo); in initPresent()
668 const VkPresentInfoKHR &presentInfo) in present() argument
672 VkResult result = mCommandQueue.queuePresent(priority, presentInfo); in present()
675 ASSERT(presentInfo.swapchainCount == 1); in present()
676 ASSERT(presentInfo.pResults == nullptr); in present()
677 mSwapchainStatus[presentInfo.pSwapchains[0]] = result; in present()
736 const VkPresentInfoKHR &presentInfo) in queuePresent() argument
739 task.initPresent(contextPriority, presentInfo); in queuePresent()
1253 const VkPresentInfoKHR &presentInfo) in queuePresent() argument
[all …]
DCommandProcessor.h92 void initPresent(egl::ContextPriority priority, const VkPresentInfoKHR &presentInfo);
306 const VkPresentInfoKHR &presentInfo) = 0;
373 const VkPresentInfoKHR &presentInfo) override;
521 const VkPresentInfoKHR &presentInfo) override;
574 VkResult present(egl::ContextPriority priority, const VkPresentInfoKHR &presentInfo);
DSurfaceVk.cpp1540 VkPresentInfoKHR presentInfo = {}; in present() local
1541 presentInfo.sType = VK_STRUCTURE_TYPE_PRESENT_INFO_KHR; in present()
1542 presentInfo.pNext = pNextChain; in present()
1543 presentInfo.waitSemaphoreCount = 1; in present()
1544 presentInfo.pWaitSemaphores = presentSemaphore->ptr(); in present()
1545 presentInfo.swapchainCount = 1; in present()
1546 presentInfo.pSwapchains = &mSwapchain; in present()
1547 presentInfo.pImageIndices = &mCurrentSwapchainImageIndex; in present()
1548 presentInfo.pResults = nullptr; in present()
1576 presentRegions.pNext = presentInfo.pNext; in present()
[all …]
DRendererVk.h455 const VkPresentInfoKHR &presentInfo);
DRendererVk.cpp3552 const VkPresentInfoKHR &presentInfo) in queuePresent() argument
3559 result = mCommandProcessor.queuePresent(priority, presentInfo); in queuePresent()
3563 result = mCommandQueue.queuePresent(priority, presentInfo); in queuePresent()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiColorSpaceTests.cpp571 const VkPresentInfoKHR presentInfo = in colorspaceCompareTest() local
585 VK_CHECK_WSI(vkd.queuePresentKHR(devHelper.queue, &presentInfo)); in colorspaceCompareTest()
716 const VkPresentInfoKHR presentInfo = in surfaceFormatRenderTest() local
749 VK_CHECK_WSI(vkd.queuePresentKHR(devHelper.queue, &presentInfo)); in surfaceFormatRenderTest()
DvktWsiPresentIdWaitTests.cpp517 const vk::VkPresentInfoKHR presentInfo = in run() local
529 vk::VkResult result = vkd.queuePresentKHR(queue, &presentInfo); in run()
971 const vk::VkPresentInfoKHR presentInfo = in iterate() local
983 VK_CHECK(vkd.queuePresentKHR(devHelper.queue, &presentInfo)); in iterate()
DvktWsiSwapchainTests.cpp1373 const VkPresentInfoKHR presentInfo = in basicRenderTest() local
1387 VK_CHECK_WSI(vkd.queuePresentKHR(devHelper.queue, &presentInfo)); in basicRenderTest()
1617 const VkPresentInfoKHR presentInfo = in multiSwapchainRenderTest() local
1630 VK_CHECK_WSI(vkd.queuePresentKHR(devHelper.queue, &presentInfo)); in multiSwapchainRenderTest()
1849 const VkPresentInfoKHR presentInfo = in deviceGroupRenderTest() local
1860 VK_CHECK_WSI(vkd.queuePresentKHR(queue, &presentInfo)); in deviceGroupRenderTest()
2226 const VkPresentInfoKHR presentInfo = in deviceGroupRenderTest2() local
2237 VK_CHECK(vkd.queuePresentKHR(queue, &presentInfo)); in deviceGroupRenderTest2()
2372 const VkPresentInfoKHR presentInfo = in resizeSwapchainTest() local
2386 VK_CHECK_WSI(vkd.queuePresentKHR(devHelper.queue, &presentInfo)); in resizeSwapchainTest()
DvktWsiDisplayTimingTests.cpp1028 const vk::VkPresentInfoKHR presentInfo = in render() local
1040 VK_CHECK_WSI(m_vkd.queuePresentKHR(m_queue, &presentInfo)); in render()
1046 const vk::VkPresentInfoKHR presentInfo = in render() local
1058 VK_CHECK_WSI(m_vkd.queuePresentKHR(m_queue, &presentInfo)); in render()
DvktWsiIncrementalPresentTests.cpp987 const vk::VkPresentInfoKHR presentInfo = in render() local
999 VK_CHECK_WSI(m_vkd.queuePresentKHR(m_queue, &presentInfo)); in render()
1005 const vk::VkPresentInfoKHR presentInfo = in render() local
1017 VK_CHECK_WSI(m_vkd.queuePresentKHR(m_queue, &presentInfo)); in render()
DvktWsiFullScreenExclusiveTests.cpp561 const VkPresentInfoKHR presentInfo = in fullScreenExclusiveTest() local
575 const VkResult presentResult = vkd.queuePresentKHR(devHelper.queue, &presentInfo); in fullScreenExclusiveTest()
DvktWsiDisplayControlTests.cpp841 const VkPresentInfoKHR presentInfo = in render() local
853 VK_CHECK_WSI(m_vkd.queuePresentKHR(m_queue, &presentInfo)); in render()
DvktWsiSharedPresentableImageTests.cpp927 const vk::VkPresentInfoKHR presentInfo = in render() local
939 VK_CHECK_WSI(m_vkd.queuePresentKHR(m_queue, &presentInfo)); in render()
/third_party/flutter/skia/tools/sk_app/
DVulkanWindowContext.cpp528 const VkPresentInfoKHR presentInfo = in swapBuffers() local
540 fQueuePresentKHR(fPresentQueue, &presentInfo); in swapBuffers()
/third_party/skia/tools/sk_app/
DVulkanWindowContext.cpp557 const VkPresentInfoKHR presentInfo = in swapBuffers() local
569 fQueuePresentKHR(fPresentQueue, &presentInfo); in swapBuffers()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp1260 const vk::VkPresentInfoKHR presentInfo = in basicRenderTest() local
1274 VK_CHECK_WSI(vkd.queuePresentKHR(context.getQueue(), &presentInfo)); in basicRenderTest()

12