diff options
author | Andreas Kling <kling@serenityos.org> | 2021-09-28 22:53:59 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-28 22:53:59 +0200 |
commit | 651f30dfbe2343e32c252324a653f4bdf915ded5 (patch) | |
tree | 430782c3cfee06e30bd961fe05606dc7a62df001 /Userland/Libraries/LibGfx/Painter.cpp | |
parent | 82af69376bc16586648320cd5e2de3c94cb3c753 (diff) | |
download | serenity-651f30dfbe2343e32c252324a653f4bdf915ded5.zip |
WebContent: Coalesce paint invalidations to avoid spamming client
Some content cause a lot of paint invalidations (e.g someone drawing to
a <canvas> repeatedly) and we don't need to spam the client about this.
Instead, accumulate a dirty rect, and send it once per event loop step.
Diffstat (limited to 'Userland/Libraries/LibGfx/Painter.cpp')
0 files changed, 0 insertions, 0 deletions