1// Copyright 2021-2022 The Khronos Group Inc. 2// 3// SPDX-License-Identifier: CC-BY-4.0 4 5include::{generated}/meta/{refprefix}VK_GOOGLE_surfaceless_query.adoc[] 6 7=== Other Extension Metadata 8 9*Last Modified Date*:: 10 2022-08-03 11*IP Status*:: 12 No known IP claims. 13*Contributors*:: 14 - Ian Elliott, Google 15 - Shahbaz Youssefi, Google 16 - James Jones, NVIDIA 17 18=== Description 19 20This extension allows the flink:vkGetPhysicalDeviceSurfaceFormatsKHR and 21flink:vkGetPhysicalDeviceSurfacePresentModesKHR functions to accept 22dlink:VK_NULL_HANDLE as their pname:surface parameter, allowing potential 23surface formats, colorspaces and present modes to be queried without 24providing a surface. 25Identically, flink:vkGetPhysicalDeviceSurfaceFormats2KHR, 26flink:vkGetPhysicalDeviceSurfacePresentModes2EXT, and 27flink:vkGetPhysicalDeviceSurfaceCapabilities2KHR would accept 28dlink:VK_NULL_HANDLE in 29slink:VkPhysicalDeviceSurfaceInfo2KHR::pname:surface. 30*This can only be supported on platforms where the results of these queries 31are surface-agnostic and a single presentation engine is the implicit target 32of all present operations*. 33 34include::{generated}/interfaces/VK_GOOGLE_surfaceless_query.adoc[] 35 36=== Version History 37 38 * Revision 1, 2021-12-14 (Shahbaz Youssefi) 39 ** Internal revisions 40 * Revision 2, 2022-08-03 (Shahbaz Youssefi) 41 ** Precisions to which parts of the query responses are defined when 42 surfaceless 43