aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2018-04-12 13:24:58 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-12 19:41:10 +0000
commitc828109ebd1519134b1c3fa168519ac07a31fe05 (patch)
tree4723fabd487c88b28300c9f17bc45e2396ad3fd4 /include/core
parent632de605a37588db8a0b2eab901540c1b6300b0a (diff)
Delete getRenderTargetHandle call on SkSurface.
All clients and internal code should be switched (once changes land soon) to the new getBackendRenderTarget call instead. Bug: skia: Change-Id: I6f490b6d26a72f37f97216be04e541483206510d Reviewed-on: https://skia-review.googlesource.com/121103 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkSurface.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h
index fb0a3685d7..e071ec4494 100644
--- a/include/core/SkSurface.h
+++ b/include/core/SkSurface.h
@@ -440,25 +440,6 @@ public:
@return GPU texture reference
*/
GrBackendObject getTextureHandle(BackendHandleAccess backendHandleAccess);
-
- /** Returns true and stores the GPU back-end reference of the render target used
- by SkSurface in backendObject.
-
- Return false if SkSurface is not backed by a GPU render target, and leaves
- backendObject unchanged.
-
- The returned render target handle is only valid until the next draw into SkSurface,
- or when SkSurface is deleted.
-
- In OpenGL this returns the frame buffer object ID.
-
- @param backendObject GPU intermediate memory buffer
- @param backendHandleAccess one of: kFlushRead_BackendHandleAccess,
- kFlushWrite_BackendHandleAccess, kDiscardWrite_BackendHandleAccess
- @return true if SkSurface is backed by GPU texture
- */
- bool getRenderTargetHandle(GrBackendObject* backendObject,
- BackendHandleAccess backendHandleAccess);
#endif
/** Retrieves the backend texture. If Surface has no backend texture, an invalid