mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:37:45 +00:00
WindowServer: Fix some gliches when overlays are moved or removed
Keep track of areas that overlays were rendered to when we recompute occlusions. This allows us to then easily figure out areas where overlays were moved from or removed from.
This commit is contained in:
parent
426d1b7410
commit
9ff1fa1cf3
4 changed files with 35 additions and 19 deletions
|
@ -226,6 +226,7 @@ private:
|
|||
|
||||
IntrusiveList<&Overlay::m_list_node> m_overlay_list;
|
||||
Gfx::DisjointIntRectSet m_overlay_rects;
|
||||
Gfx::DisjointIntRectSet m_last_rendered_overlay_rects;
|
||||
Gfx::DisjointIntRectSet m_dirty_screen_rects;
|
||||
Gfx::DisjointIntRectSet m_opaque_wallpaper_rects;
|
||||
Gfx::DisjointIntRectSet m_transparent_wallpaper_rects;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue