diff options
author | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-08-26 19:07:52 -0400 |
---|---|---|
committer | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-08-26 19:07:52 -0400 |
commit | fa7d2cb8d60ed48c44c707106c03682056ddfaca (patch) | |
tree | 81198c16379e0ba92a5dfd7add3c57c8dfa6d096 /include/xwayland | |
parent | 6a11256cd0f19fa0ab26f204404e9f9e3f41f851 (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/xwayland')
0 files changed, 0 insertions, 0 deletions