aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkImage.h
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2018-04-10 16:22:41 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-11 13:38:26 +0000
commit044b67d6c7acbbcc6686583eb4594b9484448011 (patch)
tree86fdb9cc1731226554ae69e6379279e4aab41f6e /include/core/SkImage.h
parentc64ee20e135a336ed775ccb6dec8a87efd19ec02 (diff)
Remove guard around getBackendTexture/RenderTarget calls
Bug: skia: Change-Id: Ia9ad987d4af183985724f32b022553af0fcb2b78 Reviewed-on: https://skia-review.googlesource.com/120124 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'include/core/SkImage.h')
-rw-r--r--include/core/SkImage.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/core/SkImage.h b/include/core/SkImage.h
index aefa395ada..32869b7a5d 100644
--- a/include/core/SkImage.h
+++ b/include/core/SkImage.h
@@ -543,7 +543,6 @@ public:
GrBackendObject getTextureHandle(bool flushPendingGrContextIO,
GrSurfaceOrigin* origin = nullptr) const;
-#if GR_TEST_UTILS
/** Retrieves the backend texture. If SkImage has no backend texture, an invalid
object is returned. Call GrBackendTexture::isValid to determine if the result
is valid.
@@ -559,7 +558,6 @@ public:
*/
GrBackendTexture getBackendTexture(bool flushPendingGrContextIO,
GrSurfaceOrigin* origin = nullptr) const;
-#endif
/** \enum SkImage::CachingHint
CachingHint selects whether Skia may internally cache SkBitmap generated by