WindowServer: Only blit dirty rect of windows to back buffer.

Previously we'd blit every pixel in every window that intersected any dirty
rect to the back buffer. With this patch, we limit ourselves to blitting the
pixels inside the actual dirty rects.

There's still a lot of optimizations to make in this code.
This commit is contained in:
Andreas Kling 2019-01-20 23:42:36 +01:00
commit 3271c115e2
Notes: sideshowbarker 2024-07-19 15:59:47 +09:00
7 changed files with 61 additions and 35 deletions

View file

@ -18,6 +18,12 @@ public:
, m_size(size)
{
}
Rect(const Rect& other)
: m_location(other.m_location)
, m_size(other.m_size)
{
}
Rect(const GUI_Rect&);
bool is_null() const