summaryrefslogtreecommitdiffstats
path: root/cc/cc_tests.gyp
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-17 18:48:56 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-17 18:48:56 +0000
commit8591a64cdb550bb195675cf773287e042a87c605 (patch)
tree91ef25d59c0ae5636ee5407828910f3bc079a34b /cc/cc_tests.gyp
parent3d0bfec9ea5ed6afe9c229c52e9dbb571432019f (diff)
downloadchromium_src-8591a64cdb550bb195675cf773287e042a87c605.zip
chromium_src-8591a64cdb550bb195675cf773287e042a87c605.tar.gz
chromium_src-8591a64cdb550bb195675cf773287e042a87c605.tar.bz2
cc: Remove incorrect dcheck for masks.
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
Diffstat (limited to 'cc/cc_tests.gyp')
-rw-r--r--cc/cc_tests.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/cc_tests.gyp b/cc/cc_tests.gyp
index ab6bfad..0406810 100644
--- a/cc/cc_tests.gyp
+++ b/cc/cc_tests.gyp
@@ -31,6 +31,7 @@
'trees/layer_tree_host_common_unittest.cc',
'trees/layer_tree_host_impl_unittest.cc',
'trees/layer_tree_host_pixeltest_filters.cc',
+ 'trees/layer_tree_host_pixeltest_masks.cc',
'trees/layer_tree_host_pixeltest_on_demand_raster.cc',
'trees/layer_tree_host_unittest.cc',
'trees/layer_tree_host_unittest_animation.cc',