Files
gtk/gsk
Alexander Larsson e14d2be1e8 gl renderer: Fix render node texture cache
We're caching two things, either a node itself being rendered, or a
parent storing a cached version of a child as rendered to an offscreen
the size and location of the parent.

If both the parent and child uses the cache this will cause a conflict in
the cache as it is currently use keying of a node pointer which will have
the same value for the node-as-itself and the child-node-of-the-parent.

We fix this by adding another part to the key "pointer_is_child" which means
we can have the same node pointer twice in the cache.

Additionally, in the child-is-rendered-offscreen case the offscreen
result actually depends on the position and size of the parent viewport,
so we need to store the parent bounds in that case.
2020-09-30 14:53:13 +02:00
..
2020-09-29 09:51:16 +02:00
2020-09-29 09:51:16 +02:00
2020-09-29 09:51:16 +02:00
2020-07-25 00:47:36 +02:00
2016-12-20 18:01:12 +01:00
2019-05-05 07:18:39 +02:00
2019-05-05 07:18:39 +02:00
2020-07-20 07:03:08 -04:00
2018-04-05 14:56:38 +02:00
2018-04-05 14:56:38 +02:00
2020-09-29 09:51:16 +02:00
2020-09-29 14:44:31 -04:00
2020-09-29 14:44:31 -04:00
2017-09-10 14:36:26 -04:00
2019-11-27 13:33:43 +00:00
2020-07-25 00:47:36 +02:00
2020-06-18 10:47:16 +03:00
2020-06-18 10:47:16 +03:00
2019-11-27 13:33:43 +00:00
2020-09-29 09:51:16 +02:00