Re: [Mesa-dev] [PATCH] meta: Make BlitFramebuffer() do sRGB encoding in ES 3.x.

2016-03-19 Thread Jordan Justen
Reviewed-by: Jordan Justen On 2016-03-15 00:49:47, Kenneth Graunke wrote: > According to the ES 3.0 and GL 4.4 specifications, glBlitFramebuffer > is supposed to perform sRGB decoding and encoding whenever sRGB formats > are in use. The ES 3.0 specification is completely clear, and has > always

[Mesa-dev] [PATCH] meta: Make BlitFramebuffer() do sRGB encoding in ES 3.x.

2016-03-15 Thread Kenneth Graunke
According to the ES 3.0 and GL 4.4 specifications, glBlitFramebuffer is supposed to perform sRGB decoding and encoding whenever sRGB formats are in use. The ES 3.0 specification is completely clear, and has always stated this. However, the GL specification has changed behavior in 4.1, 4.2, and 4.