Title: [179278] trunk/Source/WebKit/win
Revision
179278
Author
[email protected]
Date
2015-01-28 12:41:01 -0800 (Wed, 28 Jan 2015)

Log Message

[WinCairo] Message loop is flooded with timer messages when animating in accelerated compositing mode.
https://bugs.webkit.org/show_bug.cgi?id=140985

Patch by [email protected] <[email protected]> on 2015-01-28
Reviewed by Brent Fulgham.

The animation timer has zero timeout, which makes it hard for other messages to slip through.

* WebCoreSupport/AcceleratedCompositingContext.cpp:
(AcceleratedCompositingContext::scheduleLayerFlush):

Modified Paths

Diff

Modified: trunk/Source/WebKit/win/ChangeLog (179277 => 179278)


--- trunk/Source/WebKit/win/ChangeLog	2015-01-28 20:35:51 UTC (rev 179277)
+++ trunk/Source/WebKit/win/ChangeLog	2015-01-28 20:41:01 UTC (rev 179278)
@@ -1,3 +1,15 @@
+2015-01-28  [email protected]  <[email protected]>
+
+        [WinCairo] Message loop is flooded with timer messages when animating in accelerated compositing mode.
+        https://bugs.webkit.org/show_bug.cgi?id=140985
+
+        Reviewed by Brent Fulgham.
+
+        The animation timer has zero timeout, which makes it hard for other messages to slip through.
+
+        * WebCoreSupport/AcceleratedCompositingContext.cpp:
+        (AcceleratedCompositingContext::scheduleLayerFlush):
+
 2015-01-28  Chris Dumez  <[email protected]>
 
         Fix typo in markPagesForVistedLinkStyleRecalc()

Modified: trunk/Source/WebKit/win/WebCoreSupport/AcceleratedCompositingContext.cpp (179277 => 179278)


--- trunk/Source/WebKit/win/WebCoreSupport/AcceleratedCompositingContext.cpp	2015-01-28 20:35:51 UTC (rev 179277)
+++ trunk/Source/WebKit/win/WebCoreSupport/AcceleratedCompositingContext.cpp	2015-01-28 20:41:01 UTC (rev 179278)
@@ -251,7 +251,7 @@
     if (m_layerFlushTimer.isActive())
         return;
 
-    m_layerFlushTimer.startOneShot(0);
+    m_layerFlushTimer.startOneShot(0.05);
 }
 
 bool AcceleratedCompositingContext::flushPendingLayerChanges()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to