Changeset 174924 in webkit


Ignore:
Timestamp:
Oct 20, 2014 11:12:54 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

[Coordinated Graphics] '-webkit-mask-image: -webkit-gradient' doesn't work for AC layer.
https://bugs.webkit.org/show_bug.cgi?id=125326

Patch by YongGeol Jung <yg48.jung@samsung.com> on 2014-10-20
Reviewed by Gyuyoung Kim.

Mask layer hasn't requested to synchronize with AC layer in CoordinatedGraphics so far.
That's why the mask layer isn't shown under CoordinatedGraphics.
Thus this patch lets the mask layer synchronize with the AC layer whenever AC layer is updated.

Below layout test case is related to this issue when --pixel test is enabled.
Unfortunately EFL WebKitTestRunner doesn't support AC mode yet.
When EFL test framework supports AC mode, the test will be passed.

Test: compositing/masks/mask-of-clipped-layer.html

  • platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:

(WebCore::CoordinatedGraphicsLayer::syncPendingStateChangesIncludingSubLayers):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r174922 r174924  
     12014-10-20  YongGeol Jung  <yg48.jung@samsung.com>
     2
     3        [Coordinated Graphics] '-webkit-mask-image: -webkit-gradient' doesn't work for AC layer.
     4        https://bugs.webkit.org/show_bug.cgi?id=125326
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        Mask layer hasn't requested to synchronize with AC layer in CoordinatedGraphics so far.
     9        That's why the mask layer isn't shown under CoordinatedGraphics.
     10        Thus this patch lets the mask layer synchronize with the AC layer whenever AC layer is updated.
     11
     12        Below layout test case is related to this issue when --pixel test is enabled.
     13        Unfortunately EFL WebKitTestRunner doesn't support AC mode yet.
     14        When EFL test framework supports AC mode, the test will be passed.
     15
     16        Test: compositing/masks/mask-of-clipped-layer.html
     17
     18        * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
     19        (WebCore::CoordinatedGraphicsLayer::syncPendingStateChangesIncludingSubLayers):
     20
    1212014-10-17  Jeffrey Pfau  <jpfau@apple.com>
    222
  • trunk/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp

    r173268 r174924  
    800800    }
    801801
     802    if (maskLayer())
     803        toCoordinatedGraphicsLayer(maskLayer())->syncPendingStateChangesIncludingSubLayers();
     804
    802805    for (size_t i = 0; i < children().size(); ++i)
    803806        toCoordinatedGraphicsLayer(children()[i])->syncPendingStateChangesIncludingSubLayers();
Note: See TracChangeset for help on using the changeset viewer.