VK_KHR_get_surface_capabilities2
Other Extension Metadata
Last Modified Date
2017-02-27
IP Status
No known IP claims.
Contributors
- Ian Elliott, Google
- James Jones, NVIDIA
- Alon Or-bach, Samsung
Description
This extension provides new queries for device surface capabilities that can be easily extended by other extensions, without introducing any further queries. This extension can be considered the VK_KHR_surface equivalent of the VK_KHR_get_physical_device_properties2 extension.
New Commands
New Structures
New Enum Constants
VK_KHR_GET_SURFACE_CAPABILITIES_2_EXTENSION_NAME
VK_KHR_GET_SURFACE_CAPABILITIES_2_SPEC_VERSION
- Extending VkStructureType:
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR
VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR
VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR
Issues
1) What should this extension be named?
RESOLVED: VK_KHR_get_surface_capabilities2
.
Other alternatives:
VK_KHR_surface2
- One extension, combining a separate display-specific query extension.
2) Should additional WSI query functions be extended?
RESOLVED:
- vkGetPhysicalDeviceSurfaceCapabilitiesKHR: Yes. The need for this motivated the extension.
- vkGetPhysicalDeviceSurfaceSupportKHR: No. Currently only has boolean output. Extensions should instead extend vkGetPhysicalDeviceSurfaceCapabilities2KHR.
- vkGetPhysicalDeviceSurfaceFormatsKHR: Yes.
- vkGetPhysicalDeviceSurfacePresentModesKHR: No. Recent discussion concluded this introduced too much variability for applications to deal with. Extensions should instead extend vkGetPhysicalDeviceSurfaceCapabilities2KHR.
- vkGetPhysicalDeviceXlibPresentationSupportKHR: Not in this extension.
- vkGetPhysicalDeviceXcbPresentationSupportKHR: Not in this extension.
- vkGetPhysicalDeviceWaylandPresentationSupportKHR: Not in this extension.
- vkGetPhysicalDeviceWin32PresentationSupportKHR: Not in this extension.
Version History
- Revision 1, 2017-02-27 (James Jones)
- Initial draft.