summaryrefslogtreecommitdiffstats
path: root/cc/test/layer_tree_pixel_test.h
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-16 00:31:41 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-16 00:31:41 +0000
commit00b9838b129511ed29680f001a33cc7858179397 (patch)
treeeb367ce86342c77795c239d0a0a70526a951dbe7 /cc/test/layer_tree_pixel_test.h
parente859d06015371958d9015f9b2e26e38c76d76614 (diff)
downloadchromium_src-00b9838b129511ed29680f001a33cc7858179397.zip
chromium_src-00b9838b129511ed29680f001a33cc7858179397.tar.gz
chromium_src-00b9838b129511ed29680f001a33cc7858179397.tar.bz2
cc: Add remaining pixel tests for background blur.
This replicates the following layout tests with compositor pixel tests: platform/chromium/compositing/filters/background-filter-blur-outsets.html platform/chromium/compositing/filters/background-filter-blur-off-axis.html The first test verifies that pixels from outside the bounds of the layer with background blur are used to contribute to the background behind the blurred layer. The second test verifies that the blur layer's transform does not affect the rendering of the blurred content behind it. New test: LayerTreeHostFiltersPixelTest.BackgroundFilterBlurOutsets LayerTreeHostFiltersPixelTest.BackgroundFilterBlurOffAxis R=jamesr,enne BUG=191170 Depends on: https://codereview.chromium.org/12518026/ Review URL: https://codereview.chromium.org/12571010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188524 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/layer_tree_pixel_test.h')
-rw-r--r--cc/test/layer_tree_pixel_test.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cc/test/layer_tree_pixel_test.h b/cc/test/layer_tree_pixel_test.h
index 4682d9e..58ec11f 100644
--- a/cc/test/layer_tree_pixel_test.h
+++ b/cc/test/layer_tree_pixel_test.h
@@ -34,6 +34,11 @@ class LayerTreePixelTest : public ThreadedTest {
scoped_refptr<SolidColorLayer> CreateSolidColorLayer(gfx::Rect rect,
SkColor color);
+ scoped_refptr<SolidColorLayer> CreateSolidColorLayerWithBorder(
+ gfx::Rect rect,
+ SkColor color,
+ int border_width,
+ SkColor border_color);
void RunPixelTest(scoped_refptr<Layer> content_root,
base::FilePath file_name);