gsk/gl: Use pre-collected opacity information
authorMatthias Clasen <mclasen@redhat.com>
Sun, 3 Apr 2022 23:37:42 +0000 (19:37 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 5 Apr 2022 18:57:38 +0000 (14:57 -0400)
commitd72ed045df97104fee7cb8917db74be1d117b62f
tree883af39fb4be36991001bb3cde572e271d788eac
parent38eb182947894e956e575fde36ed41275b49dc05
gsk/gl: Use pre-collected opacity information

We now collect this information during node
construction, so use it here.

The concrete change here is that we now avoid
offscreens for container nodes with multiple children,
as long as they don't overlap. In particular, this
avoid offscreens for ellipsized dim labels.
gsk/gl/gskglrenderjob.c