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

Unified Diff: src/image/SkImageShader.h

Issue 2197323002: implement isABitmap for imageshader, return localmatrix for bitmap's impl (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add isAImage api Created 4 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 | « src/core/SkBitmapProcShader.cpp ('k') | src/image/SkImageShader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/image/SkImageShader.h
diff --git a/src/image/SkImageShader.h b/src/image/SkImageShader.h
index 10200e97d5b10ec12ffba4315b7ccd3a47a8ae87..160de7ac9c4b7d38df4c03f613884cb82c01d623 100644
--- a/src/image/SkImageShader.h
+++ b/src/image/SkImageShader.h
@@ -29,6 +29,8 @@ protected:
void flatten(SkWriteBuffer&) const override;
size_t onContextSize(const ContextRec&) const override;
Context* onCreateContext(const ContextRec&, void* storage) const override;
+ bool onIsABitmap(SkBitmap*, SkMatrix*, TileMode*) const override;
+ SkImage* onIsAImage(SkMatrix*, TileMode*) const override;
SkAutoTUnref<const SkImage> fImage;
const TileMode fTileModeX;
« no previous file with comments | « src/core/SkBitmapProcShader.cpp ('k') | src/image/SkImageShader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698