summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/TextLayout.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-09-28 22:53:59 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-28 22:53:59 +0200
commit651f30dfbe2343e32c252324a653f4bdf915ded5 (patch)
tree430782c3cfee06e30bd961fe05606dc7a62df001 /Userland/Libraries/LibGfx/TextLayout.cpp
parent82af69376bc16586648320cd5e2de3c94cb3c753 (diff)
downloadserenity-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/TextLayout.cpp')
0 files changed, 0 insertions, 0 deletions