Home
last modified time | relevance | path

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

1234567

/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/vulkan/wsi/
Dwsi_common.c513 struct wsi_swapchain *swapchain; in wsi_CreateSwapchainKHR() local
522 &swapchain); in wsi_CreateSwapchainKHR()
526 swapchain->fences = vk_zalloc(alloc, in wsi_CreateSwapchainKHR()
527 sizeof (*swapchain->fences) * swapchain->image_count, in wsi_CreateSwapchainKHR()
528 sizeof (*swapchain->fences), in wsi_CreateSwapchainKHR()
530 if (!swapchain->fences) { in wsi_CreateSwapchainKHR()
531 swapchain->destroy(swapchain, alloc); in wsi_CreateSwapchainKHR()
535 *pSwapchain = wsi_swapchain_to_handle(swapchain); in wsi_CreateSwapchainKHR()
546 VK_FROM_HANDLE(wsi_swapchain, swapchain, _swapchain); in wsi_DestroySwapchainKHR()
549 if (!swapchain) in wsi_DestroySwapchainKHR()
[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.cpp53 ComPtr<IDXGISwapChain3> swapchain; member
109 if (!framebuffer->swapchain) { in d3d12_wgl_framebuffer_resize()
122 swapchain1.As(&framebuffer->swapchain); in d3d12_wgl_framebuffer_resize()
143 …if (FAILED(framebuffer->swapchain->ResizeBuffers(num_buffers, desc.Width, desc.Height, desc.Format… in d3d12_wgl_framebuffer_resize()
153 if (!framebuffer->swapchain) { in d3d12_wgl_framebuffer_present()
159 return S_OK == framebuffer->swapchain->Present(0, DXGI_PRESENT_ALLOW_TEARING); in d3d12_wgl_framebuffer_present()
161 return S_OK == framebuffer->swapchain->Present(stw_dev->swap_interval, 0); in d3d12_wgl_framebuffer_present()
171 if (!framebuffer->swapchain) in d3d12_wgl_framebuffer_get_resource()
174 UINT index = framebuffer->swapchain->GetCurrentBackBufferIndex(); in d3d12_wgl_framebuffer_get_resource()
184 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/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/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()
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()
/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/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()
DCppHelloTriangle.cpp33 wgpu::SwapChain swapchain; variable
92 swapchain = GetSwapChain(device); in init()
93 swapchain.Configure(GetPreferredSwapChainTextureFormat(), wgpu::TextureUsage::RenderAttachment, in init()
153 wgpu::TextureView backbufferView = swapchain.GetCurrentTextureView(); in frame()
169 swapchain.Present(); in frame()
DComputeBoids.cpp30 wgpu::SwapChain swapchain; variable
301 swapchain = GetSwapChain(device); in init()
302 swapchain.Configure(GetPreferredSwapChainTextureFormat(), wgpu::TextureUsage::RenderAttachment, in init()
311 wgpu::TextureView backbufferView = swapchain.GetCurrentTextureView(); in frame()
315 swapchain.Present(); 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/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/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/lavapipe/
Dlvp_wsi.h50 struct lvp_swapchain **swapchain);
56 VkResult (*destroy)(struct lvp_swapchain *swapchain,
58 VkResult (*get_images)(struct lvp_swapchain *swapchain,
/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()

1234567