Contact
- 
James Jones [GitHub]cubanismo 
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 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. 
- 
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. 
Document Notes
For more information, see the Vulkan Specification
This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.