Title: [123516] trunk/Source/WebKit2
- Revision
- 123516
- Author
- [email protected]
- Date
- 2012-07-24 13:17:36 -0700 (Tue, 24 Jul 2012)
Log Message
[Qt] Make sure that an AC sync is triggered when the canvas contents is updated.
https://bugs.webkit.org/show_bug.cgi?id=92128
Reviewed by Kenneth Rohde Christiansen.
This would cause missed frames when animating an accelerated 2D canvas without
touching the document.
* WebProcess/WebPage/LayerTreeCoordinator/WebGraphicsLayer.cpp:
(WebCore::WebGraphicsLayer::setContentsNeedsDisplay):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (123515 => 123516)
--- trunk/Source/WebKit2/ChangeLog 2012-07-24 20:15:40 UTC (rev 123515)
+++ trunk/Source/WebKit2/ChangeLog 2012-07-24 20:17:36 UTC (rev 123516)
@@ -1,3 +1,16 @@
+2012-07-24 Jocelyn Turcotte <[email protected]>
+
+ [Qt] Make sure that an AC sync is triggered when the canvas contents is updated.
+ https://bugs.webkit.org/show_bug.cgi?id=92128
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ This would cause missed frames when animating an accelerated 2D canvas without
+ touching the document.
+
+ * WebProcess/WebPage/LayerTreeCoordinator/WebGraphicsLayer.cpp:
+ (WebCore::WebGraphicsLayer::setContentsNeedsDisplay):
+
2012-07-24 Alexey Proskuryakov <[email protected]>
[Mac WK2] Improve text input logging
Modified: trunk/Source/WebKit2/WebProcess/WebPage/LayerTreeCoordinator/WebGraphicsLayer.cpp (123515 => 123516)
--- trunk/Source/WebKit2/WebProcess/WebPage/LayerTreeCoordinator/WebGraphicsLayer.cpp 2012-07-24 20:15:40 UTC (rev 123515)
+++ trunk/Source/WebKit2/WebProcess/WebPage/LayerTreeCoordinator/WebGraphicsLayer.cpp 2012-07-24 20:17:36 UTC (rev 123516)
@@ -320,6 +320,8 @@
setContentsToImage(0);
setContentsToImage(image.get());
m_canvasNeedsDisplay = true;
+ if (client())
+ client()->notifySyncRequired(this);
}
void WebGraphicsLayer::setContentsToCanvas(PlatformLayer* platformLayer)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes