Title: [132392] trunk/Source/WebKit2
Revision
132392
Author
[email protected]
Date
2012-10-24 13:33:14 -0700 (Wed, 24 Oct 2012)

Log Message

Coordinated Graphics: Enable threaded/IPC animations
https://bugs.webkit.org/show_bug.cgi?id=93146

Reviewed by Caio Marcelo de Oliveira Filho.

In some cases there are pending changes in the layers, but no actual changes to the frame.
In that case we should unlock the animations.

* WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
(WebKit::LayerTreeCoordinator::flushPendingLayerChanges):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (132391 => 132392)


--- trunk/Source/WebKit2/ChangeLog	2012-10-24 20:31:05 UTC (rev 132391)
+++ trunk/Source/WebKit2/ChangeLog	2012-10-24 20:33:14 UTC (rev 132392)
@@ -1,3 +1,16 @@
+2012-10-24  No'am Rosenthal  <[email protected]>
+
+        Coordinated Graphics: Enable threaded/IPC animations
+        https://bugs.webkit.org/show_bug.cgi?id=93146
+
+        Reviewed by Caio Marcelo de Oliveira Filho.
+
+        In some cases there are pending changes in the layers, but no actual changes to the frame.
+        In that case we should unlock the animations.
+
+        * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
+        (WebKit::LayerTreeCoordinator::flushPendingLayerChanges):
+
 2012-10-24  Noam Rosenthal  <[email protected]>
 
         [Qt-on-Mac] GraphicsSurfaces should not create a global IOSurface handle

Modified: trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp (132391 => 132392)


--- trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp	2012-10-24 20:31:05 UTC (rev 132391)
+++ trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp	2012-10-24 20:33:14 UTC (rev 132392)
@@ -280,7 +280,8 @@
         m_webPage->send(Messages::LayerTreeCoordinatorProxy::DidRenderFrame(contentsSize, coveredRect));
         m_waitingForUIProcess = true;
         m_shouldSyncFrame = false;
-    }
+    } else
+        unlockAnimations();
 
     if (m_forceRepaintAsyncCallbackID) {
         m_webPage->send(Messages::WebPageProxy::VoidCallback(m_forceRepaintAsyncCallbackID));
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to