aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTexturePriv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrTexturePriv.h')
-rw-r--r--src/gpu/GrTexturePriv.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gpu/GrTexturePriv.h b/src/gpu/GrTexturePriv.h
index cc0a05edfd..042061129d 100644
--- a/src/gpu/GrTexturePriv.h
+++ b/src/gpu/GrTexturePriv.h
@@ -8,7 +8,6 @@
#ifndef GrTexturePriv_DEFINED
#define GrTexturePriv_DEFINED
-#include "GrExternalTextureData.h"
#include "GrTexture.h"
/** Class that adds methods to GrTexture that are only intended for use internal to Skia.
@@ -68,15 +67,6 @@ public:
}
SkDestinationSurfaceColorMode mipColorMode() const { return fTexture->fMipColorMode; }
- /**
- * Return the native bookkeeping data for this texture, and detach the backend object from
- * this GrTexture. It's lifetime will no longer be managed by Ganesh, and this GrTexture will
- * no longer refer to it. Leaves this GrTexture in an orphan state.
- */
- std::unique_ptr<GrExternalTextureData> detachBackendTexture() {
- return fTexture->detachBackendTexture();
- }
-
static void ComputeScratchKey(const GrSurfaceDesc&, GrScratchKey*);
private: