summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Orzechowski <[email protected]>2022-08-26 19:07:52 -0400
committerAlexander Orzechowski <[email protected]>2022-08-26 19:07:52 -0400
commitd34a07994fac07c6c98c6c6c351743ab2655a90e (patch)
tree80b5a8f0d26ef259f9e61eca81aace8ab5a56adb /include
parent50cec289e83c36924ecc1f3b10f5af68a5613405 (diff)
wlr_scene: Only consider visible parts of the node when culling background
Originally, I thought that we could safely subtract opaque regions from the background even if the black rect optimization was kicking in. This is wrong because a scene node that isn't fully occluded will still appear in the render list even if its partially under a black rect. We need to make sure that while culling the background, we only consider opaque regions that are also visible. This will fix the black rect optimization with the background.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions