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/GrRenderTask.cpp b/src/gpu/GrRenderTask.cpp
index de52086..966307e 100644
--- a/src/gpu/GrRenderTask.cpp
+++ b/src/gpu/GrRenderTask.cpp
@@ -72,8 +72,8 @@
this->target(0).origin());
}
GrTextureProxy* textureProxy = this->target(0).asTextureProxy();
- if (textureProxy && GrMipmapped::kYes == textureProxy->mipMapped()) {
- textureProxy->markMipMapsDirty();
+ if (textureProxy && GrMipmapped::kYes == textureProxy->mipmapped()) {
+ textureProxy->markMipmapsDirty();
}
}
@@ -161,11 +161,11 @@
GrTextureProxy* textureProxy = dependedOn->asTextureProxy();
if (GrMipmapped::kYes == mipMapped) {
SkASSERT(textureProxy);
- if (GrMipmapped::kYes != textureProxy->mipMapped()) {
+ if (GrMipmapped::kYes != textureProxy->mipmapped()) {
// There are some cases where we might be given a non-mipmapped texture with a mipmap
// filter. See skbug.com/7094.
mipMapped = GrMipmapped::kNo;
- } else if (textureProxy->mipMapsAreDirty()) {
+ } else if (textureProxy->mipmapsAreDirty()) {
resolveFlags |= GrSurfaceProxy::ResolveFlags::kMipMaps;
}
}
@@ -197,7 +197,7 @@
SkASSERT(!renderTargetProxy->isMSAADirty());
}
if (textureProxy) {
- SkASSERT(!textureProxy->mipMapsAreDirty());
+ SkASSERT(!textureProxy->mipmapsAreDirty());
}
SkASSERT(drawingMgr->getLastRenderTask(dependedOn) == fTextureResolveTask);
#endif