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 --- include/gpu/GrSurface.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include/gpu/GrSurface.h') diff --git a/include/gpu/GrSurface.h b/include/gpu/GrSurface.h index 3a7294b26e..a93cacf501 100644 --- a/include/gpu/GrSurface.h +++ b/include/gpu/GrSurface.h @@ -63,14 +63,6 @@ public: GrMipMapped, bool useNextPow2 = false); protected: - void setIsGLTextureRectangleOrExternal() { - SkASSERT(this->asTexture()); - fSurfaceFlags |= GrInternalSurfaceFlags::kIsGLTextureRectangleOrExternal; - } - bool isGLTextureRectangleOrExternal() const { - return fSurfaceFlags & GrInternalSurfaceFlags::kIsGLTextureRectangleOrExternal; - } - void setHasMixedSamples() { SkASSERT(this->asRenderTarget()); fSurfaceFlags |= GrInternalSurfaceFlags::kMixedSampled; -- cgit v1.2.3