MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / AcquireNextImage

Method AcquireNextImage

tests/framework/binding.cpp:2460–2467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2458}
2459
2460uint32_t Swapchain::AcquireNextImage(const Semaphore& image_acquired, uint64_t timeout, VkResult* result) {
2461 uint32_t image_index = 0;
2462 VkResult acquire_result = vk::AcquireNextImageKHR(device(), handle(), timeout, image_acquired, VK_NULL_HANDLE, &image_index);
2463 if (result) {
2464 *result = acquire_result;
2465 }
2466 return image_index;
2467}
2468
2469uint32_t Swapchain::AcquireNextImage(const Fence& image_acquired, uint64_t timeout, VkResult* result) {
2470 uint32_t image_index = 0;

Callers 8

TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 1

AcquireNextImageKHRFunction · 0.85

Tested by

no test coverage detected