// Copyright (c) 2017-2018 Khronos Group. This work is licensed under a // Creative Commons Attribution 4.0 International License; see // http://creativecommons.org/licenses/by/4.0/ include::meta/VK_KHR_get_display_properties2.txt[] *Last Modified Date*:: 2017-02-21 *IP Status*:: No known IP claims. *Contributors*:: - Ian Elliott, Google - James Jones, NVIDIA This extension provides new entry points to query device display properties and capabilities in a way that can be easily extended by other extensions, without introducing any further entry points. This extension can be considered the <> equivalent of the <> extension. === New Object Types None. === New Enum Constants * Extending elink:VkStructureType: ** ename:VK_STRUCTURE_TYPE_DISPLAY_PROPERTIES_2_KHR ** ename:VK_STRUCTURE_TYPE_DISPLAY_PLANE_PROPERTIES_2_KHR ** ename:VK_STRUCTURE_TYPE_DISPLAY_MODE_PROPERTIES_2_KHR ** ename:VK_STRUCTURE_TYPE_DISPLAY_PLANE_INFO_2_KHR ** ename:VK_STRUCTURE_TYPE_DISPLAY_PLANE_CAPABILITIES_2_KHR === New Enums None. === New Structures * slink:VkDisplayProperties2KHR * slink:VkDisplayPlaneProperties2KHR * slink:VkDisplayModeProperties2KHR * slink:VkDisplayPlaneInfo2KHR * slink:VkDisplayPlaneCapabilities2KHR === New Functions * flink:vkGetPhysicalDeviceDisplayProperties2KHR * flink:vkGetPhysicalDeviceDisplayPlaneProperties2KHR * flink:vkGetDisplayModeProperties2KHR * flink:vkGetDisplayPlaneCapabilities2KHR === Issues 1) What should this extension be named? *RESOLVED*: VK_KHR_get_display_properties2. Other alternatives: * VK_KHR_display2 * One extension, combined with VK_KHR_surface_capabilites2. 2) Should extensible input structs be added for these new functions: *RESOLVED*: * flink:vkGetPhysicalDeviceDisplayProperties2KHR: No. The only current input is a VkPhysicalDevice. Other inputs wouldn't make sense. * flink:vkGetPhysicalDeviceDisplayPlaneProperties2KHR: No. The only current input is a VkPhysicalDevice. Other inputs wouldn't make sense. * flink:vkGetDisplayModeProperties2KHR: No. The only curent inputs are a VkPhysicalDevice and a VkDisplayModeKHR. Other inputs wouldn't make sense. 3) Should additional display query functions be extended? *RESOLVED*: * flink:vkGetDisplayPlaneSupportedDisplaysKHR: No. Extensions should instead extend flink:vkGetDisplayPlaneCapabilitiesKHR(). === Version History * Revision 1, 2017-02-21 (James Jones) - Initial draft.