mutter/cogl
Carlos Garnacho 44a7f74dcd cogl: Read pixels as per the stored format
By the looks of it, commit 95e9fa10ef was taping over an Intel DRI bug
that would make it return post-swizzling pixel data on glReadPixels().
There's been reports over time of that commit resulting in wrong colors
on other drivers, and lately Mesa >17.3 started showing the same symptoms
on Intel.

But texture swizzling works by changing parameters before fragment shaders
and reading pixels from an already drawn FBO/texture doesn't involve those.
This should thus use pixel_format_to_gl_with_target(), which will result in
correctly requesting the same pixel format than the underlying texture,
while still considering it BGRA for the upper layers in the swizzling case.

https://gitlab.gnome.org/GNOME/mutter/issues/72

Closes: #72
2018-03-21 20:37:34 +01:00
..
build/autotools move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00
cogl cogl: Read pixels as per the stored format 2018-03-21 20:37:34 +01:00
cogl-gles2 build: Clean up .pc files 2017-02-15 23:54:07 +01:00
cogl-pango Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
cogl-path Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
test-fixtures Don't use config.h in clutter and cogl 2016-07-20 14:23:48 +08:00
tests Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
.gitignore Make it possible to include private cogl API from mutter 2016-07-20 14:23:48 +08:00
cogl-mutter-config.h.in Make it possible to include private cogl API from mutter 2016-07-20 14:23:48 +08:00
config-custom.h move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00
configure.ac Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
Makefile.am move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00