Home
last modified time | relevance | path

Searched refs:swapchain (Results 1 – 25 of 116) sorted by relevance

12345

/external/swiftshader/tests/regres/testlists/
Dvk-wsi-PASS.txt15 dEQP-VK.wsi.xlib.swapchain.create.clipped
16 dEQP-VK.wsi.xlib.swapchain.create.composite_alpha
17 dEQP-VK.wsi.xlib.swapchain.create.image_array_layers
18 dEQP-VK.wsi.xlib.swapchain.create.image_extent
19 dEQP-VK.wsi.xlib.swapchain.create.image_format
20 dEQP-VK.wsi.xlib.swapchain.create.image_swapchain_create_info
21 dEQP-VK.wsi.xlib.swapchain.create.image_usage
22 dEQP-VK.wsi.xlib.swapchain.create.min_image_count
23 dEQP-VK.wsi.xlib.swapchain.create.pre_transform
24 dEQP-VK.wsi.xlib.swapchain.create.present_mode
[all …]
Dvk-wsi.txt2176 dEQP-VK.wsi.xlib.swapchain.create.min_image_count
2177 dEQP-VK.wsi.xlib.swapchain.create.image_format
2178 dEQP-VK.wsi.xlib.swapchain.create.image_extent
2179 dEQP-VK.wsi.xlib.swapchain.create.image_array_layers
2180 dEQP-VK.wsi.xlib.swapchain.create.image_usage
2181 dEQP-VK.wsi.xlib.swapchain.create.image_sharing_mode
2182 dEQP-VK.wsi.xlib.swapchain.create.pre_transform
2183 dEQP-VK.wsi.xlib.swapchain.create.composite_alpha
2184 dEQP-VK.wsi.xlib.swapchain.create.present_mode
2185 dEQP-VK.wsi.xlib.swapchain.create.clipped
[all …]
Dvk-wsi-NOT_SUPPORTED.txt2161 dEQP-VK.protected_memory.interaction.wsi.android.swapchain.create.clipped
2162 dEQP-VK.protected_memory.interaction.wsi.android.swapchain.create.composite_alpha
2163 dEQP-VK.protected_memory.interaction.wsi.android.swapchain.create.image_array_layers
2164 dEQP-VK.protected_memory.interaction.wsi.android.swapchain.create.image_extent
2165 dEQP-VK.protected_memory.interaction.wsi.android.swapchain.create.image_format
2166 dEQP-VK.protected_memory.interaction.wsi.android.swapchain.create.image_sharing_mode
2167 dEQP-VK.protected_memory.interaction.wsi.android.swapchain.create.image_usage
2168 dEQP-VK.protected_memory.interaction.wsi.android.swapchain.create.min_image_count
2169 dEQP-VK.protected_memory.interaction.wsi.android.swapchain.create.pre_transform
2170 dEQP-VK.protected_memory.interaction.wsi.android.swapchain.create.present_mode
[all …]
/external/mesa3d/src/vulkan/wsi/
Dwsi_common.c464 struct wsi_swapchain *swapchain; in wsi_common_create_swapchain() local
468 &swapchain); in wsi_common_create_swapchain()
472 swapchain->fences = vk_zalloc(pAllocator, in wsi_common_create_swapchain()
473 sizeof (*swapchain->fences) * swapchain->image_count, in wsi_common_create_swapchain()
474 sizeof (*swapchain->fences), in wsi_common_create_swapchain()
476 if (!swapchain->fences) { in wsi_common_create_swapchain()
477 swapchain->destroy(swapchain, pAllocator); in wsi_common_create_swapchain()
481 *pSwapchain = wsi_swapchain_to_handle(swapchain); in wsi_common_create_swapchain()
491 VK_FROM_HANDLE(wsi_swapchain, swapchain, _swapchain); in wsi_common_destroy_swapchain()
492 if (!swapchain) in wsi_common_destroy_swapchain()
[all …]
Dwsi_common_private.h63 VkResult (*destroy)(struct wsi_swapchain *swapchain,
65 struct wsi_image *(*get_wsi_image)(struct wsi_swapchain *swapchain,
140 struct wsi_swapchain **swapchain);
/external/angle/src/libANGLE/renderer/vulkan/doc/
DPresentSemaphores.md21 Vulkan requires the application (ANGLE in this case) to acquire swapchain images and queue them for
63 > length of the PE present queue is below n+2 where n is the number of swapchain images.
65 > To understand why, imagine a FIFO swapchain with 1000 images and submissions that are
83 cycles between the swapchain images in a straight-forward manner).
137 When recreating the swapchain, all images are eventually freed and new ones are created, possibly
138 with a different count and present mode. For the old swapchain, we can no longer rely on the
140 as there won't be any more submissions using images from the old swapchain.
142 > For example, imagine the old swapchain was created in FIFO mode, and one image is being presented
143 > until the next V-Sync. Furthermore, imagine the new swapchain is created in MAILBOX mode. Since
144 > the old swapchain's image will remain presented until V-Sync, the new MAILBOX swapchain can
[all …]
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_wsi.c159 VkSwapchainKHR swapchain, in lvp_DestroySwapchainKHR() argument
170 wsi_common_destroy_swapchain(_device, swapchain, alloc); in lvp_DestroySwapchainKHR()
175 VkSwapchainKHR swapchain, in lvp_GetSwapchainImagesKHR() argument
179 return wsi_common_get_images(swapchain, in lvp_GetSwapchainImagesKHR()
186 VkSwapchainKHR swapchain, in lvp_AcquireNextImageKHR() argument
194 .swapchain = swapchain, in lvp_AcquireNextImageKHR()
Dlvp_wsi.h50 struct lvp_swapchain **swapchain);
56 VkResult (*destroy)(struct lvp_swapchain *swapchain,
58 VkResult (*get_images)(struct lvp_swapchain *swapchain,
/external/swiftshader/tests/VulkanWrapper/
DSwapchain.cpp41 swapchain = device.createSwapchainKHR(swapchainCreateInfo); in Swapchain()
44 images = device.getSwapchainImagesKHR(swapchain); in Swapchain()
70 device.destroySwapchainKHR(swapchain, nullptr); in ~Swapchain()
75 …auto result = device.acquireNextImageKHR(swapchain, UINT64_MAX, presentCompleteSemaphore, vk::Fenc… in acquireNextImage()
85 presentInfo.pSwapchains = &swapchain; in queuePresent()
DDrawTester.cpp58 swapchain.reset(); in ~DrawTester()
67 swapchain.reset(new Swapchain(physicalDevice, device, *window)); in initialize()
69 renderPass = createRenderPass(swapchain->colorFormat); in initialize()
83 swapchain->acquireNextImage(presentCompleteSemaphore, currentFrameBuffer); in renderFrame()
101 swapchain->queuePresent(queue, currentFrameBuffer, renderCompleteSemaphore); in renderFrame()
192 framebuffers.resize(swapchain->imageCount()); in createFramebuffers()
196 …new Framebuffer(device, physicalDevice, swapchain->getImageView(i), swapchain->colorFormat, render… in createFramebuffers()
318 waitFences.resize(swapchain->imageCount()); in createSynchronizationPrimitives()
359 commandBufferAllocateInfo.commandBufferCount = static_cast<uint32_t>(swapchain->imageCount()); in createCommandBuffers()
/external/mesa3d/src/freedreno/vulkan/
Dtu_wsi.c181 VkSwapchainKHR swapchain, in tu_DestroySwapchainKHR() argument
192 wsi_common_destroy_swapchain(_device, swapchain, alloc); in tu_DestroySwapchainKHR()
197 VkSwapchainKHR swapchain, in tu_GetSwapchainImagesKHR() argument
201 return wsi_common_get_images(swapchain, pSwapchainImageCount, in tu_GetSwapchainImagesKHR()
207 VkSwapchainKHR swapchain, in tu_AcquireNextImageKHR() argument
215 .swapchain = swapchain, in tu_AcquireNextImageKHR()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_wsi.c195 VkSwapchainKHR swapchain, in v3dv_DestroySwapchainKHR() argument
206 wsi_common_destroy_swapchain(_device, swapchain, alloc); in v3dv_DestroySwapchainKHR()
211 VkSwapchainKHR swapchain, in v3dv_GetSwapchainImagesKHR() argument
215 return wsi_common_get_images(swapchain, in v3dv_GetSwapchainImagesKHR()
222 VkSwapchainKHR swapchain, in v3dv_AcquireNextImageKHR() argument
230 .swapchain = swapchain, in v3dv_AcquireNextImageKHR()
/external/mesa3d/src/amd/vulkan/
Dradv_wsi.c201 VkSwapchainKHR swapchain, in radv_DestroySwapchainKHR() argument
212 wsi_common_destroy_swapchain(_device, swapchain, alloc); in radv_DestroySwapchainKHR()
217 VkSwapchainKHR swapchain, in radv_GetSwapchainImagesKHR() argument
221 return wsi_common_get_images(swapchain, in radv_GetSwapchainImagesKHR()
228 VkSwapchainKHR swapchain, in radv_AcquireNextImageKHR() argument
236 .swapchain = swapchain, in radv_AcquireNextImageKHR()
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSwapchainTests.cpp758 …const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(devHelper.vkd, *devHelper.device, &curP… in createSwapchainTest() local
770 …const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(devHelper.vkd, *devHelper.device, &curP… in createSwapchainTest() local
853 …const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(devHelper.vkd, *devHelper.device, &curP… in createSwapchainPrivateDataTest() local
881 …DataEXT(*devHelper.device, getObjectType<VkSwapchainKHR>(), HandleToInt(swapchain.get()), **slots[… in createSwapchainPrivateDataTest()
891 …DataEXT(*devHelper.device, getObjectType<VkSwapchainKHR>(), HandleToInt(swapchain.get()), **slots[… in createSwapchainPrivateDataTest()
896 …DataEXT(*devHelper.device, getObjectType<VkSwapchainKHR>(), HandleToInt(swapchain.get()), **slots[… in createSwapchainPrivateDataTest()
978 …const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(devHelper.vkd, *devHelper.device, &curP… in createSwapchainSimulateOOMTest() local
1067 …const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(devHelper.vkd, *devHelper.device, &swap… in testImageSwapchainCreateInfo() local
1069 VK_CHECK(devHelper.vkd.getSwapchainImagesKHR(*devHelper.device, *swapchain, &numImages, DE_NULL)); in testImageSwapchainCreateInfo()
1077 *swapchain in testImageSwapchainCreateInfo()
[all …]
DvktWsiFullScreenExclusiveTests.cpp427 Move<VkSwapchainKHR> swapchain; in fullScreenExclusiveTest() local
443swapchain = Move<VkSwapchainKHR>(check<VkSwapchainKHR>(object), Deleter<VkSwapchainKHR>(vkd, devic… in fullScreenExclusiveTest()
445 const std::vector<VkImage> swapchainImages = getSwapchainImages(vkd, device, *swapchain); in fullScreenExclusiveTest()
491 const VkResult acquireResult = vkd.acquireFullScreenExclusiveModeEXT(device, *swapchain); in fullScreenExclusiveTest()
526 *swapchain, in fullScreenExclusiveTest()
566 &*swapchain, in fullScreenExclusiveTest()
600 const VkResult releaseResult = vkd.releaseFullScreenExclusiveModeEXT(device, *swapchain); in fullScreenExclusiveTest()
DvktWsiColorSpaceTests.cpp556 const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(vkd, device, &swapchainInfo)); in colorspaceCompareTest() local
557 const vector<VkImage> swapchainImages = getSwapchainImages(vkd, device, *swapchain); in colorspaceCompareTest()
587 *swapchain, in colorspaceCompareTest()
627 &swapchain.get(), in colorspaceCompareTest()
680 const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(vkd, device, &swapchainInfo)); in surfaceFormatRenderTest() local
681 const vector<VkImage> swapchainImages = getSwapchainImages(vkd, device, *swapchain); in surfaceFormatRenderTest()
732 *swapchain, in surfaceFormatRenderTest()
769 &*swapchain, in surfaceFormatRenderTest()
789 swapchainArray.push_back(*swapchain); in surfaceFormatRenderTest()
/external/mesa3d/src/intel/vulkan/
Danv_wsi.c231 VkSwapchainKHR swapchain, in anv_DestroySwapchainKHR() argument
242 wsi_common_destroy_swapchain(_device, swapchain, alloc); in anv_DestroySwapchainKHR()
247 VkSwapchainKHR swapchain, in anv_GetSwapchainImagesKHR() argument
251 return wsi_common_get_images(swapchain, in anv_GetSwapchainImagesKHR()
258 VkSwapchainKHR swapchain, in anv_AcquireNextImageKHR() argument
266 .swapchain = swapchain, in anv_AcquireNextImageKHR()
/external/mesa3d/src/gallium/frontends/nine/
Dthreadpool.c88 _mesa_threadpool_create(struct NineSwapChain9 *swapchain) in _mesa_threadpool_create() argument
100 pool->wthread = NineSwapChain9_CreateThread(swapchain, wthreadpool_worker, pool); in _mesa_threadpool_create()
109 _mesa_threadpool_destroy(struct NineSwapChain9 *swapchain, struct threadpool *pool) in _mesa_threadpool_destroy() argument
120 NineSwapChain9_WaitForThread(swapchain, pool->wthread); in _mesa_threadpool_destroy()
Dthreadpool.h53 struct threadpool *_mesa_threadpool_create(struct NineSwapChain9 *swapchain);
54 void _mesa_threadpool_destroy(struct NineSwapChain9 *swapchain, struct threadpool *pool);
/external/angle/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/
Dvulkan_win32.h286 …lt (VKAPI_PTR *PFN_vkAcquireFullScreenExclusiveModeEXT)(VkDevice device, VkSwapchainKHR swapchain);
287 …lt (VKAPI_PTR *PFN_vkReleaseFullScreenExclusiveModeEXT)(VkDevice device, VkSwapchainKHR swapchain);
299 VkSwapchainKHR swapchain);
303 VkSwapchainKHR swapchain);
/external/swiftshader/include/vulkan/
Dvulkan_win32.h286 …lt (VKAPI_PTR *PFN_vkAcquireFullScreenExclusiveModeEXT)(VkDevice device, VkSwapchainKHR swapchain);
287 …lt (VKAPI_PTR *PFN_vkReleaseFullScreenExclusiveModeEXT)(VkDevice device, VkSwapchainKHR swapchain);
299 VkSwapchainKHR swapchain);
303 VkSwapchainKHR swapchain);
/external/mesa3d/include/vulkan/
Dvulkan_win32.h286 …lt (VKAPI_PTR *PFN_vkAcquireFullScreenExclusiveModeEXT)(VkDevice device, VkSwapchainKHR swapchain);
287 …lt (VKAPI_PTR *PFN_vkReleaseFullScreenExclusiveModeEXT)(VkDevice device, VkSwapchainKHR swapchain);
299 VkSwapchainKHR swapchain);
303 VkSwapchainKHR swapchain);
/external/vulkan-headers/include/vulkan/
Dvulkan_win32.h286 …lt (VKAPI_PTR *PFN_vkAcquireFullScreenExclusiveModeEXT)(VkDevice device, VkSwapchainKHR swapchain);
287 …lt (VKAPI_PTR *PFN_vkReleaseFullScreenExclusiveModeEXT)(VkDevice device, VkSwapchainKHR swapchain);
299 VkSwapchainKHR swapchain);
303 VkSwapchainKHR swapchain);
/external/deqp/external/vulkancts/scripts/src/
Dvulkan_win32.h286 …lt (VKAPI_PTR *PFN_vkAcquireFullScreenExclusiveModeEXT)(VkDevice device, VkSwapchainKHR swapchain);
287 …lt (VKAPI_PTR *PFN_vkReleaseFullScreenExclusiveModeEXT)(VkDevice device, VkSwapchainKHR swapchain);
299 VkSwapchainKHR swapchain);
303 VkSwapchainKHR swapchain);
/external/vulkan-validation-layers/layers/
Dobject_tracker_utils.cpp219 …chainImageObject(VkDevice dispatchable_object, VkImage swapchain_image, VkSwapchainKHR swapchain) { in CreateSwapchainImageObject() argument
225 pNewObjNode->parent_object = HandleToUint64(swapchain); in CreateSwapchainImageObject()
458 …ol ObjectLifetimes::PreCallValidateGetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain, in PreCallValidateGetSwapchainImagesKHR() argument
463 skip |= ValidateObject(device, swapchain, kVulkanObjectTypeSwapchainKHR, false, in PreCallValidateGetSwapchainImagesKHR()
468 void ObjectLifetimes::PostCallRecordGetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain in PostCallRecordGetSwapchainImagesKHR() argument
474 CreateSwapchainImageObject(device, pSwapchainImages[i], swapchain); in PostCallRecordGetSwapchainImagesKHR()
633 bool ObjectLifetimes::PreCallValidateDestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain, in PreCallValidateDestroySwapchainKHR() argument
635 return ValidateDestroyObject(device, swapchain, kVulkanObjectTypeSwapchainKHR, pAllocator, in PreCallValidateDestroySwapchainKHR()
639 void ObjectLifetimes::PreCallRecordDestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain, in PreCallRecordDestroySwapchainKHR() argument
641 RecordDestroyObject(device, swapchain, kVulkanObjectTypeSwapchainKHR); in PreCallRecordDestroySwapchainKHR()
[all …]

12345