aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
diff options
context:
space:
mode:
authorGravatar senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-20 20:21:19 +0000
committerGravatar senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-20 20:21:19 +0000
commit2a4223c783e35f1c6095c4736a9246884e51a48d (patch)
treedcddb6f94674b467fc7962aadc88f1508ab05633 /gm
parentb5e391025e9859937fd6b4b3f4b8204d0bb73859 (diff)
Fix for cropped matrix convolution for BottomLeft render targets.
R=bsalomon@google.com Review URL: https://codereview.chromium.org/31083002 git-svn-id: http://skia.googlecode.com/svn/trunk@11872 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm')
-rw-r--r--gm/matrixconvolution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/matrixconvolution.cpp b/gm/matrixconvolution.cpp
index 5c443da3ff..1863a7f597 100644
--- a/gm/matrixconvolution.cpp
+++ b/gm/matrixconvolution.cpp
@@ -93,7 +93,7 @@ protected:
target.fY++;
}
target.fY = 1;
- SkImageFilter::CropRect rect(SkRect::MakeXYWH(10, 10, 60, 60));
+ SkImageFilter::CropRect rect(SkRect::MakeXYWH(10, 5, 60, 60));
this->draw(canvas, 310, 10, target, MCIF::kClamp_TileMode, true, &rect);
this->draw(canvas, 310, 110, target, MCIF::kClampToBlack_TileMode, true, &rect);
this->draw(canvas, 310, 210, target, MCIF::kRepeat_TileMode, true, &rect);