Carlos Garnacho
2f260edf19
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 18:45:20 +00:00
..
2016-08-18 11:32:33 +08:00
2018-03-21 18:45:20 +00:00
2016-06-27 20:23:49 +02:00
2018-03-05 15:42:27 +00:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2017-04-17 12:58:52 +01:00
2016-11-18 00:00:10 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2017-03-07 13:40:06 +01:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-11-18 00:00:10 +08:00
2016-07-21 00:02:53 +02:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-11-18 00:00:10 +08:00
2017-02-21 16:25:01 -05:00
2017-02-21 16:25:01 -05:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2017-02-21 16:25:01 -05:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2017-05-22 17:27:11 +02:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2017-10-05 18:10:30 -04:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2017-02-15 14:53:43 +00:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-22 10:44:19 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2017-02-15 14:53:43 +00:00
2016-04-22 16:44:31 +02:00
2018-03-21 13:22:35 +08:00
2016-04-22 16:44:31 +02:00
2017-02-21 16:25:01 -05:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2017-10-05 18:10:30 -04:00
2017-10-05 18:10:30 -04:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-11-18 00:00:10 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-11-18 00:00:10 +08:00
2016-11-18 00:00:10 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2017-05-18 23:32:39 +02:00
2016-11-18 00:00:10 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2018-02-09 14:01:12 +01:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2018-02-07 11:03:42 +08:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2016-06-27 20:23:49 +02:00
2017-02-14 11:16:45 +08:00
2017-02-14 11:16:45 +08:00