Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Unified Diff: include/core/SkImage.h

Issue 409653003: Now able to set the localMatrix when creating a SkShader from a SkImage (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/image/SkImage.cpp » ('j') | src/image/SkImage_Base.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkImage.h
diff --git a/include/core/SkImage.h b/include/core/SkImage.h
index 54ef9f44e902c72601c8d3ec94ef027f80022712..8456c141211d2490d1ac35a6800969acdce7a116 100644
--- a/include/core/SkImage.h
+++ b/include/core/SkImage.h
@@ -58,7 +58,7 @@ public:
*/
GrTexture* getTexture();
- virtual SkShader* newShader(SkShader::TileMode, SkShader::TileMode) const;
+ virtual SkShader* newShader(SkShader::TileMode, SkShader::TileMode, SkMatrix* localMatrix = NULL) const;
Justin Novosad 2014/07/21 19:20:39 Should be 'const'
bsalomon 2014/07/21 19:28:41 Also, should wrap to be <= 100 cols.
Rémi Piotaix 2014/07/22 19:08:08 Done.
Rémi Piotaix 2014/07/22 19:08:08 Done.
void draw(SkCanvas*, SkScalar x, SkScalar y, const SkPaint*);
« no previous file with comments | « no previous file | src/image/SkImage.cpp » ('j') | src/image/SkImage_Base.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698