VK_EXT_swapchain_maintenance1 adds a collection of window system integration features that were intentionally left out or overlooked in the original VK_KHR_swapchain extension.
The new features are as follows:
ERROR_OUT_OF_DATE_KHR in this situation.VK_EXT_swapchain_maintenance1VK_KHR_swapchain and VK_EXT_surface_maintenance1 and VK_KHR_get_physical_device_properties2| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_EXT_SWAPCHAIN_MAINTENANCE_1_EXTENSION_NAME
The extension name. |
| public static final int | VK_EXT_SWAPCHAIN_MAINTENANCE_1_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SWAPCHAIN_MAINTENANCE_1_FEATURES_EXT
Extends |
| public static final int | VK_STRUCTURE_TYPE_RELEASE_SWAPCHAIN_IMAGES_INFO_EXT
Extends |
| public static final int | VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_FENCE_INFO_EXT
Extends |
| public static final int | VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODE_INFO_EXT
Extends |
| public static final int | VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODES_CREATE_INFO_EXT
Extends |
| public static final int | VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_SCALING_CREATE_INFO_EXT
Extends |
| public static final int | VK_SWAPCHAIN_CREATE_DEFERRED_MEMORY_ALLOCATION_BIT_EXT
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nvkReleaseSwapchainImagesEXT(VkDevice device, long pReleaseInfo)
Unsafe version of: |
| public static int | vkReleaseSwapchainImagesEXT(VkDevice
the device associated with device, VkReleaseSwapchainImagesInfoEXT VkReleaseSwapchainImagesInfoEXT::swapchain.a pointer to a pReleaseInfo)VkReleaseSwapchainImagesInfoEXT structure containing parameters of the release.Release previously acquired but unused images. |
| VK_EXT_SWAPCHAIN_MAINTENANCE_1_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_EXT_SWAPCHAIN_MAINTENANCE_1_EXTENSION_NAME The extension name. | |
| VK_EXT_SWAPCHAIN_MAINTENANCE_1_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_EXT_SWAPCHAIN_MAINTENANCE_1_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SWAPCHAIN_MAINTENANCE_1_FEATURES_EXT | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SWAPCHAIN_MAINTENANCE_1_FEATURES_EXT Extends Enum values:
| |
| VK_STRUCTURE_TYPE_RELEASE_SWAPCHAIN_IMAGES_INFO_EXT | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_RELEASE_SWAPCHAIN_IMAGES_INFO_EXT Extends Enum values:
| |
| VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_FENCE_INFO_EXT | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_FENCE_INFO_EXT Extends Enum values:
| |
| VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODE_INFO_EXT | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODE_INFO_EXT Extends Enum values:
| |
| VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODES_CREATE_INFO_EXT | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODES_CREATE_INFO_EXT Extends Enum values:
| |
| VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_SCALING_CREATE_INFO_EXT | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_SCALING_CREATE_INFO_EXT Extends Enum values:
| |
| VK_SWAPCHAIN_CREATE_DEFERRED_MEMORY_ALLOCATION_BIT_EXT | back to summary |
|---|---|
| public static final int VK_SWAPCHAIN_CREATE_DEFERRED_MEMORY_ALLOCATION_BIT_EXT Extends | |
| EXTSwapchainMaintenance1 | back to summary |
|---|---|
| protected EXTSwapchainMaintenance1() | |
| nvkReleaseSwapchainImagesEXT | back to summary |
|---|---|
| public static int nvkReleaseSwapchainImagesEXT(VkDevice device, long pReleaseInfo) Unsafe version of: | |
| vkReleaseSwapchainImagesEXT | back to summary |
|---|---|
| public static int vkReleaseSwapchainImagesEXT(VkDevice device, VkReleaseSwapchainImagesInfoEXT pReleaseInfo) Release previously acquired but unused images. C SpecificationTo release images previously acquired through
DescriptionOnly images that are not in use by the device can be released. Releasing images is a read-only operation that will not affect the content of the released images. Upon reacquiring the image, the image contents and its layout will be the same as they were prior to releasing it. However, if a mechanism other than Vulkan is used to modify the platform window associated with the swapchain, the content of all presentable images in the swapchain becomes undefined. NoteThis functionality is useful during swapchain recreation, where acquired images from the old swapchain can be released instead of presented. Valid Usage (Implicit)
Return Codes
See Also
| |