Title: [269838] trunk/Source/WebCore
Revision
269838
Author
[email protected]
Date
2020-11-16 00:27:09 -0800 (Mon, 16 Nov 2020)

Log Message

[WinCairo][GraphicsLayerTextureMapper] Support rounded rect clipping for backdrop-filter
https://bugs.webkit.org/show_bug.cgi?id=218962

Reviewed by Carlos Garcia Campos.

r269772 (Bug 215445) added rounded rect clipping support for
backdrop-filter for TextureMapper and CoordinatedGraphics. Add the
feature to GraphicsLayerTextureMapper.

Existing tests cover this change:
css3/filters/backdrop/backdrop-filter-uneven-corner-radii.html
css3/filters/backdrop/backdrop-filter-with-border-radius-value-change.html
css3/filters/backdrop/backdrop-filter-with-border-radius

* platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
(WebCore::GraphicsLayerTextureMapper::commitLayerChanges): Call setBackdropFiltersRect.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (269837 => 269838)


--- trunk/Source/WebCore/ChangeLog	2020-11-16 08:19:39 UTC (rev 269837)
+++ trunk/Source/WebCore/ChangeLog	2020-11-16 08:27:09 UTC (rev 269838)
@@ -1,5 +1,24 @@
 2020-11-16  Fujii Hironori  <[email protected]>
 
+        [WinCairo][GraphicsLayerTextureMapper] Support rounded rect clipping for backdrop-filter
+        https://bugs.webkit.org/show_bug.cgi?id=218962
+
+        Reviewed by Carlos Garcia Campos.
+
+        r269772 (Bug 215445) added rounded rect clipping support for
+        backdrop-filter for TextureMapper and CoordinatedGraphics. Add the
+        feature to GraphicsLayerTextureMapper.
+
+        Existing tests cover this change:
+        css3/filters/backdrop/backdrop-filter-uneven-corner-radii.html
+        css3/filters/backdrop/backdrop-filter-with-border-radius-value-change.html
+        css3/filters/backdrop/backdrop-filter-with-border-radius
+
+        * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
+        (WebCore::GraphicsLayerTextureMapper::commitLayerChanges): Call setBackdropFiltersRect.
+
+2020-11-16  Fujii Hironori  <[email protected]>
+
         [TextureMapper] The edges of blur backdrop-filter look gradient tranparent
         https://bugs.webkit.org/show_bug.cgi?id=218645
         <rdar://problem/71356999>

Modified: trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp (269837 => 269838)


--- trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp	2020-11-16 08:19:39 UTC (rev 269837)
+++ trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp	2020-11-16 08:27:09 UTC (rev 269838)
@@ -434,6 +434,7 @@
             m_backdropLayer = nullptr;
 
         m_layer.setBackdropLayer(m_backdropLayer.get());
+        m_layer.setBackdropFiltersRect(m_backdropFiltersRect);
     }
 
     if (m_changeMask & PositionChange)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to