Home
last modified time | relevance | path

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

12345678

/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/
Dvk-wsi-PASS.txt37 dEQP-VK.wsi.xcb.swapchain.create.clipped
38 dEQP-VK.wsi.xcb.swapchain.create.composite_alpha
39 dEQP-VK.wsi.xcb.swapchain.create.image_array_layers
40 dEQP-VK.wsi.xcb.swapchain.create.image_extent
41 dEQP-VK.wsi.xcb.swapchain.create.image_format
42 dEQP-VK.wsi.xcb.swapchain.create.image_swapchain_create_info
43 dEQP-VK.wsi.xcb.swapchain.create.image_usage
44 dEQP-VK.wsi.xcb.swapchain.create.min_image_count
45 dEQP-VK.wsi.xcb.swapchain.create.pre_transform
46 dEQP-VK.wsi.xcb.swapchain.create.present_mode
[all …]
/third_party/vk-gl-cts/android/cts/master/vk-master-2020-03-01/
Dwsi.txt3 dEQP-VK.wsi.android.swapchain.create.image_swapchain_create_info
4 dEQP-VK.wsi.android.swapchain.simulate_oom.image_swapchain_create_info
5 dEQP-VK.wsi.android.swapchain.render.basic2
6 dEQP-VK.wsi.android.swapchain.render.device_group
7 dEQP-VK.wsi.android.swapchain.render.device_group2
8 dEQP-VK.wsi.android.swapchain.render.2swapchains
9 dEQP-VK.wsi.android.swapchain.render.2swapchains2
10 dEQP-VK.wsi.android.swapchain.render.10swapchains
11 dEQP-VK.wsi.android.swapchain.render.10swapchains2
14 dEQP-VK.wsi.macos.swapchain.create.image_swapchain_create_info
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DSwapChainValidationTests.cpp111 wgpu::SwapChain swapchain = device.CreateSwapChain(surface, &goodDescriptor); in TEST_P() local
112 wgpu::TextureView view = swapchain.GetCurrentTextureView(); in TEST_P()
113 swapchain.Present(); in TEST_P()
176 wgpu::SwapChain swapchain; in TEST_P() local
177 ASSERT_DEVICE_ERROR(swapchain = device.CreateSwapChain(surface, &badDescriptor)); in TEST_P()
180 ASSERT_DEVICE_ERROR(view = swapchain.GetCurrentTextureView()); in TEST_P()
183 ASSERT_DEVICE_ERROR(swapchain.Present()); in TEST_P()
188 wgpu::SwapChain swapchain = device.CreateSwapChain(surface, &goodDescriptor); in TEST_P() local
191 ASSERT_DEVICE_ERROR(swapchain.Present()); in TEST_P()
194 swapchain.GetCurrentTextureView(); in TEST_P()
[all …]
DSwapChainTests.cpp92 wgpu::SwapChain swapchain = device.CreateSwapChain(surface, &baseDescriptor); in TEST_P() local
93 ClearTexture(swapchain.GetCurrentTextureView(), {1.0, 0.0, 0.0, 1.0}); in TEST_P()
94 swapchain.Present(); in TEST_P()
120 wgpu::SwapChain swapchain = device.CreateSwapChain(surface, &baseDescriptor); in TEST_P() local
121 ClearTexture(swapchain.GetCurrentTextureView(), {1.0, 0.0, 0.0, 1.0}); in TEST_P()
126 wgpu::SwapChain swapchain = device.CreateSwapChain(surface, &baseDescriptor); in TEST_P() local
132 wgpu::SwapChain swapchain = device.CreateSwapChain(surface, &baseDescriptor); in TEST_P() local
133 ClearTexture(swapchain.GetCurrentTextureView(), {1.0, 0.0, 0.0, 1.0}); in TEST_P()
177 wgpu::SwapChain swapchain = device.CreateSwapChain(surface, &desc); in TEST_P() local
178 ClearTexture(swapchain.GetCurrentTextureView(), {0.05f * i, 0.0f, 0.0f, 1.0f}); in TEST_P()
[all …]
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_kopper.c152 VKSCR(DestroySwapchainKHR)(screen->dev, cswap->swapchain, NULL); in destroy_swapchain()
209 destroy_swapchain(screen, cdt->swapchain); in zink_kopper_deinit_displaytarget()
212 cdt->swapchain = cdt->old_swapchain = NULL; in zink_kopper_deinit_displaytarget()
227 if (cdt->swapchain) { in kopper_CreateSwapchain()
228 cswap->scci = cdt->swapchain->scci; in kopper_CreateSwapchain()
229 cswap->scci.oldSwapchain = cdt->swapchain->swapchain; in kopper_CreateSwapchain()
281 &cswap->swapchain); in kopper_CreateSwapchain()
290 &cswap->swapchain); in kopper_CreateSwapchain()
308 …VkResult error = VKSCR(GetSwapchainImagesKHR)(screen->dev, cswap->swapchain, &cswap->num_images, N… in kopper_GetSwapchainImages()
315 error = VKSCR(GetSwapchainImagesKHR)(screen->dev, cswap->swapchain, &cswap->num_images, images); in kopper_GetSwapchainImages()
[all …]
Dzink_kopper.h43 VkSwapchainKHR swapchain; member
73 struct kopper_swapchain *swapchain; member
99 return cdt->swapchain->last_present == idx; in zink_kopper_last_present_eq()
105 return idx != UINT32_MAX && cdt->swapchain->images[idx].acquired; in zink_kopper_acquired()
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common.c769 struct wsi_swapchain *swapchain; in wsi_CreateSwapchainKHR() local
778 &swapchain); in wsi_CreateSwapchainKHR()
782 swapchain->fences = vk_zalloc(alloc, in wsi_CreateSwapchainKHR()
783 sizeof (*swapchain->fences) * swapchain->image_count, in wsi_CreateSwapchainKHR()
784 sizeof (*swapchain->fences), in wsi_CreateSwapchainKHR()
786 if (!swapchain->fences) { in wsi_CreateSwapchainKHR()
787 swapchain->destroy(swapchain, alloc); in wsi_CreateSwapchainKHR()
791 if (swapchain->buffer_blit_queue != VK_NULL_HANDLE) { in wsi_CreateSwapchainKHR()
792 swapchain->buffer_blit_semaphores = vk_zalloc(alloc, in wsi_CreateSwapchainKHR()
793 … sizeof (*swapchain->buffer_blit_semaphores) * swapchain->image_count, in wsi_CreateSwapchainKHR()
[all …]
/third_party/vk-gl-cts/android/cts/master/vk-master-2021-03-01/
Dwsi.txt1 dEQP-VK.wsi.android.swapchain.create.exclusive_nonzero_queues
2 dEQP-VK.wsi.android.swapchain.simulate_oom.exclusive_nonzero_queues
3 dEQP-VK.wsi.android.swapchain.destroy.old_swapchain
4 dEQP-VK.wsi.android.swapchain.acquire.too_many
5 dEQP-VK.wsi.android.swapchain.acquire.too_many_timeout
6 dEQP-VK.wsi.android.swapchain.private_data.min_image_count
7 dEQP-VK.wsi.android.swapchain.private_data.image_format
8 dEQP-VK.wsi.android.swapchain.private_data.image_array_layers
9 dEQP-VK.wsi.android.swapchain.private_data.image_usage
10 dEQP-VK.wsi.android.swapchain.private_data.image_sharing_mode
[all …]
/third_party/mesa3d/src/gallium/winsys/d3d12/wgl/
Dd3d12_wgl_framebuffer.cpp56 ComPtr<IDXGISwapChain3> swapchain; member
112 if (!framebuffer->swapchain) { in d3d12_wgl_framebuffer_resize()
125 swapchain1.As(&framebuffer->swapchain); in d3d12_wgl_framebuffer_resize()
146 …if (FAILED(framebuffer->swapchain->ResizeBuffers(num_buffers, desc.Width, desc.Height, desc.Format… in d3d12_wgl_framebuffer_resize()
156 if (!framebuffer->swapchain) { in d3d12_wgl_framebuffer_present()
162 return S_OK == framebuffer->swapchain->Present(0, DXGI_PRESENT_ALLOW_TEARING); in d3d12_wgl_framebuffer_present()
164 return S_OK == framebuffer->swapchain->Present(stw_dev->swap_interval, 0); in d3d12_wgl_framebuffer_present()
174 if (!framebuffer->swapchain) in d3d12_wgl_framebuffer_get_resource()
177 UINT index = framebuffer->swapchain->GetCurrentBackBufferIndex(); in d3d12_wgl_framebuffer_get_resource()
187 framebuffer->swapchain->GetBuffer(index, IID_PPV_ARGS(&res)); in d3d12_wgl_framebuffer_get_resource()
/third_party/skia/third_party/externals/angle2/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 …]
/third_party/flutter/engine/flutter/vulkan/
Dvulkan_swapchain.cc183 VkSwapchainKHR swapchain = VK_NULL_HANDLE; in VulkanSwapchain() local
186 nullptr, &swapchain)) != in VulkanSwapchain()
197 swapchain_ = {swapchain, [this](VkSwapchainKHR swapchain) { in VulkanSwapchain()
199 vk.DestroySwapchainKHR(device_.GetHandle(), swapchain, nullptr); in VulkanSwapchain()
202 swapchain_ = {swapchain, [this](VkSwapchainKHR swapchain) { in VulkanSwapchain()
204 vk.DestroySwapchainKHR(device_.GetHandle(), swapchain, in VulkanSwapchain()
700 auto swapchain = entry.second; in PresentAll() local
701 if (!tmpSwapChain) tmpSwapChain = swapchain; in PresentAll()
702 auto backbuffer = swapchain->backbuffers_[swapchain->current_backbuffer_index_].get(); in PresentAll()
706 swapchains.push_back(swapchain->swapchain_); in PresentAll()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireInjectSwapChainTests.cpp41 wgpuSwapChainPresent(reservation.swapchain); in TEST_F()
52 ASSERT_NE(reservation1.swapchain, reservation2.swapchain); in TEST_F()
83 wgpuSwapChainRelease(reservation.swapchain); in TEST_F()
98 wgpuSwapChainRelease(reservation.swapchain); in TEST_F()
/third_party/gstreamer/gstplugins_bad/tests/examples/d3d11/
Dd3d11videosink-shared-texture-d3d9ex.cpp51 ComPtr<IDirect3DSwapChain9> swapchain; variable
77 if (!swapchain) { in on_begin_draw()
94 hr = swapchain->GetBackBuffer (0, D3DBACKBUFFER_TYPE_MONO, &backbuffer); in on_begin_draw()
114 hr = swapchain->Present (nullptr, nullptr, nullptr, nullptr, 0); in on_begin_draw()
142 if (!swapchain) { in on_resize()
149 hr = d3d9_device->CreateAdditionalSwapChain (&params, &swapchain); in on_resize()
156 hr = swapchain->GetPresentParameters (&params); in on_resize()
167 swapchain = nullptr; in on_resize()
168 hr = d3d9_device->CreateAdditionalSwapChain (&params, &swapchain); in on_resize()
/third_party/skia/third_party/externals/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()
/third_party/vk-gl-cts/external/vulkancts/mustpass/master/vk-default/
Dwsi.txt18 dEQP-VK.wsi.xlib.swapchain.create.min_image_count
19 dEQP-VK.wsi.xlib.swapchain.create.image_format
20 dEQP-VK.wsi.xlib.swapchain.create.image_extent
21 dEQP-VK.wsi.xlib.swapchain.create.image_array_layers
22 dEQP-VK.wsi.xlib.swapchain.create.image_usage
23 dEQP-VK.wsi.xlib.swapchain.create.image_sharing_mode
24 dEQP-VK.wsi.xlib.swapchain.create.pre_transform
25 dEQP-VK.wsi.xlib.swapchain.create.composite_alpha
26 dEQP-VK.wsi.xlib.swapchain.create.present_mode
27 dEQP-VK.wsi.xlib.swapchain.create.clipped
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/vk-default/
Dwsi.txt18 dEQP-VK.wsi.xlib.swapchain.create.min_image_count
19 dEQP-VK.wsi.xlib.swapchain.create.image_format
20 dEQP-VK.wsi.xlib.swapchain.create.image_extent
21 dEQP-VK.wsi.xlib.swapchain.create.image_array_layers
22 dEQP-VK.wsi.xlib.swapchain.create.image_usage
23 dEQP-VK.wsi.xlib.swapchain.create.image_sharing_mode
24 dEQP-VK.wsi.xlib.swapchain.create.pre_transform
25 dEQP-VK.wsi.xlib.swapchain.create.composite_alpha
26 dEQP-VK.wsi.xlib.swapchain.create.present_mode
27 dEQP-VK.wsi.xlib.swapchain.create.clipped
[all …]
/third_party/skia/third_party/externals/dawn/examples/
DAnimometer.cpp28 wgpu::SwapChain swapchain; variable
56 swapchain = GetSwapChain(device); in init()
57 swapchain.Configure(GetPreferredSwapChainTextureFormat(), wgpu::TextureUsage::RenderAttachment, in init()
151 wgpu::TextureView backbufferView = swapchain.GetCurrentTextureView(); in frame()
177 swapchain.Present(); in frame()
DCHelloTriangle.cpp23 WGPUSwapChain swapchain; variable
35 swapchain = wgpuDeviceCreateSwapChain(device, nullptr, &descriptor); in init()
38 wgpuSwapChainConfigure(swapchain, swapChainFormat, WGPUTextureUsage_RenderAttachment, 640, 480); in init()
109 WGPUTextureView backbufferView = wgpuSwapChainGetCurrentTextureView(swapchain); in frame()
138 wgpuSwapChainPresent(swapchain); in frame()
/third_party/flutter/skia/third_party/externals/dawn/examples/
DAnimometer.cpp27 dawn::SwapChain swapchain; variable
54 swapchain = GetSwapChain(device); in init()
55 swapchain.Configure(GetPreferredSwapChainTextureFormat(), in init()
145 dawn::Texture backbuffer = swapchain.GetNextTexture(); in frame()
171 swapchain.Present(backbuffer); in frame()
DCHelloTriangle.cpp22 DawnSwapChain swapchain; variable
35 swapchain = dawnDeviceCreateSwapChain(device, &descriptor); in init()
38 … dawnSwapChainConfigure(swapchain, swapChainFormat, DAWN_TEXTURE_USAGE_BIT_OUTPUT_ATTACHMENT, 640, in init()
128 DawnTexture backbuffer = dawnSwapChainGetNextTexture(swapchain); in frame()
162 dawnSwapChainPresent(swapchain, backbuffer); in frame()
DCppHelloTriangle.cpp32 dawn::SwapChain swapchain; variable
90 swapchain = GetSwapChain(device); in init()
91 swapchain.Configure(GetPreferredSwapChainTextureFormat(), in init()
153 dawn::Texture backbuffer = swapchain.GetNextTexture(); in frame()
171 swapchain.Present(backbuffer); in frame()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiSwapchainTests.cpp694 …const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(devHelper.vkd, *devHelper.device, &curP… in createSwapchainTest() local
706 …const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(devHelper.vkd, *devHelper.device, &curP… in createSwapchainTest() local
789 …const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(devHelper.vkd, *devHelper.device, &curP… in createSwapchainPrivateDataTest() local
817 …DataEXT(*devHelper.device, getObjectType<VkSwapchainKHR>(), HandleToInt(swapchain.get()), **slots[… in createSwapchainPrivateDataTest()
827 …DataEXT(*devHelper.device, getObjectType<VkSwapchainKHR>(), HandleToInt(swapchain.get()), **slots[… in createSwapchainPrivateDataTest()
832 …DataEXT(*devHelper.device, getObjectType<VkSwapchainKHR>(), HandleToInt(swapchain.get()), **slots[… in createSwapchainPrivateDataTest()
914 …const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(devHelper.vkd, *devHelper.device, &curP… in createSwapchainSimulateOOMTest() local
1003 …const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(devHelper.vkd, *devHelper.device, &swap… in testImageSwapchainCreateInfo() local
1005 VK_CHECK(devHelper.vkd.getSwapchainImagesKHR(*devHelper.device, *swapchain, &numImages, DE_NULL)); in testImageSwapchainCreateInfo()
1013 *swapchain in testImageSwapchainCreateInfo()
[all …]
/third_party/vk-gl-cts/android/cts/master/vk-master/
Dwsi.txt15 dEQP-VK.wsi.android.swapchain.create.min_image_count
16 dEQP-VK.wsi.android.swapchain.create.image_format
17 dEQP-VK.wsi.android.swapchain.create.image_extent
18 dEQP-VK.wsi.android.swapchain.create.image_array_layers
19 dEQP-VK.wsi.android.swapchain.create.image_usage
20 dEQP-VK.wsi.android.swapchain.create.image_sharing_mode
21 dEQP-VK.wsi.android.swapchain.create.pre_transform
22 dEQP-VK.wsi.android.swapchain.create.composite_alpha
23 dEQP-VK.wsi.android.swapchain.create.present_mode
24 dEQP-VK.wsi.android.swapchain.create.clipped
[all …]
/third_party/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()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_wsi.h50 struct lvp_swapchain **swapchain);
56 VkResult (*destroy)(struct lvp_swapchain *swapchain,
58 VkResult (*get_images)(struct lvp_swapchain *swapchain,

12345678