aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMike Gorchak <[email protected]>2021-02-24 11:13:43 -0500
committerLenny Komow <[email protected]>2021-03-02 11:03:02 -0700
commit4fe5828a0295a3c29a266e446ac6a6b51d768e48 (patch)
tree260f424f76a5ab86620b4e73365230fcdaffeec1
parentc428484bc886f60efd98334b80ea777ae2e24089 (diff)
downloadVulkan-Headers-4fe5828a0295a3c29a266e446ac6a6b51d768e48.tar.gz
Vulkan-Headers-4fe5828a0295a3c29a266e446ac6a6b51d768e48.zip
Add support for QNX Screen platform to ICD header.
-rw-r--r--include/vulkan/vk_icd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/vulkan/vk_icd.h b/include/vulkan/vk_icd.h
index 5e29ef5..ae006d0 100644
--- a/include/vulkan/vk_icd.h
+++ b/include/vulkan/vk_icd.h
@@ -122,6 +122,7 @@ typedef enum {
VK_ICD_WSI_PLATFORM_DIRECTFB,
VK_ICD_WSI_PLATFORM_VI,
VK_ICD_WSI_PLATFORM_GGP,
+ VK_ICD_WSI_PLATFORM_SCREEN,
} VkIcdWsiPlatform;
typedef struct {
@@ -233,4 +234,12 @@ typedef struct {
} VkIcdSurfaceVi;
#endif // VK_USE_PLATFORM_VI_NN
+#ifdef VK_USE_PLATFORM_SCREEN_QNX
+typedef struct {
+ VkIcdSurfaceBase base;
+ struct _screen_context *context;
+ struct _screen_window *window;
+} VkIcdSurfaceScreen;
+#endif // VK_USE_PLATFORM_SCREEN_QNX
+
#endif // VKICD_H