[Mesa-dev] [PATCH 07/22] anv/wsi/x11: abstract WSI interface from internals.

Emil Velikov emil.l.velikov at gmail.com
Tue Oct 18 17:33:14 UTC 2016


On 17 October 2016 at 05:24, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> This allows the API and the internals to be split, and the
> internals shared.
> ---
>  src/intel/vulkan/anv_wsi_x11.c | 33 ++++++++++++++++++++++++---------
>  1 file changed, 24 insertions(+), 9 deletions(-)
>
> diff --git a/src/intel/vulkan/anv_wsi_x11.c b/src/intel/vulkan/anv_wsi_x11.c
> index ccaabea..6eb06c3 100644
> --- a/src/intel/vulkan/anv_wsi_x11.c
> +++ b/src/intel/vulkan/anv_wsi_x11.c
> @@ -233,16 +233,15 @@ visual_has_alpha(xcb_visualtype_t *visual, unsigned depth)
>     return (all_mask & ~rgb_mask) != 0;
>  }
>
> -VkBool32 anv_GetPhysicalDeviceXcbPresentationSupportKHR(
> -    VkPhysicalDevice                            physicalDevice,
> +static VkBool32 anv_get_physical_device_xcb_presentation_support(
> +    struct anv_wsi_device *wsi_device,
> +    VkAllocationCallbacks *alloc,
Nit: indentation (here and below) seems off.

-Emil


More information about the mesa-dev mailing list