summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-02 20:30:11 +0000
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-02 20:30:11 +0000
commit127aa5e2feea726539c7c8d86034f606435c0c48 (patch)
tree76ece4736bce8ed2935270bc13011c2f76f2df69
parentd87030629d8239c3e8c8c3868d6d42f16c934aa8 (diff)
downloadinclude-127aa5e2feea726539c7c8d86034f606435c0c48.tar.gz
Remove setLocalMatrix calls from picture shader GM.
This makes all --skr tests pass for me. Enabling it by default in DM. BUG=skia:2378 R=reed@google.com, mtklein@google.com, fmalita@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/260863007 git-svn-id: http://skia.googlecode.com/svn/trunk/include@14549 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--core/SkShader.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/SkShader.h b/core/SkShader.h
index 32707d7..bcb229d 100644
--- a/core/SkShader.h
+++ b/core/SkShader.h
@@ -402,7 +402,8 @@ public:
* @param tmy The tiling mode to use when sampling the bitmap in the y-direction.
* @return Returns a new shader object. Note: this function never returns null.
*/
- static SkShader* CreatePictureShader(SkPicture* src, TileMode tmx, TileMode tmy);
+ static SkShader* CreatePictureShader(SkPicture* src, TileMode tmx, TileMode tmy,
+ const SkMatrix* localMatrix = NULL);
SK_TO_STRING_VIRT()
SK_DEFINE_FLATTENABLE_TYPE(SkShader)