[Mesa-dev] [PATCH 13/16] anv/image: Add support for modifiers for WSI

Daniel Stone daniel at fooishbar.org
Wed Feb 14 18:11:45 UTC 2018


On 14 February 2018 at 17:58, Jason Ekstrand <jason at jlekstrand.net> wrote:
> I've added the following to the top of wsi_create_native_image:
>
> +   /* If we don't support modifiers, the winsys code shouldn't be asking
> for
> +    * an image with modifiers.
> +    */
> +   assert(wsi->supports_modifiers || num_modifier_lists == 0);
>
>>
>> Yeah, it was mostly based on missing the wsi->has_modifiers check in
>> the Wayland
>
>
> Wayland definitely has the check.  I'll double-check on X11.

It didn't. I've added it in my branch, which I've been holding off on
sending out whilst we try to converge here. I'm currently doing a last
sweep through the X11 modifiers support from Louis-Francis as well.

https://gitlab.collabora.com/daniels/mesa # wip/dri3-v1.1

Cheers,
Daniel


More information about the mesa-dev mailing list