summaryrefslogtreecommitdiff
path: root/SharedGraphics/Rect.cpp
AgeCommit message (Collapse)Author
2019-02-19SharedGraphics: Minor tweaks in rect shattering code.Andreas Kling
2019-02-19WindowServer: Avoid overdraw by shattering dirty rects into unique shards.Andreas Kling
The algorithm I came up with is O(n^2) but given the small numbers of rects we're typically working with, it doesn't really matter. May need to revisit this in the future if we find ourselves with a huge number of rects.
2019-01-20WindowServer: Only blit dirty rect of windows to back buffer.Andreas Kling
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.
2019-01-19Make a SharedGraphics directory for classes shared between Kernel and LibGUI.Andreas Kling