Add support for QNX Screen platform to ICD header.
authorMike Gorchak <mgorchak@blackberry.com>
Wed, 24 Feb 2021 16:13:43 +0000 (11:13 -0500)
committerLenny Komow <lenny@lunarg.com>
Tue, 2 Mar 2021 18:03:02 +0000 (11:03 -0700)
include/vulkan/vk_icd.h

index 5e29ef5..ae006d0 100644 (file)
@@ -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