From c828109ebd1519134b1c3fa168519ac07a31fe05 Mon Sep 17 00:00:00 2001 From: Greg Daniel Date: Thu, 12 Apr 2018 13:24:58 -0400 Subject: 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 Commit-Queue: Greg Daniel --- include/core/SkSurface.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'include/core') 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 -- cgit v1.2.3