• danakj@chromium.org's avatar
    cc: Remove incorrect dcheck for masks. · 8591a64c
    danakj@chromium.org authored
    If a layer has a replica, which has a mask, then the layer itself does not
    need to clip to its bounding box. This dcheck verified that it would.
    
    Add some new unit tests and pixel tests that verify behaviour of the mask
    texture with masked replicas. The current behaviour is correct. The
    replica is masked at the origin of the replicated layer.
    
    Tests:
    LayerTreeHostImplTest.ReflectionMaskLayerWithDifferentBounds
    LayerTreeHostImplTest.ReflectionMaskLayerForSurfaceWithUnclippedChild
    LayerTreeHostImplTest.MaskLayerForSurfaceWithClippedLayer
    LayerTreeHostMasksPixelTest.MaskOfLayer
    LayerTreeHostMasksPixelTest.ImageMaskOfLayer
    LayerTreeHostMasksPixelTest.MaskOfClippedLayer
    LayerTreeHostMasksPixelTest.MaskWithReplica
    LayerTreeHostMasksPixelTest.MaskWithReplicaOfClippedLayer
    LayerTreeHostMasksPixelTest.MaskOfReplica
    LayerTreeHostMasksPixelTest.MaskOfReplicaOfClippedLayer
    
    R=enne
    BUG=171734
    
    Review URL: https://codereview.chromium.org/14244021
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194639 0039d316-1c4b-4281-b951-d872f2087c98
    8591a64c
cc_tests.gyp 10.7 KB