diff options
author | 2018-04-10 16:22:41 -0400 | |
---|---|---|
committer | 2018-04-11 13:38:26 +0000 | |
commit | 044b67d6c7acbbcc6686583eb4594b9484448011 (patch) | |
tree | 86fdb9cc1731226554ae69e6379279e4aab41f6e /include/core/SkImage.h | |
parent | c64ee20e135a336ed775ccb6dec8a87efd19ec02 (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.h | 2 |
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 |