First step of Bug 3781: Animation via canvas could be faster
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Dec 2008 12:19:23 +0000 (12:19 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Dec 2008 12:19:23 +0000 (12:19 +0000)
commitc2f7e90d9869b5c83f9a612a411ac2e5a575dd8e
treebc948a24c7d30ce4c097d584262491fede7b1a59
parent15ffc8a8d6c3cb4115fbaaacac856eb2b3bf0171
First step of Bug 3781: Animation via canvas could be faster

Reviewed by Antti Koivisto.

Amortise the cost of calling repaint by coalescing repaint rects
while the canvas is drawn to.  In a later step we'll stop calling
repaint() directly, and instead have all dirty canvases repaint
at the end of JS execution.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@39518 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/html/HTMLCanvasElement.cpp
WebCore/html/HTMLCanvasElement.h