summaryrefslogtreecommitdiffstats
path: root/src/vulkan/wsi/wsi_common_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-02-09 15:43:27 -0800
committerDaniel Stone <[email protected]>2018-02-21 22:37:10 +0000
commitf5433e4d6ce247b86daed741c07aa99f2bd02c0d (patch)
tree17fd2fc1f98c4a4b97fbe45b208ffe833e32a40c /src/vulkan/wsi/wsi_common_private.h
parent55b27e1e5f21d62855e955446a63afb5ef8b97a6 (diff)
vulkan/wsi: Add modifiers support to wsi_create_native_image
This involves extending our fake extension a bit to allow for additional querying and passing of modifier information. The added bits are intended to look a lot like the draft of VK_EXT_image_drm_format_modifier. Once the extension gets finalized, we'll simply transition all of the structs used in wsi_common to the real extension structs. Reviewed-by: Daniel Stone <[email protected]>
Diffstat (limited to 'src/vulkan/wsi/wsi_common_private.h')
-rw-r--r--src/vulkan/wsi/wsi_common_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vulkan/wsi/wsi_common_private.h b/src/vulkan/wsi/wsi_common_private.h
index 781e84635f9..b608119b969 100644
--- a/src/vulkan/wsi/wsi_common_private.h
+++ b/src/vulkan/wsi/wsi_common_private.h
@@ -81,6 +81,9 @@ void wsi_swapchain_finish(struct wsi_swapchain *chain);
VkResult
wsi_create_native_image(const struct wsi_swapchain *chain,
const VkSwapchainCreateInfoKHR *pCreateInfo,
+ uint32_t num_modifier_lists,
+ const uint32_t *num_modifiers,
+ const uint64_t *const *modifiers,
struct wsi_image *image);
VkResult