On Tue, Mar 13, 2018 at 5:30 AM, Daniel Stone <dan...@fooishbar.org> wrote:
> Hi Mario,
>
> On 12 March 2018 at 20:45, Mario Kleiner <mario.kleiner...@gmail.com> wrote:
>> This way the wayland server can signal support for these formats
>> to wayland EGL clients. This is currently used by nouveau for 10
>> bpc support.
>>
>> Tested with glmark2-wayland and glmark2-es2-wayland under weston
>> to now expose 10 bpc EGL configs under nouveau.
>
> Do we need a way to ensure that the backend driver does actually
> support BGR for texturing? AFAIK, if a client happens to select a BGR
> config on other drivers now - using a compositor which does not
> implement wl_drm - this will break for them.

I think in practice, every hw driver can support both for texturing if
it can support one, since swizzles are always possible (due to
ARB_texture_swizzle).

In practice at least nouveau prior to Mario's patches only supported
it one way. I just checked r600, radeonsi, i965 and freedreno, and
they appear to support both for texturing. I think that covers the
majority of the likely 10bpc users.

  -ilia
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to