Rename GrMipMapsStatus GrMipmapStatus
For consistency with other enums and public APIs.
Change-Id: I026da5529f11051693cae5691c7ad92fad5ed446
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/304597
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
diff --git a/src/gpu/GrTextureProxy.cpp b/src/gpu/GrTextureProxy.cpp
index 80a3b5f..cb3adf8 100644
--- a/src/gpu/GrTextureProxy.cpp
+++ b/src/gpu/GrTextureProxy.cpp
@@ -19,7 +19,7 @@
GrTextureProxy::GrTextureProxy(const GrBackendFormat& format,
SkISize dimensions,
GrMipmapped mipMapped,
- GrMipMapsStatus mipMapsStatus,
+ GrMipmapStatus mipmapStatus,
SkBackingFit fit,
SkBudgeted budgeted,
GrProtected isProtected,
@@ -28,7 +28,7 @@
GrDDLProvider creatingProvider)
: INHERITED(format, dimensions, fit, budgeted, isProtected, surfaceFlags, useAllocator)
, fMipMapped(mipMapped)
- , fMipMapsStatus(mipMapsStatus)
+ , fMipMapsStatus(mipmapStatus)
SkDEBUGCODE(, fInitialMipMapsStatus(fMipMapsStatus))
, fCreatingProvider(creatingProvider)
, fProxyProvider(nullptr)
@@ -41,7 +41,7 @@
const GrBackendFormat& format,
SkISize dimensions,
GrMipmapped mipMapped,
- GrMipMapsStatus mipMapsStatus,
+ GrMipmapStatus mipmapStatus,
SkBackingFit fit,
SkBudgeted budgeted,
GrProtected isProtected,
@@ -51,7 +51,7 @@
: INHERITED(std::move(callback), format, dimensions, fit, budgeted, isProtected,
surfaceFlags, useAllocator)
, fMipMapped(mipMapped)
- , fMipMapsStatus(mipMapsStatus)
+ , fMipMapsStatus(mipmapStatus)
SkDEBUGCODE(, fInitialMipMapsStatus(fMipMapsStatus))
, fCreatingProvider(creatingProvider)
, fProxyProvider(nullptr)
@@ -65,7 +65,7 @@
GrDDLProvider creatingProvider)
: INHERITED(std::move(surf), SkBackingFit::kExact, useAllocator)
, fMipMapped(fTarget->asTexture()->texturePriv().mipMapped())
- , fMipMapsStatus(fTarget->asTexture()->texturePriv().mipMapsStatus())
+ , fMipMapsStatus(fTarget->asTexture()->texturePriv().mipmapStatus())
SkDEBUGCODE(, fInitialMipMapsStatus(fMipMapsStatus))
, fCreatingProvider(creatingProvider)
, fProxyProvider(nullptr)