Fwd: Question about handling RGBA/BGRA in etnaviv driver

2017-02-03 Thread Wladimir
Sorry for getting the list wrong again. Please reply to mesa-dev not dri-dev . -- Forwarded message -- From: "Wladimir J. van der Laan" Date: Feb 3, 2017 10:56 Subject: Question about handling RGBA/BGRA in etnaviv driver To: , Cc: "Chris Healy" Hello, Wit

Re: Question about handling RGBA/BGRA in etnaviv driver

2017-02-03 Thread Christian Gmeiner
Hi, 2017-02-03 10:56 GMT+01:00 Wladimir J. van der Laan : > Hello, > > With the Etnaviv driver we're running into an issue: The GPU can only render > *to* > BGRA formats. It can however render *from* BGRA as well as RGBA textures. > > I know that the OpenGL ES standard allows drivers to choose wh

Question about handling RGBA/BGRA in etnaviv driver

2017-02-03 Thread Wladimir J. van der Laan
Hello, With the Etnaviv driver we're running into an issue: The GPU can only render *to* BGRA formats. It can however render *from* BGRA as well as RGBA textures. I know that the OpenGL ES standard allows drivers to choose what order is most appropriate when being asked for "GL_RGBA" textures. S