Title: [91623] trunk/Source/WebCore
Revision
91623
Author
[email protected]
Date
2011-07-22 17:01:57 -0700 (Fri, 22 Jul 2011)

Log Message

2011-07-22  Simon Fraser  <[email protected]>

        Need to update the acceleratesDrawing status on a layer when switching to/from tiled layers
        https://bugs.webkit.org/show_bug.cgi?id=65057

        Reviewed by Joseph Pecoraro.

        When switching to or from tiled layers, we need to update the new layer's
        acceleratesDrawing status.

        * platform/graphics/ca/GraphicsLayerCA.cpp:
        (WebCore::GraphicsLayerCA::swapFromOrToTiledLayer):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (91622 => 91623)


--- trunk/Source/WebCore/ChangeLog	2011-07-22 23:58:12 UTC (rev 91622)
+++ trunk/Source/WebCore/ChangeLog	2011-07-23 00:01:57 UTC (rev 91623)
@@ -1,3 +1,16 @@
+2011-07-22  Simon Fraser  <[email protected]>
+
+        Need to update the acceleratesDrawing status on a layer when switching to/from tiled layers
+        https://bugs.webkit.org/show_bug.cgi?id=65057
+
+        Reviewed by Joseph Pecoraro.
+
+        When switching to or from tiled layers, we need to update the new layer's
+        acceleratesDrawing status.
+
+        * platform/graphics/ca/GraphicsLayerCA.cpp:
+        (WebCore::GraphicsLayerCA::swapFromOrToTiledLayer):
+
 2011-07-22  Mark Pilgrim  <[email protected]>
 
         Add [Optional=CallWithDefaultValues] flag and use it in initXXXEvent declarations

Modified: trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp (91622 => 91623)


--- trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp	2011-07-22 23:58:12 UTC (rev 91622)
+++ trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp	2011-07-23 00:01:57 UTC (rev 91623)
@@ -2091,6 +2091,7 @@
     updateBackfaceVisibility();
     updateLayerBackgroundColor();
     updateContentsScale(pageScaleFactor, positionRelativeToBase);
+    updateAcceleratesDrawing();
     updateOpacityOnLayer();
     
 #ifndef NDEBUG
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to