diff options
author | 2018-05-03 16:54:03 -0400 | |
---|---|---|
committer | 2018-05-10 14:44:55 +0000 | |
commit | ccd4cfc23ebbbecbc6b292359352aad335ad7b73 (patch) | |
tree | 88940d88f16be8fe4bd943e0264b4c9f4b531ad7 /include/core/SkImage.h | |
parent | f77db110e1c4d2b813ed40de0cf63f65f84b4b64 (diff) |
Remove GrBackendObject and all related functions from Skia.
Bug: skia:
Change-Id: I59434b7477c0bc26fd982bd81eb97ab94bbba073
Reviewed-on: https://skia-review.googlesource.com/125822
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 | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/core/SkImage.h b/include/core/SkImage.h index 6d3ae42fa4..7e1ffaac66 100644 --- a/include/core/SkImage.h +++ b/include/core/SkImage.h @@ -534,21 +534,6 @@ public: */ bool isValid(GrContext* context) const; -#ifdef SK_SUPPORT_LEGACY_BACKEND_OBJECTS - /** Retrieves the back-end API handle of texture. If flushPendingGrContextIO is true, - complete deferred I/O operations. - - If origin is not nullptr, copies location of content drawn into SkImage. - - @param flushPendingGrContextIO flag to flush outstanding requests - @param origin storage for one of: kTopLeft_GrSurfaceOrigin, - kBottomLeft_GrSurfaceOrigin; or nullptr - @return back-end API texture handle, or nullptr - */ - GrBackendObject getTextureHandle(bool flushPendingGrContextIO, - GrSurfaceOrigin* origin = nullptr) const; -#endif - /** 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. |