mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 15:58:56 +00:00
WindowServer: Try harder to avoid re-rendering window shadow
We only really need to re-render the simple window shadow when the size of the frame changes. So, for all other cases only re-render the window frame without rendering the shadow.
This commit is contained in:
parent
0ce4b9d7db
commit
3d374954eb
Notes:
sideshowbarker
2024-07-18 22:28:38 +09:00
Author: https://github.com/tomuta
Commit: 3d374954eb
Pull-request: https://github.com/SerenityOS/serenity/pull/5272
2 changed files with 35 additions and 15 deletions
|
@ -113,6 +113,7 @@ private:
|
|||
size_t m_flash_counter { 0 };
|
||||
float m_opacity { 1 };
|
||||
bool m_has_alpha_channel { false };
|
||||
bool m_shadow_dirty { false };
|
||||
bool m_dirty { false };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue