Home | History | Annotate | Download | only in layers

Lines Matching full:swapchain

27 #include "swapchain.h"
32 namespace swapchain {
70 // TBD: Should we leave error in (since Swapchain really needs this
73 (uint64_t)physicalDevice, __LINE__, SWAPCHAIN_INVALID_HANDLE, "Swapchain",
942 // In case the swapchain's device hasn't been destroyed yet
944 // association with this swapchain (i.e. so we can't point to
1066 // In case the swapchain's surface hasn't been destroyed yet
1067 // (which is likely) delete its association with this swapchain
1355 // TODO: Validate cases of re-creating a swapchain (the current code
1356 // assumes a new swapchain is being created).
1366 // Validate that the swapchain extension was enabled:
1695 // Remember the swapchain's handle, and link it to the device:
1702 my_data->swapchainMap[*pSwapchain].swapchain = *pSwapchain;
1726 DestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks *pAllocator) {
1730 // presentable images acquired from pname:swapchain must: have completed
1741 // Validate that the swapchain extension was enabled:
1751 auto it = my_data->swapchainMap.find(swapchain);
1755 // Delete the SwpSwapchain associated with this swapchain:
1757 pSwapchain->pDevice->swapchains.erase(swapchain);
1766 pSwapchain->pSurface->swapchains.erase(swapchain);
1777 my_data->swapchainMap.erase(swapchain);
1783 my_data->device_dispatch_table->DestroySwapchainKHR(device, swapchain, pAllocator);
1788 GetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain, uint32_t *pSwapchainImageCount, VkImage *pSwapchainImages) {
1799 // Validate that the swapchain extension was enabled:
1807 auto it = my_data->swapchainMap.find(swapchain);
1834 result = my_data->device_dispatch_table->GetSwapchainImagesKHR(device, swapchain, pSwapchainImageCount, pSwapchainImages);
1839 auto it = my_data->swapchainMap.find(swapchain);
1860 VKAPI_ATTR VkResult VKAPI_CALL AcquireNextImageKHR(VkDevice device, VkSwapchainKHR swapchain, uint64_t timeout,
1865 // swapchain's images, depending on the timeout value.
1872 // - Record/update the state of the swapchain, in case an error occurs
1884 // Validate that the swapchain extension was enabled:
1897 auto it = my_data->swapchainMap.find(swapchain);
1915 swapchain, "VkSwapchainKHR",
1920 "simultaneously acquire from this swapchain (including this "
1923 "of images in the swapchain (%d) and adding 1.\n",
1936 result = my_data->device_dispatch_table->AcquireNextImageKHR(device, swapchain, timeout, semaphore, fence, pImageIndex);
1941 auto it = my_data->swapchainMap.find(swapchain);
1960 // - Record/update the state of the swapchain, in case an error occurs
2032 SWAPCHAIN_SURFACE_NOT_SUPPORTED_WITH_QUEUE, "%s() called with a swapchain whose "
2312 } // namespace swapchain
2319 return swapchain::CreateDebugReportCallbackEXT(instance, pCreateInfo, pAllocator, pMsgCallback);
2325 swapchain::DestroyDebugReportCallbackEXT(instance, msgCallback, pAllocator);
2331 swapchain::DebugReportMessageEXT(instance, flags, objType, object, location, msgCode, pLayerPrefix, pMsg);
2338 return util_GetExtensionProperties(ARRAY_SIZE(swapchain::instance_extensions), swapchain::instance_extensions, pCount, pProperties);
2343 return util_GetLayerProperties(1, &swapchain::swapchain_layer, pCount, pProperties);
2348 return util_GetLayerProperties(1, &swapchain::swapchain_layer, pCount, pProperties);
2355 return swapchain::EnumerateDeviceExtensionProperties(VK_NULL_HANDLE, pLayerName, pCount, pProperties);
2359 return swapchain::GetDeviceProcAddr(dev, funcName);
2372 return swapchain::GetInstanceProcAddr(instance, funcName);