projects
/
platform
/
upstream
/
Vulkan-Headers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c428484
)
Add support for QNX Screen platform to ICD header.
author
Mike Gorchak
<mgorchak@blackberry.com>
Wed, 24 Feb 2021 16:13:43 +0000
(11:13 -0500)
committer
Lenny Komow
<lenny@lunarg.com>
Tue, 2 Mar 2021 18:03:02 +0000
(11:03 -0700)
include/vulkan/vk_icd.h
patch
|
blob
|
history
diff --git
a/include/vulkan/vk_icd.h
b/include/vulkan/vk_icd.h
index
5e29ef5
..
ae006d0
100644
(file)
--- 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