Rename GrTexture/Proxy/Priv mip map members/functions
Change-Id: Ib55cab0ef76ced165d1936e7d084edc7fa579c55
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/304737
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/GrTextureResolveRenderTask.cpp b/src/gpu/GrTextureResolveRenderTask.cpp
index 021c188..c374e93 100644
--- a/src/gpu/GrTextureResolveRenderTask.cpp
+++ b/src/gpu/GrTextureResolveRenderTask.cpp
@@ -37,9 +37,9 @@
if (GrSurfaceProxy::ResolveFlags::kMipMaps & flags) {
GrTextureProxy* textureProxy = proxy->asTextureProxy();
- SkASSERT(GrMipmapped::kYes == textureProxy->mipMapped());
- SkASSERT(textureProxy->mipMapsAreDirty());
- textureProxy->markMipMapsClean();
+ SkASSERT(GrMipmapped::kYes == textureProxy->mipmapped());
+ SkASSERT(textureProxy->mipmapsAreDirty());
+ textureProxy->markMipmapsClean();
}
// Add the proxy as a dependency: We will read the existing contents of this texture while
@@ -81,9 +81,9 @@
if (GrSurfaceProxy::ResolveFlags::kMipMaps & resolve.fFlags) {
// peekTexture might be null if there was an instantiation error.
GrTexture* texture = this->target(i).proxy()->peekTexture();
- if (texture && texture->texturePriv().mipMapsAreDirty()) {
+ if (texture && texture->texturePriv().mipmapsAreDirty()) {
flushState->gpu()->regenerateMipMapLevels(texture);
- SkASSERT(!texture->texturePriv().mipMapsAreDirty());
+ SkASSERT(!texture->texturePriv().mipmapsAreDirty());
}
}
}