1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 23:45:10 +00:00
Commit graph

2 commits

Author SHA1 Message Date
Andreas Kling
210646edd2 SharedGraphics: Minor tweaks in rect shattering code. 2019-02-19 16:37:12 +01:00
Andreas Kling
98784ad3cb WindowServer: Avoid overdraw by shattering dirty rects into unique shards.
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-02-19 14:49:23 +01:00