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 /src/image | |
parent | 125ee60ed3e510b1b9cbbaae8efdef2df5542ac1 (diff) |
remove NewTexture?
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/831323005
Diffstat (limited to 'src/image')
-rw-r--r-- | src/image/SkImage_Gpu.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp index 61fa142efd..6a42ece802 100644 --- a/src/image/SkImage_Gpu.cpp +++ b/src/image/SkImage_Gpu.cpp @@ -93,10 +93,6 @@ SkImage* SkNewImageFromBitmapTexture(const SkBitmap& bitmap, int sampleCountForN return SkNEW_ARGS(SkImage_Gpu, (bitmap, sampleCountForNewSurfaces)); } -SkImage* SkImage::NewTexture(const SkBitmap& bitmap) { - return SkNewImageFromBitmapTexture(bitmap, 0); -} - GrTexture* SkTextureImageGetTexture(SkImage* image) { return ((SkImage_Gpu*)image)->getTexture(); } |