commit | 2b64e065346a07793c6f484737dcc07f833f349f | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri May 02 21:23:52 2014 +0000 |
committer | [email protected] <[email protected]@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri May 02 21:23:52 2014 +0000 |
tree | 76ece4736bce8ed2935270bc13011c2f76f2df69 | |
parent | 9c360f54d4a28c6444084ca77ecaea157c755adc [diff] |
Remove setLocalMatrix calls from picture shader GM. This makes all --skr tests pass for me. Enabling it by default in DM. BUG=skia:2378 Committed: http://code.google.com/p/skia/source/detail?r=14549 [email protected], [email protected], [email protected] Author: [email protected] Review URL: https://codereview.chromium.org/260863007 git-svn-id: http://skia.googlecode.com/svn/trunk/include@14551 2bbb7eff-a529-9590-31e7-b0007b416f81
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 @@ * @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)