Title: [132521] trunk/Source/Platform
- Revision
- 132521
- Author
- [email protected]
- Date
- 2012-10-25 13:05:35 -0700 (Thu, 25 Oct 2012)
Log Message
CHROMIUM: Add a method to WebLayerTreeView API
https://bugs.webkit.org/show_bug.cgi?id=100291
Patch by Jonathan Backer <[email protected]> on 2012-10-25
Reviewed by James Robinson.
Used to support browser compositor commit locks (crbug.com/136366).
* chromium/public/WebLayerTreeView.h:
(WebLayerTreeView):
(WebKit::WebLayerTreeView::setDeferCommits):
Modified Paths
Diff
Modified: trunk/Source/Platform/ChangeLog (132520 => 132521)
--- trunk/Source/Platform/ChangeLog 2012-10-25 20:05:17 UTC (rev 132520)
+++ trunk/Source/Platform/ChangeLog 2012-10-25 20:05:35 UTC (rev 132521)
@@ -1,3 +1,16 @@
+2012-10-25 Jonathan Backer <[email protected]>
+
+ CHROMIUM: Add a method to WebLayerTreeView API
+ https://bugs.webkit.org/show_bug.cgi?id=100291
+
+ Reviewed by James Robinson.
+
+ Used to support browser compositor commit locks (crbug.com/136366).
+
+ * chromium/public/WebLayerTreeView.h:
+ (WebLayerTreeView):
+ (WebKit::WebLayerTreeView::setDeferCommits):
+
2012-10-24 John Sheu <[email protected]>
[chromium] Add textureWidth() and textureHeight() to WebVideoFrame
Modified: trunk/Source/Platform/chromium/public/WebLayerTreeView.h (132520 => 132521)
--- trunk/Source/Platform/chromium/public/WebLayerTreeView.h 2012-10-25 20:05:17 UTC (rev 132520)
+++ trunk/Source/Platform/chromium/public/WebLayerTreeView.h 2012-10-25 20:05:35 UTC (rev 132521)
@@ -154,6 +154,9 @@
// This can have a significant performance impact and should be used with care.
virtual void finishAllRendering() = 0;
+ // Prevents updates to layer tree from becoming visible.
+ virtual void setDeferCommits(bool deferCommits) { }
+
// Debugging / dangerous ---------------------------------------------
// Fills in a WebRenderingStats struct containing information about the state of the compositor.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes