gsk: Refactor damage computation for GL renderer
authorBenjamin Otte <otte@redhat.com>
Fri, 20 Apr 2018 14:07:34 +0000 (16:07 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 24 Apr 2018 21:16:58 +0000 (23:16 +0200)
commit4d481ecb95d40fca1325e1c66aadf97c1b586cac
treebc21b607736b2ef66233f46a5208d17d7396c220
parent4aac0760b32ad122e9b9c2a31f05e9cb642e900e
gsk: Refactor damage computation for GL renderer

Previously, we got the damage, then computed the changed area, then
started a frame with that changed area.

But starting a frame computes the damage for us.

So now we start a frame, then get the damage area from that, then
compute the change area.
gsk/gl/gskglrenderer.c