Title: [285798] trunk/Source/WebKit
Revision
285798
Author
hironori.fu...@sony.com
Date
2021-11-14 20:22:34 -0800 (Sun, 14 Nov 2021)

Log Message

[GraphicsLayerWC] Incorrect compositing debug border color
https://bugs.webkit.org/show_bug.cgi?id=233107

Reviewed by Don Olmstead.

GraphicsLayer::updateDebugIndicators() should be called after
changing some layer properties.

* WebProcess/WebPage/wc/GraphicsLayerWC.cpp:
(WebKit::GraphicsLayerWC::setMasksToBounds):
(WebKit::GraphicsLayerWC::setDrawsContent):
(WebKit::GraphicsLayerWC::setContentsToPlatformLayer):
(WebKit::GraphicsLayerWC::setBackdropFilters):
Call updateDebugIndicators.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (285797 => 285798)


--- trunk/Source/WebKit/ChangeLog	2021-11-15 04:06:38 UTC (rev 285797)
+++ trunk/Source/WebKit/ChangeLog	2021-11-15 04:22:34 UTC (rev 285798)
@@ -1,3 +1,20 @@
+2021-11-14  Fujii Hironori  <hironori.fu...@sony.com>
+
+        [GraphicsLayerWC] Incorrect compositing debug border color
+        https://bugs.webkit.org/show_bug.cgi?id=233107
+
+        Reviewed by Don Olmstead.
+
+        GraphicsLayer::updateDebugIndicators() should be called after
+        changing some layer properties.
+
+        * WebProcess/WebPage/wc/GraphicsLayerWC.cpp:
+        (WebKit::GraphicsLayerWC::setMasksToBounds):
+        (WebKit::GraphicsLayerWC::setDrawsContent):
+        (WebKit::GraphicsLayerWC::setContentsToPlatformLayer):
+        (WebKit::GraphicsLayerWC::setBackdropFilters):
+        Call updateDebugIndicators.
+
 2021-11-14  Simon Fraser  <simon.fra...@apple.com>
 
         Attach IOHIDEvent timestamps to wheel events

Modified: trunk/Source/WebKit/WebProcess/WebPage/wc/GraphicsLayerWC.cpp (285797 => 285798)


--- trunk/Source/WebKit/WebProcess/WebPage/wc/GraphicsLayerWC.cpp	2021-11-15 04:06:38 UTC (rev 285797)
+++ trunk/Source/WebKit/WebProcess/WebPage/wc/GraphicsLayerWC.cpp	2021-11-15 04:22:34 UTC (rev 285798)
@@ -213,6 +213,7 @@
         return;
     GraphicsLayer::setMasksToBounds(value);
     noteLayerPropertyChanged(WCLayerChange::MasksToBounds);
+    updateDebugIndicators();
 }
 
 void GraphicsLayerWC::setOpacity(float value)
@@ -245,6 +246,7 @@
         return;
     GraphicsLayer::setDrawsContent(value);
     noteLayerPropertyChanged(WCLayerChange::BackingStore);
+    updateDebugIndicators();
 }
 
 void GraphicsLayerWC::setContentsVisible(bool value)
@@ -277,6 +279,7 @@
         return;
     m_platformLayer = platformLayer;
     noteLayerPropertyChanged(WCLayerChange::PlatformLayer);
+    updateDebugIndicators();
 }
 
 bool GraphicsLayerWC::usesContentsLayer() const
@@ -345,6 +348,7 @@
     else
         clearBackdropFilters();
     noteLayerPropertyChanged(WCLayerChange::BackdropFilters);
+    updateDebugIndicators();
     return canCompositeFilters;
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to