Changeset 269838 in webkit


Ignore:
Timestamp:
Nov 16, 2020 12:27:09 AM (3 years ago)
Author:
Fujii Hironori
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.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r269837 r269838  
     12020-11-16  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        [WinCairo][GraphicsLayerTextureMapper] Support rounded rect clipping for backdrop-filter
     4        https://bugs.webkit.org/show_bug.cgi?id=218962
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        r269772 (Bug 215445) added rounded rect clipping support for
     9        backdrop-filter for TextureMapper and CoordinatedGraphics. Add the
     10        feature to GraphicsLayerTextureMapper.
     11
     12        Existing tests cover this change:
     13        css3/filters/backdrop/backdrop-filter-uneven-corner-radii.html
     14        css3/filters/backdrop/backdrop-filter-with-border-radius-value-change.html
     15        css3/filters/backdrop/backdrop-filter-with-border-radius
     16
     17        * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
     18        (WebCore::GraphicsLayerTextureMapper::commitLayerChanges): Call setBackdropFiltersRect.
     19
    1202020-11-16  Fujii Hironori  <Hironori.Fujii@sony.com>
    221
  • trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp

    r269614 r269838  
    435435
    436436        m_layer.setBackdropLayer(m_backdropLayer.get());
     437        m_layer.setBackdropFiltersRect(m_backdropFiltersRect);
    437438    }
    438439
Note: See TracChangeset for help on using the changeset viewer.