From 7226c232d73356a37ec8cfef0ed55147e68dd2fd Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Mon, 30 Jul 2018 13:13:17 -0400 Subject: Make GrTextureProxy store a GrTextureType. Removes flag indicating rectangle or external as its now redundant. Bug: skia: Change-Id: Ia475b557390e7a6b0f19f6e189cf8c27090e397c Reviewed-on: https://skia-review.googlesource.com/144346 Reviewed-by: Greg Daniel Commit-Queue: Brian Salomon --- src/gpu/GrSurfacePriv.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/gpu/GrSurfacePriv.h') diff --git a/src/gpu/GrSurfacePriv.h b/src/gpu/GrSurfacePriv.h index 45a097b780..4d61dca5ee 100644 --- a/src/gpu/GrSurfacePriv.h +++ b/src/gpu/GrSurfacePriv.h @@ -40,12 +40,6 @@ public: GrInternalSurfaceFlags flags() const { return fSurface->fSurfaceFlags; } - bool isGLTextureRectangleOrExternal() const { - return fSurface->isGLTextureRectangleOrExternal(); - } - // We only support the clamp wrap mode with gl rectangle or external textures. - bool isClampOnly() const { return fSurface->isGLTextureRectangleOrExternal(); } - private: explicit GrSurfacePriv(GrSurface* surface) : fSurface(surface) {} GrSurfacePriv(const GrSurfacePriv&); // unimpl -- cgit v1.2.3