diff options
author | reed <reed@chromium.org> | 2015-01-13 04:00:55 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-13 04:00:55 -0800 |
commit | 4ef0c8aea2f966f42592202659afb21f6b0fb511 (patch) | |
tree | a28dc5675404a300d62a6172487458203ede6fbc /include/core | |
parent | 125ee60ed3e510b1b9cbbaae8efdef2df5542ac1 (diff) |
remove NewTexture?
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/831323005
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkImage.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/core/SkImage.h b/include/core/SkImage.h index 9cc26ed4be..8d65870dc0 100644 --- a/include/core/SkImage.h +++ b/include/core/SkImage.h @@ -48,15 +48,6 @@ public: static SkImage* NewRasterData(const Info&, SkData* pixels, size_t rowBytes); /** - * GrTexture is a more logical parameter for this factory, but its - * interactions with scratch cache still has issues, so for now we take - * SkBitmap instead. This will be changed in the future. skbug.com/1449 - */ - static SkImage* NewTexture(const SkBitmap&); - - virtual bool isOpaque() const { return false; } - - /** * Construct a new SkImage based on the given ImageGenerator. * This function will always take ownership of the passed * ImageGenerator. Returns NULL on error. @@ -75,6 +66,7 @@ public: int width() const { return fWidth; } int height() const { return fHeight; } uint32_t uniqueID() const { return fUniqueID; } + virtual bool isOpaque() const { return false; } /** * Return the GrTexture that stores the image pixels. Calling getTexture |