[Mesa-dev] [PATCH 3/6] vulkan/wsi: Ad get_capabilities2 and get_formats2d interface pointers

Samuel Iglesias Gonsálvez siglesias at igalia.com
Tue May 16 15:27:57 UTC 2017


s/Ad/Add

Series is,

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>

Sam

On Mon, 2017-05-15 at 08:07 -0700, Jason Ekstrand wrote:
> ---
>  src/vulkan/wsi/wsi_common.h | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/src/vulkan/wsi/wsi_common.h
> b/src/vulkan/wsi/wsi_common.h
> index 5e77518..8aee9c7 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);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170516/2e4549f3/attachment.sig>


More information about the mesa-dev mailing list