WindowServer: Optimize rendering

We now use SSE2 to do alpha blending on 4 pixels at a time where
possible and use memcpy instead of manual loops for non blended regions.
This commit is contained in:
2026-04-06 17:35:36 +03:00
parent 1487c86262
commit 2a4a688c2d
2 changed files with 144 additions and 51 deletions

View File

@@ -96,7 +96,8 @@ private:
BAN::Vector<RangeList> m_pending_syncs;
BAN::UniqPtr<LibImage::Image> m_background_image;
// NOTE: same size as framebuffer
BAN::Vector<uint32_t> m_background_image;
State m_state { State::Normal };
bool m_is_mod_key_held { false };