Path: blob/21.2-virgl/include/vulkan/vulkan_screen.h
4545 views
#ifndef VULKAN_SCREEN_H_1#define VULKAN_SCREEN_H_ 123/*4** Copyright 2015-2021 The Khronos Group Inc.5**6** SPDX-License-Identifier: Apache-2.07*/89/*10** This header is generated from the Khronos Vulkan XML API Registry.11**12*/131415#ifdef __cplusplus16extern "C" {17#endif18192021#define VK_QNX_screen_surface 122#define VK_QNX_SCREEN_SURFACE_SPEC_VERSION 123#define VK_QNX_SCREEN_SURFACE_EXTENSION_NAME "VK_QNX_screen_surface"24typedef VkFlags VkScreenSurfaceCreateFlagsQNX;25typedef struct VkScreenSurfaceCreateInfoQNX {26VkStructureType sType;27const void* pNext;28VkScreenSurfaceCreateFlagsQNX flags;29struct _screen_context* context;30struct _screen_window* window;31} VkScreenSurfaceCreateInfoQNX;3233typedef VkResult (VKAPI_PTR *PFN_vkCreateScreenSurfaceQNX)(VkInstance instance, const VkScreenSurfaceCreateInfoQNX* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);34typedef VkBool32 (VKAPI_PTR *PFN_vkGetPhysicalDeviceScreenPresentationSupportQNX)(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, struct _screen_window* window);3536#ifndef VK_NO_PROTOTYPES37VKAPI_ATTR VkResult VKAPI_CALL vkCreateScreenSurfaceQNX(38VkInstance instance,39const VkScreenSurfaceCreateInfoQNX* pCreateInfo,40const VkAllocationCallbacks* pAllocator,41VkSurfaceKHR* pSurface);4243VKAPI_ATTR VkBool32 VKAPI_CALL vkGetPhysicalDeviceScreenPresentationSupportQNX(44VkPhysicalDevice physicalDevice,45uint32_t queueFamilyIndex,46struct _screen_window* window);47#endif4849#ifdef __cplusplus50}51#endif5253#endif545556