summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-09 18:31:42 +0000
committersenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-09 18:31:42 +0000
commitef5a1fbd63dff821a946e0b8e67db3fa335bddb0 (patch)
treef9811b9fd6871c1fdf6351811e17b4bec967923a
parent25e21ec1393a93891969584dc35c554d2000868b (diff)
downloadgyp-ef5a1fbd63dff821a946e0b8e67db3fa335bddb0.tar.gz
Implement srcRect and dstRect functionality in SkBitmapSource. This is required for the "preserveAspectRatio" options of SVG's feImage. Covered by new GM "bitmapsource".
This also includes some changes to the xfermodeimagefilter and tileimagefilter GMs to properly handle the CTM. This worked before only because SkBitmapSource was ignoring the CTM. Now that it respects it, we need to give the correct transform. This also means the GMs now work while zoomed. It also implements CTM support for SkTileImageFilter. NOTE: this will require rebaselining a number of imagefilter GMs on Nexus4, since they render in perspective (using the CTM). The changes to the results should all be improvements. R=reed@google.com, robertphillips@google.com Review URL: https://codereview.chromium.org/106933002 git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@12571 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--gmslides.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/gmslides.gypi b/gmslides.gypi
index 149d037..e29a702 100644
--- a/gmslides.gypi
+++ b/gmslides.gypi
@@ -21,6 +21,7 @@
'../gm/bitmaprecttest.cpp',
'../gm/bitmapscroll.cpp',
'../gm/bitmapshader.cpp',
+ '../gm/bitmapsource.cpp',
'../gm/bleed.cpp',
'../gm/blurs.cpp',
'../gm/blurquickreject.cpp',