summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-06 15:59:03 +0000
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-06 15:59:03 +0000
commit010ee47cdac7e045a6be7d898d8fe7fb604c035a (patch)
tree65dfd1f6b22bc518024b0b5174034b8b55f07a9b
parent41687c36405a2a5b575ed002efc0b1933b04791d (diff)
downloadgyp-010ee47cdac7e045a6be7d898d8fe7fb604c035a.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. R=reed@google.com Author: senorblanco@chromium.org Review URL: https://codereview.chromium.org/106933002 git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@12528 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 f8f38e9..4dd03ce 100644
--- a/gmslides.gypi
+++ b/gmslides.gypi
@@ -20,6 +20,7 @@
'../gm/bitmaprect.cpp',
'../gm/bitmaprecttest.cpp',
'../gm/bitmapscroll.cpp',
+ '../gm/bitmapsource.cpp',
'../gm/bleed.cpp',
'../gm/blurs.cpp',
'../gm/blurquickreject.cpp',