Daniel van Vugt
3a474556b8
cogl-texture-2d: Flush the journal before mipmapping
...
In the case of indirect rendering like the first frame to use mutter's
background wallpaper:
Texture_A -> FBO_B (Texture_B) -> FBO_C (screen)
we would be trying to render the contents of both FBO_B and FBO_C in
the same flush, before the contents of Texture_A had made it to FBO_B.
So when FBO_C wants to use mipmaps of Texture_B they didn't exist yet
and appeared all black. And the blackness would remain for subsequent
frames as cogl has now decided the mipmaps of FBO_B are no longer
"dirty" and don't need refreshing:
FBO_B (Texture_B) (mipmaps_dirty==FALSE but black) -> FBO_C (screen)
We must flush FBO_B before referencing Texture_B for use in rendering
FBO_C. This only happens when Texture_A changes (e.g. when the user
changes their background wallpaper) so there's no ongoing performance
penalty from this flush.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1347
2020-07-07 16:15:24 +08:00
..
2020-06-18 13:55:55 -04:00
2020-06-18 13:55:55 -04:00
2020-02-19 17:55:46 +00:00
2020-07-02 19:36:50 +02:00
2020-03-26 09:05:38 +01:00
2020-03-26 09:05:38 +01:00
2020-06-18 13:55:55 -04:00
2020-03-26 09:05:38 +01:00
2019-10-21 16:32:46 -04:00
2020-03-26 09:05:38 +01:00
2019-06-20 18:25:04 +02:00
2020-03-26 09:05:38 +01:00
2019-12-03 19:02:14 +00:00
2020-06-18 13:55:55 -04:00
2020-03-26 09:05:38 +01:00
2019-06-20 18:25:04 +02:00
2019-06-20 18:25:04 +02:00
2019-10-21 16:32:46 -04:00
2019-10-21 16:32:46 -04:00
2020-03-26 09:05:38 +01:00
2019-02-15 16:35:46 +01:00
2019-02-15 16:35:46 +01:00
2020-01-09 17:58:29 +01:00
2019-06-20 18:25:04 +02:00
2020-05-26 13:54:28 +00:00
2019-02-15 16:35:46 +01:00
2020-06-18 13:55:55 -04:00
2019-02-28 09:31:01 +01:00
2020-03-26 09:05:38 +01:00
2019-10-21 21:43:08 +00:00
2020-03-26 09:05:38 +01:00
2019-12-03 19:02:14 +00:00
2020-03-26 09:05:38 +01:00
2020-03-26 09:05:38 +01:00
2016-07-20 14:23:48 +08:00
2019-11-20 11:59:15 -05:00
2020-03-26 09:05:38 +01:00
2020-06-18 13:55:55 -04:00
2020-06-18 13:55:55 -04:00
2020-06-18 13:55:14 -04:00
2019-10-21 21:43:08 +00:00
2019-10-21 21:43:08 +00:00
2020-03-26 09:05:38 +01:00
2018-11-06 17:17:36 +01:00
2020-03-26 09:05:38 +01:00
2019-06-19 21:46:22 +02:00
2020-03-26 09:05:38 +01:00
2019-02-15 16:35:46 +01:00
2019-06-20 18:25:04 +02:00
2020-03-26 09:05:38 +01:00
2020-05-26 13:54:28 +00:00
2020-05-26 13:54:28 +00:00
2020-06-18 13:55:55 -04:00
2016-07-20 14:23:48 +08:00
2020-03-26 09:05:38 +01:00
2019-10-21 21:43:08 +00:00
2019-10-21 21:43:08 +00:00
2018-11-06 17:17:36 +01:00
2019-02-15 16:35:46 +01:00
2020-03-26 09:05:38 +01:00
2018-11-23 08:55:43 +01:00
2020-07-02 19:36:50 +02:00
2020-07-02 19:36:50 +02:00
2020-07-02 19:36:50 +02:00
2020-03-26 09:05:38 +01:00
2020-05-26 13:54:28 +00:00
2020-05-26 13:54:28 +00:00
2016-07-20 14:23:48 +08:00
2019-02-15 16:35:46 +01:00
2020-03-26 09:05:38 +01:00
2020-03-29 12:17:11 +00:00
2018-11-06 17:17:36 +01:00
2020-03-26 09:05:38 +01:00
2019-06-20 18:25:04 +02:00
2020-03-26 09:05:38 +01:00
2019-10-16 16:25:08 +02:00
2020-01-16 18:38:20 +00:00
2018-11-06 17:17:36 +01:00
2020-03-26 09:05:38 +01:00
2018-11-06 17:17:36 +01:00
2018-11-23 08:55:43 +01:00
2020-01-16 18:38:20 +00:00
2020-06-18 13:55:55 -04:00
2020-03-26 09:05:38 +01:00
2019-11-20 11:59:15 -05:00
2020-03-26 09:05:38 +01:00
2018-11-06 17:17:36 +01:00
2019-04-18 12:53:16 -04:00
2020-03-26 09:05:38 +01:00
2020-03-26 09:05:38 +01:00
2019-02-15 16:35:46 +01:00
2019-06-19 21:36:19 +02:00
2020-03-26 09:05:38 +01:00
2019-10-14 17:05:28 +00:00
2020-04-08 11:38:48 +02:00
2020-03-26 09:05:38 +01:00
2020-03-26 09:05:38 +01:00
2019-02-15 16:35:46 +01:00
2020-03-26 09:05:38 +01:00
2020-07-02 19:36:50 +02:00
2020-07-02 19:36:50 +02:00
2019-02-15 16:35:46 +01:00
2018-11-06 17:17:36 +01:00
2020-03-26 09:05:38 +01:00
2020-04-12 21:40:20 +00:00
2019-12-18 15:58:52 +00:00
2019-02-15 16:35:46 +01:00
2020-03-26 09:05:38 +01:00
2019-04-18 12:53:17 -04:00
2020-05-13 09:37:31 +00:00
2020-05-13 09:37:31 +00:00
2020-06-18 13:55:55 -04:00
2020-03-26 09:05:38 +01:00
2019-02-15 16:35:46 +01:00
2019-02-15 16:35:46 +01:00
2019-12-18 15:58:52 +00:00
2019-12-18 15:58:52 +00:00
2020-03-26 09:05:38 +01:00
2020-01-31 17:26:25 +00:00
2020-03-26 09:05:38 +01:00
2018-11-23 08:55:43 +01:00
2020-06-18 13:55:55 -04:00
2020-03-26 09:05:38 +01:00
2019-10-15 16:35:16 +00:00
2020-03-26 09:05:38 +01:00
2018-11-23 08:55:43 +01:00
2018-11-06 17:17:36 +01:00
2020-03-26 09:05:38 +01:00
2019-06-19 21:46:22 +02:00
2020-03-26 09:05:38 +01:00
2020-03-26 09:05:38 +01:00
2019-06-19 21:36:19 +02:00
2020-03-26 09:05:38 +01:00
2019-06-19 21:46:22 +02:00
2020-03-26 09:05:38 +01:00
2019-12-18 11:46:54 +08:00
2019-12-18 11:46:54 +08:00
2020-05-26 13:54:28 +00:00
2019-02-15 16:35:46 +01:00
2020-03-26 09:05:38 +01:00
2019-06-19 21:46:22 +02:00
2019-02-15 16:35:46 +01:00
2019-12-18 16:06:35 +00:00
2020-02-28 14:54:48 -03:00
2020-03-26 18:44:13 -03:00
2020-01-31 17:26:25 +00:00
2020-06-18 13:55:55 -04:00
2020-04-16 15:05:15 +02:00
2020-04-16 15:05:15 +02:00
2019-02-15 16:35:46 +01:00
2019-06-19 21:46:22 +02:00
2020-03-26 09:05:38 +01:00
2019-06-19 21:36:19 +02:00
2019-02-15 16:35:46 +01:00
2020-01-31 17:26:25 +00:00
2020-03-26 09:05:38 +01:00
2019-02-15 16:35:46 +01:00
2019-02-15 16:35:46 +01:00
2020-03-26 09:05:38 +01:00
2019-11-07 12:47:23 +00:00
2019-11-07 12:47:23 +00:00
2020-01-31 17:26:25 +00:00
2020-03-26 09:05:38 +01:00
2020-07-07 16:15:24 +08:00
2020-03-26 09:05:38 +01:00
2019-11-07 12:47:23 +00:00
2020-05-13 09:37:31 +00:00
2020-06-18 13:55:55 -04:00
2020-03-26 09:05:38 +01:00
2020-03-26 09:05:38 +01:00
2020-03-26 09:05:38 +01:00
2020-03-26 09:05:38 +01:00
2020-03-26 09:05:38 +01:00
2019-06-19 21:46:22 +02:00
2018-11-06 17:17:36 +01:00
2020-03-26 09:05:38 +01:00
2019-10-24 16:52:46 -04:00
2019-10-24 16:52:53 -04:00
2019-10-24 16:52:59 -04:00
2020-03-26 09:05:38 +01:00
2019-10-24 16:52:47 -04:00
2019-12-03 19:02:14 +00:00
2020-04-16 15:05:15 +02:00
2020-07-02 19:36:50 +02:00
2018-11-07 14:29:30 +01:00