diff options
author | Jason Ekstrand <[email protected]> | 2017-03-17 13:50:24 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-05-16 08:38:39 -0700 |
commit | a28163db05a308abaca51adeaf2578d75864041a (patch) | |
tree | 74895bafc74346829e3652b7ec23748d6f9f7472 | |
parent | 52e6271ffd68b78f154ac312a01989ce92b59348 (diff) |
vulkan/wsi: Add get_capabilities2 and get_formats2d interface pointers
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
-rw-r--r-- | src/vulkan/wsi/wsi_common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vulkan/wsi/wsi_common.h b/src/vulkan/wsi/wsi_common.h index 5e77518c098..8aee9c73513 100644 --- a/src/vulkan/wsi/wsi_common.h +++ b/src/vulkan/wsi/wsi_common.h @@ -87,10 +87,18 @@ struct wsi_interface { VkBool32* pSupported); VkResult (*get_capabilities)(VkIcdSurfaceBase *surface, VkSurfaceCapabilitiesKHR* pSurfaceCapabilities); + VkResult (*get_capabilities2)(VkIcdSurfaceBase *surface, + const void *info_next, + VkSurfaceCapabilities2KHR* pSurfaceCapabilities); VkResult (*get_formats)(VkIcdSurfaceBase *surface, struct wsi_device *wsi_device, uint32_t* pSurfaceFormatCount, VkSurfaceFormatKHR* pSurfaceFormats); + VkResult (*get_formats2)(VkIcdSurfaceBase *surface, + struct wsi_device *wsi_device, + const void *info_next, + uint32_t* pSurfaceFormatCount, + VkSurfaceFormat2KHR* pSurfaceFormats); VkResult (*get_present_modes)(VkIcdSurfaceBase *surface, uint32_t* pPresentModeCount, VkPresentModeKHR* pPresentModes); |