Title: [200813] trunk/Source/WebCore
Revision
200813
Author
[email protected]
Date
2016-05-12 22:52:11 -0700 (Thu, 12 May 2016)

Log Message

CoordinatedGraphicsLayer::syncLayerState() should set the m_layerState.contentsOpaque flag
https://bugs.webkit.org/show_bug.cgi?id=157575

Reviewed by Darin Adler.

* platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
(WebCore::CoordinatedGraphicsLayer::syncLayerState): The contentsOpaque flag in the
layer's CoordinatedGraphicsLayerState object should also be set to the current value
of the layer. This is the only flag in the union of 9 members that's not being updated
in this method.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (200812 => 200813)


--- trunk/Source/WebCore/ChangeLog	2016-05-13 05:48:23 UTC (rev 200812)
+++ trunk/Source/WebCore/ChangeLog	2016-05-13 05:52:11 UTC (rev 200813)
@@ -1,5 +1,18 @@
 2016-05-12  Zan Dobersek  <[email protected]>
 
+        CoordinatedGraphicsLayer::syncLayerState() should set the m_layerState.contentsOpaque flag
+        https://bugs.webkit.org/show_bug.cgi?id=157575
+
+        Reviewed by Darin Adler.
+
+        * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
+        (WebCore::CoordinatedGraphicsLayer::syncLayerState): The contentsOpaque flag in the
+        layer's CoordinatedGraphicsLayerState object should also be set to the current value
+        of the layer. This is the only flag in the union of 9 members that's not being updated
+        in this method.
+
+2016-05-12  Zan Dobersek  <[email protected]>
+
         [TexMap] Handle TextureMapperShaderProgram objects through references
         https://bugs.webkit.org/show_bug.cgi?id=157619
 

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


--- trunk/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp	2016-05-13 05:48:23 UTC (rev 200812)
+++ trunk/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp	2016-05-13 05:52:11 UTC (rev 200813)
@@ -675,6 +675,7 @@
     m_layerState.size = m_adjustedSize;
 
     if (m_layerState.flagsChanged) {
+        m_layerState.contentsOpaque = contentsOpaque();
         m_layerState.drawsContent = drawsContent();
         m_layerState.contentsVisible = contentsAreVisible();
         m_layerState.backfaceVisible = backfaceVisibility();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to