On Fri, Jun 22, 2018 at 9:59 AM, Tomeu Vizoso
wrote:
> If the driver doesn't support PIPE_FORMAT_B8G8R8A8_SRGB, fall back to
> PIPE_FORMAT_R8G8B8A8_SRGB.
>
> Drivers such as Virgl will have a hard time supporting
> PIPE_FORMAT_B8G8R8A8_SRGB when the host runs GLES, as GL_ABGR isn't as
> well
If the driver doesn't support PIPE_FORMAT_B8G8R8A8_SRGB, fall back to
PIPE_FORMAT_R8G8B8A8_SRGB.
Drivers such as Virgl will have a hard time supporting
PIPE_FORMAT_B8G8R8A8_SRGB when the host runs GLES, as GL_ABGR isn't as
well suported there.
So go with PIPE_FORMAT_R8G8B8A8_SRGB so these