diff options
author | Chia-I Wu <[email protected]> | 2019-02-08 13:45:53 -0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2019-03-11 10:02:13 -0700 |
commit | 24af64baa531f9ac490bc5de433b2b2b52a3ccee (patch) | |
tree | 5748e4433953a5b67f192e8039b50b483312ea08 /src/freedreno/vulkan/tu_private.h | |
parent | ae82b5df88b9b307c2b7ce6f0f9b59332c83e362 (diff) |
turnip: preliminary support for Wayland WSI
Diffstat (limited to 'src/freedreno/vulkan/tu_private.h')
-rw-r--r-- | src/freedreno/vulkan/tu_private.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/freedreno/vulkan/tu_private.h b/src/freedreno/vulkan/tu_private.h index c96353a0790..1c8bb87e47b 100644 --- a/src/freedreno/vulkan/tu_private.h +++ b/src/freedreno/vulkan/tu_private.h @@ -50,6 +50,7 @@ #include "util/macros.h" #include "vk_alloc.h" #include "vk_debug_report.h" +#include "wsi_common.h" #include "drm/msm_drm.h" #include "ir3/ir3_compiler.h" @@ -298,6 +299,8 @@ struct tu_physical_device uint8_t device_uuid[VK_UUID_SIZE]; uint8_t cache_uuid[VK_UUID_SIZE]; + struct wsi_device wsi_device; + int local_fd; int master_fd; @@ -338,6 +341,11 @@ struct tu_instance struct tu_instance_extension_table enabled_extensions; }; +VkResult +tu_wsi_init(struct tu_physical_device *physical_device); +void +tu_wsi_finish(struct tu_physical_device *physical_device); + bool tu_instance_extension_supported(const char *name); uint32_t |