Title: [170377] trunk/Source
- Revision
- 170377
- Author
- an...@apple.com
- Date
- 2014-06-24 12:09:11 -0700 (Tue, 24 Jun 2014)
Log Message
Only flush layers when the exposed rect actually changes
https://bugs.webkit.org/show_bug.cgi?id=134248
Reviewed by Anders Carlsson.
Source/WebCore:
* WebCore.exp.in:
Source/WebKit2:
* WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:
(WebKit::RemoteLayerTreeDrawingArea::setExposedContentRect):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (170376 => 170377)
--- trunk/Source/WebCore/ChangeLog 2014-06-24 19:06:36 UTC (rev 170376)
+++ trunk/Source/WebCore/ChangeLog 2014-06-24 19:09:11 UTC (rev 170377)
@@ -1,3 +1,12 @@
+2014-06-24 Antti Koivisto <an...@apple.com>
+
+ Only flush layers when the exposed rect actually changes
+ https://bugs.webkit.org/show_bug.cgi?id=134248
+
+ Reviewed by Anders Carlsson.
+
+ * WebCore.exp.in:
+
2014-06-24 Brady Eidson <beid...@apple.com>
Remove references to "Shader.h" which doesn't currently exist in the project.
Modified: trunk/Source/WebCore/WebCore.exp.in (170376 => 170377)
--- trunk/Source/WebCore/WebCore.exp.in 2014-06-24 19:06:36 UTC (rev 170376)
+++ trunk/Source/WebCore/WebCore.exp.in 2014-06-24 19:09:11 UTC (rev 170377)
@@ -1546,6 +1546,7 @@
__ZNK7WebCore10ScrollView16windowToContentsERKNS_8IntPointE
__ZNK7WebCore10ScrollView18contentsToRootViewERKNS_7IntRectE
__ZNK7WebCore10ScrollView18contentsToRootViewERKNS_8IntPointE
+__ZNK7WebCore10ScrollView18exposedContentRectEv
__ZNK7WebCore10ScrollView18rootViewToContentsERKNS_8IntPointE
__ZNK7WebCore10ScrollView23rootViewToTotalContentsERKNS_8IntPointE
__ZNK7WebCore10ScrollView40documentScrollOffsetRelativeToViewOriginEv
Modified: trunk/Source/WebKit2/ChangeLog (170376 => 170377)
--- trunk/Source/WebKit2/ChangeLog 2014-06-24 19:06:36 UTC (rev 170376)
+++ trunk/Source/WebKit2/ChangeLog 2014-06-24 19:09:11 UTC (rev 170377)
@@ -1,3 +1,13 @@
+2014-06-24 Antti Koivisto <an...@apple.com>
+
+ Only flush layers when the exposed rect actually changes
+ https://bugs.webkit.org/show_bug.cgi?id=134248
+
+ Reviewed by Anders Carlsson.
+
+ * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:
+ (WebKit::RemoteLayerTreeDrawingArea::setExposedContentRect):
+
2014-06-24 Martin Hock <mh...@apple.com>
[iOS] DOMWindow::outerWidth and outerHeight don't return useful values, so return 0.
Modified: trunk/Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm (170376 => 170377)
--- trunk/Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm 2014-06-24 19:06:36 UTC (rev 170376)
+++ trunk/Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm 2014-06-24 19:09:11 UTC (rev 170377)
@@ -202,6 +202,8 @@
FrameView* frameView = m_webPage.mainFrameView();
if (!frameView)
return;
+ if (frameView->exposedContentRect() == exposedContentRect)
+ return;
frameView->setExposedContentRect(exposedContentRect);
scheduleCompositingLayerFlush();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes