Title: [234133] trunk/Source/WebCore
Revision
234133
Author
[email protected]
Date
2018-07-24 00:27:12 -0700 (Tue, 24 Jul 2018)

Log Message

[CoordGraphics] Use adjusted position, anchor point, size values for Nicosia::CompositionLayer state
https://bugs.webkit.org/show_bug.cgi?id=187899

Reviewed by Carlos Garcia Campos.

As is done for the CoordinatedGraphicsLayerState, the scale-adjusted
position, anchor point and size values should be used when updating the
corresponding Nicosia::CompositionLayer::LayerState members.

* platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
(WebCore::CoordinatedGraphicsLayer::flushCompositingStateForThisLayerOnly):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (234132 => 234133)


--- trunk/Source/WebCore/ChangeLog	2018-07-24 06:44:09 UTC (rev 234132)
+++ trunk/Source/WebCore/ChangeLog	2018-07-24 07:27:12 UTC (rev 234133)
@@ -1,3 +1,17 @@
+2018-07-24  Zan Dobersek  <[email protected]>
+
+        [CoordGraphics] Use adjusted position, anchor point, size values for Nicosia::CompositionLayer state
+        https://bugs.webkit.org/show_bug.cgi?id=187899
+
+        Reviewed by Carlos Garcia Campos.
+
+        As is done for the CoordinatedGraphicsLayerState, the scale-adjusted
+        position, anchor point and size values should be used when updating the
+        corresponding Nicosia::CompositionLayer::LayerState members.
+
+        * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
+        (WebCore::CoordinatedGraphicsLayer::flushCompositingStateForThisLayerOnly):
+
 2018-07-23  Manuel Rego Casasnovas  <[email protected]>
 
         [css-grid] Add support for calc() in gutter properties

Modified: trunk/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp (234132 => 234133)


--- trunk/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp	2018-07-24 06:44:09 UTC (rev 234132)
+++ trunk/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp	2018-07-24 07:27:12 UTC (rev 234133)
@@ -795,11 +795,11 @@
                 state.delta.value |= localDelta.value;
 
                 if (localDelta.positionChanged)
-                    state.position = position();
+                    state.position = m_adjustedPosition;
                 if (localDelta.anchorPointChanged)
-                    state.anchorPoint = anchorPoint();
+                    state.anchorPoint = m_adjustedAnchorPoint;
                 if (localDelta.sizeChanged)
-                    state.size = size();
+                    state.size = m_adjustedSize;
 
                 if (localDelta.transformChanged)
                     state.transform = transform();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to