diff options
author | 2014-05-02 20:51:13 +0000 | |
---|---|---|
committer | 2014-05-02 20:51:13 +0000 | |
commit | c09abe66c1388c5da456c7686eab7a7928e9e9d6 (patch) | |
tree | 27e36e26a5b71b9aa7aa2f4698a9b398252353f3 /src/core/SkShader.cpp | |
parent | 74b8cb15e4fb330e8d10856f6620e8b92b39a9ce (diff) |
Revert of Remove setLocalMatrix calls from picture shader GM. (https://codereview.chromium.org/260863007/)
Reason for revert:
changed GM unexpectedly. will sort out and try again
Original issue's description:
> 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
R=reed@google.com, fmalita@google.com, mtklein@chromium.org
TBR=fmalita@google.com, mtklein@chromium.org, reed@google.com
NOTREECHECKS=true
NOTRY=true
BUG=skia:2378
Author: mtklein@google.com
Review URL: https://codereview.chromium.org/265013003
git-svn-id: http://skia.googlecode.com/svn/trunk@14550 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkShader.cpp')
-rw-r--r-- | src/core/SkShader.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/SkShader.cpp b/src/core/SkShader.cpp index 67dd581543..0f6ba4ce9f 100644 --- a/src/core/SkShader.cpp +++ b/src/core/SkShader.cpp @@ -193,9 +193,8 @@ SkShader* SkShader::CreateBitmapShader(const SkBitmap& src, TileMode tmx, TileMo return ::CreateBitmapShader(src, tmx, tmy, localMatrix, NULL); } -SkShader* SkShader::CreatePictureShader(SkPicture* src, TileMode tmx, TileMode tmy, - const SkMatrix* localMatrix) { - return SkPictureShader::Create(src, tmx, tmy, localMatrix); +SkShader* SkShader::CreatePictureShader(SkPicture* src, TileMode tmx, TileMode tmy) { + return SkPictureShader::Create(src, tmx, tmy); } #ifndef SK_IGNORE_TO_STRING |