1e5c31af7Sopenharmony_ci/* WARNING: This is auto-generated file. Do not modify, since changes will
2e5c31af7Sopenharmony_ci * be lost! Modify the generating script instead.
3e5c31af7Sopenharmony_ci * This file was generated by /scripts/gen_framework.py
4e5c31af7Sopenharmony_ci */
5e5c31af7Sopenharmony_ci
6e5c31af7Sopenharmony_ci
7e5c31af7Sopenharmony_civoid InstanceDriver::destroyInstance (VkInstance instance, const VkAllocationCallbacks* pAllocator) const
8e5c31af7Sopenharmony_ci{
9e5c31af7Sopenharmony_ci	m_vk.destroyInstance(instance, pAllocator);
10e5c31af7Sopenharmony_ci}
11e5c31af7Sopenharmony_ci
12e5c31af7Sopenharmony_ciVkResult InstanceDriver::enumeratePhysicalDevices (VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) const
13e5c31af7Sopenharmony_ci{
14e5c31af7Sopenharmony_ci	return m_vk.enumeratePhysicalDevices(instance, pPhysicalDeviceCount, pPhysicalDevices);
15e5c31af7Sopenharmony_ci}
16e5c31af7Sopenharmony_ci
17e5c31af7Sopenharmony_civoid InstanceDriver::getPhysicalDeviceProperties (VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties* pProperties) const
18e5c31af7Sopenharmony_ci{
19e5c31af7Sopenharmony_ci	m_vk.getPhysicalDeviceProperties(physicalDevice, pProperties);
20e5c31af7Sopenharmony_ci}
21e5c31af7Sopenharmony_ci
22e5c31af7Sopenharmony_civoid InstanceDriver::getPhysicalDeviceQueueFamilyProperties (VkPhysicalDevice physicalDevice, uint32_t* pQueueFamilyPropertyCount, VkQueueFamilyProperties* pQueueFamilyProperties) const
23e5c31af7Sopenharmony_ci{
24e5c31af7Sopenharmony_ci	m_vk.getPhysicalDeviceQueueFamilyProperties(physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties);
25e5c31af7Sopenharmony_ci}
26e5c31af7Sopenharmony_ci
27e5c31af7Sopenharmony_civoid InstanceDriver::getPhysicalDeviceMemoryProperties (VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties* pMemoryProperties) const
28e5c31af7Sopenharmony_ci{
29e5c31af7Sopenharmony_ci	m_vk.getPhysicalDeviceMemoryProperties(physicalDevice, pMemoryProperties);
30e5c31af7Sopenharmony_ci}
31e5c31af7Sopenharmony_ci
32e5c31af7Sopenharmony_civoid InstanceDriver::getPhysicalDeviceFeatures (VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures* pFeatures) const
33e5c31af7Sopenharmony_ci{
34e5c31af7Sopenharmony_ci	m_vk.getPhysicalDeviceFeatures(physicalDevice, pFeatures);
35e5c31af7Sopenharmony_ci}
36e5c31af7Sopenharmony_ci
37e5c31af7Sopenharmony_civoid InstanceDriver::getPhysicalDeviceFormatProperties (VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties* pFormatProperties) const
38e5c31af7Sopenharmony_ci{
39e5c31af7Sopenharmony_ci	m_vk.getPhysicalDeviceFormatProperties(physicalDevice, format, pFormatProperties);
40e5c31af7Sopenharmony_ci}
41e5c31af7Sopenharmony_ci
42e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceImageFormatProperties (VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkImageFormatProperties* pImageFormatProperties) const
43e5c31af7Sopenharmony_ci{
44e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceImageFormatProperties(physicalDevice, format, type, tiling, usage, flags, pImageFormatProperties);
45e5c31af7Sopenharmony_ci}
46e5c31af7Sopenharmony_ci
47e5c31af7Sopenharmony_ciVkResult InstanceDriver::createDevice (VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDevice* pDevice) const
48e5c31af7Sopenharmony_ci{
49e5c31af7Sopenharmony_ci	return m_vk.createDevice(physicalDevice, pCreateInfo, pAllocator, pDevice);
50e5c31af7Sopenharmony_ci}
51e5c31af7Sopenharmony_ci
52e5c31af7Sopenharmony_ciVkResult InstanceDriver::enumerateDeviceLayerProperties (VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkLayerProperties* pProperties) const
53e5c31af7Sopenharmony_ci{
54e5c31af7Sopenharmony_ci	return m_vk.enumerateDeviceLayerProperties(physicalDevice, pPropertyCount, pProperties);
55e5c31af7Sopenharmony_ci}
56e5c31af7Sopenharmony_ci
57e5c31af7Sopenharmony_ciVkResult InstanceDriver::enumerateDeviceExtensionProperties (VkPhysicalDevice physicalDevice, const char* pLayerName, uint32_t* pPropertyCount, VkExtensionProperties* pProperties) const
58e5c31af7Sopenharmony_ci{
59e5c31af7Sopenharmony_ci	return m_vk.enumerateDeviceExtensionProperties(physicalDevice, pLayerName, pPropertyCount, pProperties);
60e5c31af7Sopenharmony_ci}
61e5c31af7Sopenharmony_ci
62e5c31af7Sopenharmony_civoid InstanceDriver::getPhysicalDeviceSparseImageFormatProperties (VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pPropertyCount, VkSparseImageFormatProperties* pProperties) const
63e5c31af7Sopenharmony_ci{
64e5c31af7Sopenharmony_ci	m_vk.getPhysicalDeviceSparseImageFormatProperties(physicalDevice, format, type, samples, usage, tiling, pPropertyCount, pProperties);
65e5c31af7Sopenharmony_ci}
66e5c31af7Sopenharmony_ci
67e5c31af7Sopenharmony_ciVkResult InstanceDriver::createAndroidSurfaceKHR (VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const
68e5c31af7Sopenharmony_ci{
69e5c31af7Sopenharmony_ci	return m_vk.createAndroidSurfaceKHR(instance, pCreateInfo, pAllocator, pSurface);
70e5c31af7Sopenharmony_ci}
71e5c31af7Sopenharmony_ci
72e5c31af7Sopenharmony_ciVkResult InstanceDriver::createOHOSSurfaceOpenHarmony (VkInstance instance, const VkOHOSSurfaceCreateInfoOpenHarmony* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const
73e5c31af7Sopenharmony_ci{
74e5c31af7Sopenharmony_ci	return m_vk.createOHOSSurfaceOpenHarmony(instance, pCreateInfo, pAllocator, pSurface);
75e5c31af7Sopenharmony_ci}
76e5c31af7Sopenharmony_ci
77e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceDisplayPropertiesKHR (VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkDisplayPropertiesKHR* pProperties) const
78e5c31af7Sopenharmony_ci{
79e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceDisplayPropertiesKHR(physicalDevice, pPropertyCount, pProperties);
80e5c31af7Sopenharmony_ci}
81e5c31af7Sopenharmony_ci
82e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceDisplayPlanePropertiesKHR (VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkDisplayPlanePropertiesKHR* pProperties) const
83e5c31af7Sopenharmony_ci{
84e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceDisplayPlanePropertiesKHR(physicalDevice, pPropertyCount, pProperties);
85e5c31af7Sopenharmony_ci}
86e5c31af7Sopenharmony_ci
87e5c31af7Sopenharmony_ciVkResult InstanceDriver::getDisplayPlaneSupportedDisplaysKHR (VkPhysicalDevice physicalDevice, uint32_t planeIndex, uint32_t* pDisplayCount, VkDisplayKHR* pDisplays) const
88e5c31af7Sopenharmony_ci{
89e5c31af7Sopenharmony_ci	return m_vk.getDisplayPlaneSupportedDisplaysKHR(physicalDevice, planeIndex, pDisplayCount, pDisplays);
90e5c31af7Sopenharmony_ci}
91e5c31af7Sopenharmony_ci
92e5c31af7Sopenharmony_ciVkResult InstanceDriver::getDisplayModePropertiesKHR (VkPhysicalDevice physicalDevice, VkDisplayKHR display, uint32_t* pPropertyCount, VkDisplayModePropertiesKHR* pProperties) const
93e5c31af7Sopenharmony_ci{
94e5c31af7Sopenharmony_ci	return m_vk.getDisplayModePropertiesKHR(physicalDevice, display, pPropertyCount, pProperties);
95e5c31af7Sopenharmony_ci}
96e5c31af7Sopenharmony_ci
97e5c31af7Sopenharmony_ciVkResult InstanceDriver::createDisplayModeKHR (VkPhysicalDevice physicalDevice, VkDisplayKHR display, const VkDisplayModeCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDisplayModeKHR* pMode) const
98e5c31af7Sopenharmony_ci{
99e5c31af7Sopenharmony_ci	return m_vk.createDisplayModeKHR(physicalDevice, display, pCreateInfo, pAllocator, pMode);
100e5c31af7Sopenharmony_ci}
101e5c31af7Sopenharmony_ci
102e5c31af7Sopenharmony_ciVkResult InstanceDriver::getDisplayPlaneCapabilitiesKHR (VkPhysicalDevice physicalDevice, VkDisplayModeKHR mode, uint32_t planeIndex, VkDisplayPlaneCapabilitiesKHR* pCapabilities) const
103e5c31af7Sopenharmony_ci{
104e5c31af7Sopenharmony_ci	return m_vk.getDisplayPlaneCapabilitiesKHR(physicalDevice, mode, planeIndex, pCapabilities);
105e5c31af7Sopenharmony_ci}
106e5c31af7Sopenharmony_ci
107e5c31af7Sopenharmony_ciVkResult InstanceDriver::createDisplayPlaneSurfaceKHR (VkInstance instance, const VkDisplaySurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const
108e5c31af7Sopenharmony_ci{
109e5c31af7Sopenharmony_ci	return m_vk.createDisplayPlaneSurfaceKHR(instance, pCreateInfo, pAllocator, pSurface);
110e5c31af7Sopenharmony_ci}
111e5c31af7Sopenharmony_ci
112e5c31af7Sopenharmony_civoid InstanceDriver::destroySurfaceKHR (VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator) const
113e5c31af7Sopenharmony_ci{
114e5c31af7Sopenharmony_ci	m_vk.destroySurfaceKHR(instance, surface, pAllocator);
115e5c31af7Sopenharmony_ci}
116e5c31af7Sopenharmony_ci
117e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceSurfaceSupportKHR (VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, VkSurfaceKHR surface, VkBool32* pSupported) const
118e5c31af7Sopenharmony_ci{
119e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceSurfaceSupportKHR(physicalDevice, queueFamilyIndex, surface, pSupported);
120e5c31af7Sopenharmony_ci}
121e5c31af7Sopenharmony_ci
122e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceSurfaceCapabilitiesKHR (VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR* pSurfaceCapabilities) const
123e5c31af7Sopenharmony_ci{
124e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, surface, pSurfaceCapabilities);
125e5c31af7Sopenharmony_ci}
126e5c31af7Sopenharmony_ci
127e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceSurfaceFormatsKHR (VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pSurfaceFormatCount, VkSurfaceFormatKHR* pSurfaceFormats) const
128e5c31af7Sopenharmony_ci{
129e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, pSurfaceFormatCount, pSurfaceFormats);
130e5c31af7Sopenharmony_ci}
131e5c31af7Sopenharmony_ci
132e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceSurfacePresentModesKHR (VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pPresentModeCount, VkPresentModeKHR* pPresentModes) const
133e5c31af7Sopenharmony_ci{
134e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceSurfacePresentModesKHR(physicalDevice, surface, pPresentModeCount, pPresentModes);
135e5c31af7Sopenharmony_ci}
136e5c31af7Sopenharmony_ci
137e5c31af7Sopenharmony_ciVkResult InstanceDriver::createViSurfaceNN (VkInstance instance, const VkViSurfaceCreateInfoNN* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const
138e5c31af7Sopenharmony_ci{
139e5c31af7Sopenharmony_ci	return m_vk.createViSurfaceNN(instance, pCreateInfo, pAllocator, pSurface);
140e5c31af7Sopenharmony_ci}
141e5c31af7Sopenharmony_ci
142e5c31af7Sopenharmony_ciVkResult InstanceDriver::createWaylandSurfaceKHR (VkInstance instance, const VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const
143e5c31af7Sopenharmony_ci{
144e5c31af7Sopenharmony_ci	return m_vk.createWaylandSurfaceKHR(instance, pCreateInfo, pAllocator, pSurface);
145e5c31af7Sopenharmony_ci}
146e5c31af7Sopenharmony_ci
147e5c31af7Sopenharmony_ciVkBool32 InstanceDriver::getPhysicalDeviceWaylandPresentationSupportKHR (VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, pt::WaylandDisplayPtr display) const
148e5c31af7Sopenharmony_ci{
149e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceWaylandPresentationSupportKHR(physicalDevice, queueFamilyIndex, display);
150e5c31af7Sopenharmony_ci}
151e5c31af7Sopenharmony_ci
152e5c31af7Sopenharmony_ciVkResult InstanceDriver::createWin32SurfaceKHR (VkInstance instance, const VkWin32SurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const
153e5c31af7Sopenharmony_ci{
154e5c31af7Sopenharmony_ci	return m_vk.createWin32SurfaceKHR(instance, pCreateInfo, pAllocator, pSurface);
155e5c31af7Sopenharmony_ci}
156e5c31af7Sopenharmony_ci
157e5c31af7Sopenharmony_ciVkBool32 InstanceDriver::getPhysicalDeviceWin32PresentationSupportKHR (VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex) const
158e5c31af7Sopenharmony_ci{
159e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceWin32PresentationSupportKHR(physicalDevice, queueFamilyIndex);
160e5c31af7Sopenharmony_ci}
161e5c31af7Sopenharmony_ci
162e5c31af7Sopenharmony_ciVkResult InstanceDriver::createXlibSurfaceKHR (VkInstance instance, const VkXlibSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const
163e5c31af7Sopenharmony_ci{
164e5c31af7Sopenharmony_ci	return m_vk.createXlibSurfaceKHR(instance, pCreateInfo, pAllocator, pSurface);
165e5c31af7Sopenharmony_ci}
166e5c31af7Sopenharmony_ci
167e5c31af7Sopenharmony_ciVkBool32 InstanceDriver::getPhysicalDeviceXlibPresentationSupportKHR (VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, pt::XlibDisplayPtr dpy, pt::XlibVisualID visualID) const
168e5c31af7Sopenharmony_ci{
169e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceXlibPresentationSupportKHR(physicalDevice, queueFamilyIndex, dpy, visualID);
170e5c31af7Sopenharmony_ci}
171e5c31af7Sopenharmony_ci
172e5c31af7Sopenharmony_ciVkResult InstanceDriver::createXcbSurfaceKHR (VkInstance instance, const VkXcbSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const
173e5c31af7Sopenharmony_ci{
174e5c31af7Sopenharmony_ci	return m_vk.createXcbSurfaceKHR(instance, pCreateInfo, pAllocator, pSurface);
175e5c31af7Sopenharmony_ci}
176e5c31af7Sopenharmony_ci
177e5c31af7Sopenharmony_ciVkBool32 InstanceDriver::getPhysicalDeviceXcbPresentationSupportKHR (VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, pt::XcbConnectionPtr connection, pt::XcbVisualid visual_id) const
178e5c31af7Sopenharmony_ci{
179e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceXcbPresentationSupportKHR(physicalDevice, queueFamilyIndex, connection, visual_id);
180e5c31af7Sopenharmony_ci}
181e5c31af7Sopenharmony_ci
182e5c31af7Sopenharmony_ciVkResult InstanceDriver::createImagePipeSurfaceFUCHSIA (VkInstance instance, const VkImagePipeSurfaceCreateInfoFUCHSIA* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const
183e5c31af7Sopenharmony_ci{
184e5c31af7Sopenharmony_ci	return m_vk.createImagePipeSurfaceFUCHSIA(instance, pCreateInfo, pAllocator, pSurface);
185e5c31af7Sopenharmony_ci}
186e5c31af7Sopenharmony_ci
187e5c31af7Sopenharmony_ciVkResult InstanceDriver::createStreamDescriptorSurfaceGGP (VkInstance instance, const VkStreamDescriptorSurfaceCreateInfoGGP* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const
188e5c31af7Sopenharmony_ci{
189e5c31af7Sopenharmony_ci	return m_vk.createStreamDescriptorSurfaceGGP(instance, pCreateInfo, pAllocator, pSurface);
190e5c31af7Sopenharmony_ci}
191e5c31af7Sopenharmony_ci
192e5c31af7Sopenharmony_ciVkResult InstanceDriver::createScreenSurfaceQNX (VkInstance instance, const VkScreenSurfaceCreateInfoQNX* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const
193e5c31af7Sopenharmony_ci{
194e5c31af7Sopenharmony_ci	return m_vk.createScreenSurfaceQNX(instance, pCreateInfo, pAllocator, pSurface);
195e5c31af7Sopenharmony_ci}
196e5c31af7Sopenharmony_ci
197e5c31af7Sopenharmony_ciVkBool32 InstanceDriver::getPhysicalDeviceScreenPresentationSupportQNX (VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, pt::QNXScreenWindowPtr window) const
198e5c31af7Sopenharmony_ci{
199e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceScreenPresentationSupportQNX(physicalDevice, queueFamilyIndex, window);
200e5c31af7Sopenharmony_ci}
201e5c31af7Sopenharmony_ci
202e5c31af7Sopenharmony_ciVkResult InstanceDriver::createDebugReportCallbackEXT (VkInstance instance, const VkDebugReportCallbackCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDebugReportCallbackEXT* pCallback) const
203e5c31af7Sopenharmony_ci{
204e5c31af7Sopenharmony_ci	return m_vk.createDebugReportCallbackEXT(instance, pCreateInfo, pAllocator, pCallback);
205e5c31af7Sopenharmony_ci}
206e5c31af7Sopenharmony_ci
207e5c31af7Sopenharmony_civoid InstanceDriver::destroyDebugReportCallbackEXT (VkInstance instance, VkDebugReportCallbackEXT callback, const VkAllocationCallbacks* pAllocator) const
208e5c31af7Sopenharmony_ci{
209e5c31af7Sopenharmony_ci	m_vk.destroyDebugReportCallbackEXT(instance, callback, pAllocator);
210e5c31af7Sopenharmony_ci}
211e5c31af7Sopenharmony_ci
212e5c31af7Sopenharmony_civoid InstanceDriver::debugReportMessageEXT (VkInstance instance, VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const char* pLayerPrefix, const char* pMessage) const
213e5c31af7Sopenharmony_ci{
214e5c31af7Sopenharmony_ci	m_vk.debugReportMessageEXT(instance, flags, objectType, object, location, messageCode, pLayerPrefix, pMessage);
215e5c31af7Sopenharmony_ci}
216e5c31af7Sopenharmony_ci
217e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceExternalImageFormatPropertiesNV (VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkExternalMemoryHandleTypeFlagsNV externalHandleType, VkExternalImageFormatPropertiesNV* pExternalImageFormatProperties) const
218e5c31af7Sopenharmony_ci{
219e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceExternalImageFormatPropertiesNV(physicalDevice, format, type, tiling, usage, flags, externalHandleType, pExternalImageFormatProperties);
220e5c31af7Sopenharmony_ci}
221e5c31af7Sopenharmony_ci
222e5c31af7Sopenharmony_civoid InstanceDriver::getPhysicalDeviceFeatures2 (VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures2* pFeatures) const
223e5c31af7Sopenharmony_ci{
224e5c31af7Sopenharmony_ci	vk::VkPhysicalDeviceProperties props;
225e5c31af7Sopenharmony_ci	m_vk.getPhysicalDeviceProperties(physicalDevice, &props);
226e5c31af7Sopenharmony_ci	if (props.apiVersion >= VK_API_VERSION_1_1)
227e5c31af7Sopenharmony_ci		m_vk.getPhysicalDeviceFeatures2(physicalDevice, pFeatures);
228e5c31af7Sopenharmony_ci	else
229e5c31af7Sopenharmony_ci		m_vk.getPhysicalDeviceFeatures2KHR(physicalDevice, pFeatures);
230e5c31af7Sopenharmony_ci}
231e5c31af7Sopenharmony_ci
232e5c31af7Sopenharmony_civoid InstanceDriver::getPhysicalDeviceProperties2 (VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties2* pProperties) const
233e5c31af7Sopenharmony_ci{
234e5c31af7Sopenharmony_ci	vk::VkPhysicalDeviceProperties props;
235e5c31af7Sopenharmony_ci	m_vk.getPhysicalDeviceProperties(physicalDevice, &props);
236e5c31af7Sopenharmony_ci	if (props.apiVersion >= VK_API_VERSION_1_1)
237e5c31af7Sopenharmony_ci		m_vk.getPhysicalDeviceProperties2(physicalDevice, pProperties);
238e5c31af7Sopenharmony_ci	else
239e5c31af7Sopenharmony_ci		m_vk.getPhysicalDeviceProperties2KHR(physicalDevice, pProperties);
240e5c31af7Sopenharmony_ci}
241e5c31af7Sopenharmony_ci
242e5c31af7Sopenharmony_civoid InstanceDriver::getPhysicalDeviceFormatProperties2 (VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties2* pFormatProperties) const
243e5c31af7Sopenharmony_ci{
244e5c31af7Sopenharmony_ci	vk::VkPhysicalDeviceProperties props;
245e5c31af7Sopenharmony_ci	m_vk.getPhysicalDeviceProperties(physicalDevice, &props);
246e5c31af7Sopenharmony_ci	if (props.apiVersion >= VK_API_VERSION_1_1)
247e5c31af7Sopenharmony_ci		m_vk.getPhysicalDeviceFormatProperties2(physicalDevice, format, pFormatProperties);
248e5c31af7Sopenharmony_ci	else
249e5c31af7Sopenharmony_ci		m_vk.getPhysicalDeviceFormatProperties2KHR(physicalDevice, format, pFormatProperties);
250e5c31af7Sopenharmony_ci}
251e5c31af7Sopenharmony_ci
252e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceImageFormatProperties2 (VkPhysicalDevice physicalDevice, const VkPhysicalDeviceImageFormatInfo2* pImageFormatInfo, VkImageFormatProperties2* pImageFormatProperties) const
253e5c31af7Sopenharmony_ci{
254e5c31af7Sopenharmony_ci	vk::VkPhysicalDeviceProperties props;
255e5c31af7Sopenharmony_ci	m_vk.getPhysicalDeviceProperties(physicalDevice, &props);
256e5c31af7Sopenharmony_ci	if (props.apiVersion >= VK_API_VERSION_1_1)
257e5c31af7Sopenharmony_ci		return m_vk.getPhysicalDeviceImageFormatProperties2(physicalDevice, pImageFormatInfo, pImageFormatProperties);
258e5c31af7Sopenharmony_ci	else
259e5c31af7Sopenharmony_ci		return m_vk.getPhysicalDeviceImageFormatProperties2KHR(physicalDevice, pImageFormatInfo, pImageFormatProperties);
260e5c31af7Sopenharmony_ci}
261e5c31af7Sopenharmony_ci
262e5c31af7Sopenharmony_civoid InstanceDriver::getPhysicalDeviceQueueFamilyProperties2 (VkPhysicalDevice physicalDevice, uint32_t* pQueueFamilyPropertyCount, VkQueueFamilyProperties2* pQueueFamilyProperties) const
263e5c31af7Sopenharmony_ci{
264e5c31af7Sopenharmony_ci	vk::VkPhysicalDeviceProperties props;
265e5c31af7Sopenharmony_ci	m_vk.getPhysicalDeviceProperties(physicalDevice, &props);
266e5c31af7Sopenharmony_ci	if (props.apiVersion >= VK_API_VERSION_1_1)
267e5c31af7Sopenharmony_ci		m_vk.getPhysicalDeviceQueueFamilyProperties2(physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties);
268e5c31af7Sopenharmony_ci	else
269e5c31af7Sopenharmony_ci		m_vk.getPhysicalDeviceQueueFamilyProperties2KHR(physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties);
270e5c31af7Sopenharmony_ci}
271e5c31af7Sopenharmony_ci
272e5c31af7Sopenharmony_civoid InstanceDriver::getPhysicalDeviceMemoryProperties2 (VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties2* pMemoryProperties) const
273e5c31af7Sopenharmony_ci{
274e5c31af7Sopenharmony_ci	vk::VkPhysicalDeviceProperties props;
275e5c31af7Sopenharmony_ci	m_vk.getPhysicalDeviceProperties(physicalDevice, &props);
276e5c31af7Sopenharmony_ci	if (props.apiVersion >= VK_API_VERSION_1_1)
277e5c31af7Sopenharmony_ci		m_vk.getPhysicalDeviceMemoryProperties2(physicalDevice, pMemoryProperties);
278e5c31af7Sopenharmony_ci	else
279e5c31af7Sopenharmony_ci		m_vk.getPhysicalDeviceMemoryProperties2KHR(physicalDevice, pMemoryProperties);
280e5c31af7Sopenharmony_ci}
281e5c31af7Sopenharmony_ci
282e5c31af7Sopenharmony_civoid InstanceDriver::getPhysicalDeviceSparseImageFormatProperties2 (VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, VkSparseImageFormatProperties2* pProperties) const
283e5c31af7Sopenharmony_ci{
284e5c31af7Sopenharmony_ci	vk::VkPhysicalDeviceProperties props;
285e5c31af7Sopenharmony_ci	m_vk.getPhysicalDeviceProperties(physicalDevice, &props);
286e5c31af7Sopenharmony_ci	if (props.apiVersion >= VK_API_VERSION_1_1)
287e5c31af7Sopenharmony_ci		m_vk.getPhysicalDeviceSparseImageFormatProperties2(physicalDevice, pFormatInfo, pPropertyCount, pProperties);
288e5c31af7Sopenharmony_ci	else
289e5c31af7Sopenharmony_ci		m_vk.getPhysicalDeviceSparseImageFormatProperties2KHR(physicalDevice, pFormatInfo, pPropertyCount, pProperties);
290e5c31af7Sopenharmony_ci}
291e5c31af7Sopenharmony_ci
292e5c31af7Sopenharmony_civoid InstanceDriver::getPhysicalDeviceExternalBufferProperties (VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalBufferInfo* pExternalBufferInfo, VkExternalBufferProperties* pExternalBufferProperties) const
293e5c31af7Sopenharmony_ci{
294e5c31af7Sopenharmony_ci	vk::VkPhysicalDeviceProperties props;
295e5c31af7Sopenharmony_ci	m_vk.getPhysicalDeviceProperties(physicalDevice, &props);
296e5c31af7Sopenharmony_ci	if (props.apiVersion >= VK_API_VERSION_1_1)
297e5c31af7Sopenharmony_ci		m_vk.getPhysicalDeviceExternalBufferProperties(physicalDevice, pExternalBufferInfo, pExternalBufferProperties);
298e5c31af7Sopenharmony_ci	else
299e5c31af7Sopenharmony_ci		m_vk.getPhysicalDeviceExternalBufferPropertiesKHR(physicalDevice, pExternalBufferInfo, pExternalBufferProperties);
300e5c31af7Sopenharmony_ci}
301e5c31af7Sopenharmony_ci
302e5c31af7Sopenharmony_civoid InstanceDriver::getPhysicalDeviceExternalSemaphoreProperties (VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, VkExternalSemaphoreProperties* pExternalSemaphoreProperties) const
303e5c31af7Sopenharmony_ci{
304e5c31af7Sopenharmony_ci	vk::VkPhysicalDeviceProperties props;
305e5c31af7Sopenharmony_ci	m_vk.getPhysicalDeviceProperties(physicalDevice, &props);
306e5c31af7Sopenharmony_ci	if (props.apiVersion >= VK_API_VERSION_1_1)
307e5c31af7Sopenharmony_ci		m_vk.getPhysicalDeviceExternalSemaphoreProperties(physicalDevice, pExternalSemaphoreInfo, pExternalSemaphoreProperties);
308e5c31af7Sopenharmony_ci	else
309e5c31af7Sopenharmony_ci		m_vk.getPhysicalDeviceExternalSemaphorePropertiesKHR(physicalDevice, pExternalSemaphoreInfo, pExternalSemaphoreProperties);
310e5c31af7Sopenharmony_ci}
311e5c31af7Sopenharmony_ci
312e5c31af7Sopenharmony_civoid InstanceDriver::getPhysicalDeviceExternalFenceProperties (VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalFenceInfo* pExternalFenceInfo, VkExternalFenceProperties* pExternalFenceProperties) const
313e5c31af7Sopenharmony_ci{
314e5c31af7Sopenharmony_ci	vk::VkPhysicalDeviceProperties props;
315e5c31af7Sopenharmony_ci	m_vk.getPhysicalDeviceProperties(physicalDevice, &props);
316e5c31af7Sopenharmony_ci	if (props.apiVersion >= VK_API_VERSION_1_1)
317e5c31af7Sopenharmony_ci		m_vk.getPhysicalDeviceExternalFenceProperties(physicalDevice, pExternalFenceInfo, pExternalFenceProperties);
318e5c31af7Sopenharmony_ci	else
319e5c31af7Sopenharmony_ci		m_vk.getPhysicalDeviceExternalFencePropertiesKHR(physicalDevice, pExternalFenceInfo, pExternalFenceProperties);
320e5c31af7Sopenharmony_ci}
321e5c31af7Sopenharmony_ci
322e5c31af7Sopenharmony_ciVkResult InstanceDriver::releaseDisplayEXT (VkPhysicalDevice physicalDevice, VkDisplayKHR display) const
323e5c31af7Sopenharmony_ci{
324e5c31af7Sopenharmony_ci	return m_vk.releaseDisplayEXT(physicalDevice, display);
325e5c31af7Sopenharmony_ci}
326e5c31af7Sopenharmony_ci
327e5c31af7Sopenharmony_ciVkResult InstanceDriver::acquireXlibDisplayEXT (VkPhysicalDevice physicalDevice, pt::XlibDisplayPtr dpy, VkDisplayKHR display) const
328e5c31af7Sopenharmony_ci{
329e5c31af7Sopenharmony_ci	return m_vk.acquireXlibDisplayEXT(physicalDevice, dpy, display);
330e5c31af7Sopenharmony_ci}
331e5c31af7Sopenharmony_ci
332e5c31af7Sopenharmony_ciVkResult InstanceDriver::getRandROutputDisplayEXT (VkPhysicalDevice physicalDevice, pt::XlibDisplayPtr dpy, pt::RROutput rrOutput, VkDisplayKHR* pDisplay) const
333e5c31af7Sopenharmony_ci{
334e5c31af7Sopenharmony_ci	return m_vk.getRandROutputDisplayEXT(physicalDevice, dpy, rrOutput, pDisplay);
335e5c31af7Sopenharmony_ci}
336e5c31af7Sopenharmony_ci
337e5c31af7Sopenharmony_ciVkResult InstanceDriver::acquireWinrtDisplayNV (VkPhysicalDevice physicalDevice, VkDisplayKHR display) const
338e5c31af7Sopenharmony_ci{
339e5c31af7Sopenharmony_ci	return m_vk.acquireWinrtDisplayNV(physicalDevice, display);
340e5c31af7Sopenharmony_ci}
341e5c31af7Sopenharmony_ci
342e5c31af7Sopenharmony_ciVkResult InstanceDriver::getWinrtDisplayNV (VkPhysicalDevice physicalDevice, uint32_t deviceRelativeId, VkDisplayKHR* pDisplay) const
343e5c31af7Sopenharmony_ci{
344e5c31af7Sopenharmony_ci	return m_vk.getWinrtDisplayNV(physicalDevice, deviceRelativeId, pDisplay);
345e5c31af7Sopenharmony_ci}
346e5c31af7Sopenharmony_ci
347e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceSurfaceCapabilities2EXT (VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilities2EXT* pSurfaceCapabilities) const
348e5c31af7Sopenharmony_ci{
349e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceSurfaceCapabilities2EXT(physicalDevice, surface, pSurfaceCapabilities);
350e5c31af7Sopenharmony_ci}
351e5c31af7Sopenharmony_ci
352e5c31af7Sopenharmony_ciVkResult InstanceDriver::enumeratePhysicalDeviceGroups (VkInstance instance, uint32_t* pPhysicalDeviceGroupCount, VkPhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties) const
353e5c31af7Sopenharmony_ci{
354e5c31af7Sopenharmony_ci	return m_vk.enumeratePhysicalDeviceGroups(instance, pPhysicalDeviceGroupCount, pPhysicalDeviceGroupProperties);
355e5c31af7Sopenharmony_ci}
356e5c31af7Sopenharmony_ci
357e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDevicePresentRectanglesKHR (VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pRectCount, VkRect2D* pRects) const
358e5c31af7Sopenharmony_ci{
359e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDevicePresentRectanglesKHR(physicalDevice, surface, pRectCount, pRects);
360e5c31af7Sopenharmony_ci}
361e5c31af7Sopenharmony_ci
362e5c31af7Sopenharmony_ciVkResult InstanceDriver::createIOSSurfaceMVK (VkInstance instance, const VkIOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const
363e5c31af7Sopenharmony_ci{
364e5c31af7Sopenharmony_ci	return m_vk.createIOSSurfaceMVK(instance, pCreateInfo, pAllocator, pSurface);
365e5c31af7Sopenharmony_ci}
366e5c31af7Sopenharmony_ci
367e5c31af7Sopenharmony_ciVkResult InstanceDriver::createMacOSSurfaceMVK (VkInstance instance, const VkMacOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const
368e5c31af7Sopenharmony_ci{
369e5c31af7Sopenharmony_ci	return m_vk.createMacOSSurfaceMVK(instance, pCreateInfo, pAllocator, pSurface);
370e5c31af7Sopenharmony_ci}
371e5c31af7Sopenharmony_ci
372e5c31af7Sopenharmony_ciVkResult InstanceDriver::createMetalSurfaceEXT (VkInstance instance, const VkMetalSurfaceCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const
373e5c31af7Sopenharmony_ci{
374e5c31af7Sopenharmony_ci	return m_vk.createMetalSurfaceEXT(instance, pCreateInfo, pAllocator, pSurface);
375e5c31af7Sopenharmony_ci}
376e5c31af7Sopenharmony_ci
377e5c31af7Sopenharmony_civoid InstanceDriver::getPhysicalDeviceMultisamplePropertiesEXT (VkPhysicalDevice physicalDevice, VkSampleCountFlagBits samples, VkMultisamplePropertiesEXT* pMultisampleProperties) const
378e5c31af7Sopenharmony_ci{
379e5c31af7Sopenharmony_ci	m_vk.getPhysicalDeviceMultisamplePropertiesEXT(physicalDevice, samples, pMultisampleProperties);
380e5c31af7Sopenharmony_ci}
381e5c31af7Sopenharmony_ci
382e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceSurfaceCapabilities2KHR (VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, VkSurfaceCapabilities2KHR* pSurfaceCapabilities) const
383e5c31af7Sopenharmony_ci{
384e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceSurfaceCapabilities2KHR(physicalDevice, pSurfaceInfo, pSurfaceCapabilities);
385e5c31af7Sopenharmony_ci}
386e5c31af7Sopenharmony_ci
387e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceSurfaceFormats2KHR (VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, uint32_t* pSurfaceFormatCount, VkSurfaceFormat2KHR* pSurfaceFormats) const
388e5c31af7Sopenharmony_ci{
389e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceSurfaceFormats2KHR(physicalDevice, pSurfaceInfo, pSurfaceFormatCount, pSurfaceFormats);
390e5c31af7Sopenharmony_ci}
391e5c31af7Sopenharmony_ci
392e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceDisplayProperties2KHR (VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkDisplayProperties2KHR* pProperties) const
393e5c31af7Sopenharmony_ci{
394e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceDisplayProperties2KHR(physicalDevice, pPropertyCount, pProperties);
395e5c31af7Sopenharmony_ci}
396e5c31af7Sopenharmony_ci
397e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceDisplayPlaneProperties2KHR (VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkDisplayPlaneProperties2KHR* pProperties) const
398e5c31af7Sopenharmony_ci{
399e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceDisplayPlaneProperties2KHR(physicalDevice, pPropertyCount, pProperties);
400e5c31af7Sopenharmony_ci}
401e5c31af7Sopenharmony_ci
402e5c31af7Sopenharmony_ciVkResult InstanceDriver::getDisplayModeProperties2KHR (VkPhysicalDevice physicalDevice, VkDisplayKHR display, uint32_t* pPropertyCount, VkDisplayModeProperties2KHR* pProperties) const
403e5c31af7Sopenharmony_ci{
404e5c31af7Sopenharmony_ci	return m_vk.getDisplayModeProperties2KHR(physicalDevice, display, pPropertyCount, pProperties);
405e5c31af7Sopenharmony_ci}
406e5c31af7Sopenharmony_ci
407e5c31af7Sopenharmony_ciVkResult InstanceDriver::getDisplayPlaneCapabilities2KHR (VkPhysicalDevice physicalDevice, const VkDisplayPlaneInfo2KHR* pDisplayPlaneInfo, VkDisplayPlaneCapabilities2KHR* pCapabilities) const
408e5c31af7Sopenharmony_ci{
409e5c31af7Sopenharmony_ci	return m_vk.getDisplayPlaneCapabilities2KHR(physicalDevice, pDisplayPlaneInfo, pCapabilities);
410e5c31af7Sopenharmony_ci}
411e5c31af7Sopenharmony_ci
412e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceCalibrateableTimeDomainsEXT (VkPhysicalDevice physicalDevice, uint32_t* pTimeDomainCount, VkTimeDomainEXT* pTimeDomains) const
413e5c31af7Sopenharmony_ci{
414e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceCalibrateableTimeDomainsEXT(physicalDevice, pTimeDomainCount, pTimeDomains);
415e5c31af7Sopenharmony_ci}
416e5c31af7Sopenharmony_ci
417e5c31af7Sopenharmony_ciVkResult InstanceDriver::createDebugUtilsMessengerEXT (VkInstance instance, const VkDebugUtilsMessengerCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDebugUtilsMessengerEXT* pMessenger) const
418e5c31af7Sopenharmony_ci{
419e5c31af7Sopenharmony_ci	return m_vk.createDebugUtilsMessengerEXT(instance, pCreateInfo, pAllocator, pMessenger);
420e5c31af7Sopenharmony_ci}
421e5c31af7Sopenharmony_ci
422e5c31af7Sopenharmony_civoid InstanceDriver::destroyDebugUtilsMessengerEXT (VkInstance instance, VkDebugUtilsMessengerEXT messenger, const VkAllocationCallbacks* pAllocator) const
423e5c31af7Sopenharmony_ci{
424e5c31af7Sopenharmony_ci	m_vk.destroyDebugUtilsMessengerEXT(instance, messenger, pAllocator);
425e5c31af7Sopenharmony_ci}
426e5c31af7Sopenharmony_ci
427e5c31af7Sopenharmony_civoid InstanceDriver::submitDebugUtilsMessageEXT (VkInstance instance, VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT messageTypes, const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData) const
428e5c31af7Sopenharmony_ci{
429e5c31af7Sopenharmony_ci	m_vk.submitDebugUtilsMessageEXT(instance, messageSeverity, messageTypes, pCallbackData);
430e5c31af7Sopenharmony_ci}
431e5c31af7Sopenharmony_ci
432e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceCooperativeMatrixPropertiesNV (VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkCooperativeMatrixPropertiesNV* pProperties) const
433e5c31af7Sopenharmony_ci{
434e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceCooperativeMatrixPropertiesNV(physicalDevice, pPropertyCount, pProperties);
435e5c31af7Sopenharmony_ci}
436e5c31af7Sopenharmony_ci
437e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceSurfacePresentModes2EXT (VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, uint32_t* pPresentModeCount, VkPresentModeKHR* pPresentModes) const
438e5c31af7Sopenharmony_ci{
439e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceSurfacePresentModes2EXT(physicalDevice, pSurfaceInfo, pPresentModeCount, pPresentModes);
440e5c31af7Sopenharmony_ci}
441e5c31af7Sopenharmony_ci
442e5c31af7Sopenharmony_ciVkResult InstanceDriver::enumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR (VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, uint32_t* pCounterCount, VkPerformanceCounterKHR* pCounters, VkPerformanceCounterDescriptionKHR* pCounterDescriptions) const
443e5c31af7Sopenharmony_ci{
444e5c31af7Sopenharmony_ci	return m_vk.enumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR(physicalDevice, queueFamilyIndex, pCounterCount, pCounters, pCounterDescriptions);
445e5c31af7Sopenharmony_ci}
446e5c31af7Sopenharmony_ci
447e5c31af7Sopenharmony_civoid InstanceDriver::getPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR (VkPhysicalDevice physicalDevice, const VkQueryPoolPerformanceCreateInfoKHR* pPerformanceQueryCreateInfo, uint32_t* pNumPasses) const
448e5c31af7Sopenharmony_ci{
449e5c31af7Sopenharmony_ci	m_vk.getPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR(physicalDevice, pPerformanceQueryCreateInfo, pNumPasses);
450e5c31af7Sopenharmony_ci}
451e5c31af7Sopenharmony_ci
452e5c31af7Sopenharmony_ciVkResult InstanceDriver::createHeadlessSurfaceEXT (VkInstance instance, const VkHeadlessSurfaceCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const
453e5c31af7Sopenharmony_ci{
454e5c31af7Sopenharmony_ci	return m_vk.createHeadlessSurfaceEXT(instance, pCreateInfo, pAllocator, pSurface);
455e5c31af7Sopenharmony_ci}
456e5c31af7Sopenharmony_ci
457e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV (VkPhysicalDevice physicalDevice, uint32_t* pCombinationCount, VkFramebufferMixedSamplesCombinationNV* pCombinations) const
458e5c31af7Sopenharmony_ci{
459e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV(physicalDevice, pCombinationCount, pCombinations);
460e5c31af7Sopenharmony_ci}
461e5c31af7Sopenharmony_ci
462e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceToolProperties (VkPhysicalDevice physicalDevice, uint32_t* pToolCount, VkPhysicalDeviceToolProperties* pToolProperties) const
463e5c31af7Sopenharmony_ci{
464e5c31af7Sopenharmony_ci	vk::VkPhysicalDeviceProperties props;
465e5c31af7Sopenharmony_ci	m_vk.getPhysicalDeviceProperties(physicalDevice, &props);
466e5c31af7Sopenharmony_ci	if (props.apiVersion >= VK_API_VERSION_1_1)
467e5c31af7Sopenharmony_ci		return m_vk.getPhysicalDeviceToolProperties(physicalDevice, pToolCount, pToolProperties);
468e5c31af7Sopenharmony_ci	else
469e5c31af7Sopenharmony_ci		return m_vk.getPhysicalDeviceToolPropertiesEXT(physicalDevice, pToolCount, pToolProperties);
470e5c31af7Sopenharmony_ci}
471e5c31af7Sopenharmony_ci
472e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceFragmentShadingRatesKHR (VkPhysicalDevice physicalDevice, uint32_t* pFragmentShadingRateCount, VkPhysicalDeviceFragmentShadingRateKHR* pFragmentShadingRates) const
473e5c31af7Sopenharmony_ci{
474e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceFragmentShadingRatesKHR(physicalDevice, pFragmentShadingRateCount, pFragmentShadingRates);
475e5c31af7Sopenharmony_ci}
476e5c31af7Sopenharmony_ci
477e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceVideoCapabilitiesKHR (VkPhysicalDevice physicalDevice, const VkVideoProfileInfoKHR* pVideoProfile, VkVideoCapabilitiesKHR* pCapabilities) const
478e5c31af7Sopenharmony_ci{
479e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceVideoCapabilitiesKHR(physicalDevice, pVideoProfile, pCapabilities);
480e5c31af7Sopenharmony_ci}
481e5c31af7Sopenharmony_ci
482e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceVideoFormatPropertiesKHR (VkPhysicalDevice physicalDevice, const VkPhysicalDeviceVideoFormatInfoKHR* pVideoFormatInfo, uint32_t* pVideoFormatPropertyCount, VkVideoFormatPropertiesKHR* pVideoFormatProperties) const
483e5c31af7Sopenharmony_ci{
484e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceVideoFormatPropertiesKHR(physicalDevice, pVideoFormatInfo, pVideoFormatPropertyCount, pVideoFormatProperties);
485e5c31af7Sopenharmony_ci}
486e5c31af7Sopenharmony_ci
487e5c31af7Sopenharmony_ciVkResult InstanceDriver::acquireDrmDisplayEXT (VkPhysicalDevice physicalDevice, int32_t drmFd, VkDisplayKHR display) const
488e5c31af7Sopenharmony_ci{
489e5c31af7Sopenharmony_ci	return m_vk.acquireDrmDisplayEXT(physicalDevice, drmFd, display);
490e5c31af7Sopenharmony_ci}
491e5c31af7Sopenharmony_ci
492e5c31af7Sopenharmony_ciVkResult InstanceDriver::getDrmDisplayEXT (VkPhysicalDevice physicalDevice, int32_t drmFd, uint32_t connectorId, VkDisplayKHR* display) const
493e5c31af7Sopenharmony_ci{
494e5c31af7Sopenharmony_ci	return m_vk.getDrmDisplayEXT(physicalDevice, drmFd, connectorId, display);
495e5c31af7Sopenharmony_ci}
496e5c31af7Sopenharmony_ci
497e5c31af7Sopenharmony_ciVkResult InstanceDriver::getPhysicalDeviceOpticalFlowImageFormatsNV (VkPhysicalDevice physicalDevice, const VkOpticalFlowImageFormatInfoNV* pOpticalFlowImageFormatInfo, uint32_t* pFormatCount, VkOpticalFlowImageFormatPropertiesNV* pImageFormatProperties) const
498e5c31af7Sopenharmony_ci{
499e5c31af7Sopenharmony_ci	return m_vk.getPhysicalDeviceOpticalFlowImageFormatsNV(physicalDevice, pOpticalFlowImageFormatInfo, pFormatCount, pImageFormatProperties);
500e5c31af7Sopenharmony_ci}
501