diff options
Diffstat (limited to 'include/private/GrTextureProxy.h')
-rw-r--r-- | include/private/GrTextureProxy.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/private/GrTextureProxy.h b/include/private/GrTextureProxy.h index 8bbdbf2959..fc7f1c54a7 100644 --- a/include/private/GrTextureProxy.h +++ b/include/private/GrTextureProxy.h @@ -100,18 +100,8 @@ protected: sk_sp<GrSurface> createSurface(GrResourceProvider*) const override; - void setDoesNotSupportMipMaps() { - fSurfaceFlags |= GrInternalSurfaceFlags::kDoesNotSupportMipMaps; - } - bool doesNotSupportMipMaps() const { - return fSurfaceFlags & GrInternalSurfaceFlags::kDoesNotSupportMipMaps; - } - void setIsGLTextureRectangleOrExternal() { fSurfaceFlags |= GrInternalSurfaceFlags::kIsGLTextureRectangleOrExternal; - // If we are a GL rectangle or external texture, it also means that we do not support - // generating mip maps. - this->setDoesNotSupportMipMaps(); } bool isGLTextureRectangleOrExternal() const { return fSurfaceFlags & GrInternalSurfaceFlags::kIsGLTextureRectangleOrExternal; |