Changeset 269569 in webkit


Ignore:
Timestamp:
Nov 8, 2020 11:49:21 AM (3 years ago)
Author:
Fujii Hironori
Message:

[GraphicsLayerTextureMapper] reflection masks aren't applied
https://bugs.webkit.org/show_bug.cgi?id=218429

Reviewed by Don Olmstead.

The backing store of the mask layer of replica layers aren't
updated at all since r178111.

  • platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:

(WebCore::GraphicsLayerTextureMapper::updateBackingStoreIncludingSubLayers):
Use updateBackingStoreIncludingSubLayers for the replica layer to
update backing stores recursively instead of updating only one
layer by using updateBackingStoreIfNeeded.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r269568 r269569  
     12020-11-08  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        [GraphicsLayerTextureMapper] reflection masks aren't applied
     4        https://bugs.webkit.org/show_bug.cgi?id=218429
     5
     6        Reviewed by Don Olmstead.
     7
     8        The backing store of the mask layer of replica layers aren't
     9        updated at all since r178111.
     10
     11        * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
     12        (WebCore::GraphicsLayerTextureMapper::updateBackingStoreIncludingSubLayers):
     13        Use updateBackingStoreIncludingSubLayers for the replica layer to
     14        update backing stores recursively instead of updating only one
     15        layer by using updateBackingStoreIfNeeded.
     16
    1172020-11-08  Darin Adler  <darin@apple.com>
    218
  • trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp

    r268548 r269569  
    537537        downcast<GraphicsLayerTextureMapper>(*maskLayer()).updateBackingStoreIfNeeded();
    538538    if (replicaLayer())
    539         downcast<GraphicsLayerTextureMapper>(*replicaLayer()).updateBackingStoreIfNeeded();
     539        downcast<GraphicsLayerTextureMapper>(*replicaLayer()).updateBackingStoreIncludingSubLayers();
    540540    for (auto& child : children())
    541541        downcast<GraphicsLayerTextureMapper>(child.get()).updateBackingStoreIncludingSubLayers();
Note: See TracChangeset for help on using the changeset viewer.