Rename GrMipMapped GrMipmapped
Change-Id: Ia2cfbca8982b57399b6681cbb4501c2933ab4df7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/304576
Auto-Submit: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/GrSurface.cpp b/src/gpu/GrSurface.cpp
index 48a9c4d..8aab652 100644
--- a/src/gpu/GrSurface.cpp
+++ b/src/gpu/GrSurface.cpp
@@ -20,7 +20,7 @@
const GrBackendFormat& format,
SkISize dimensions,
int colorSamplesPerPixel,
- GrMipMapped mipMapped,
+ GrMipmapped mipMapped,
bool binSize) {
// For external formats we do not actually know the real size of the resource so we just return
// 0 here to indicate this.
@@ -37,7 +37,7 @@
SkImage::CompressionType compressionType = GrBackendFormatToCompressionType(format);
if (compressionType != SkImage::CompressionType::kNone) {
colorSize = SkCompressedFormatDataSize(compressionType, dimensions,
- mipMapped == GrMipMapped::kYes);
+ mipMapped == GrMipmapped::kYes);
} else {
colorSize = (size_t)dimensions.width() * dimensions.height() * caps.bytesPerPixel(format);
}
@@ -45,7 +45,7 @@
size_t finalSize = colorSamplesPerPixel * colorSize;
- if (GrMipMapped::kYes == mipMapped) {
+ if (GrMipmapped::kYes == mipMapped) {
// We don't have to worry about the mipmaps being a different dimensions than
// we'd expect because we never change fDesc.fWidth/fHeight.
finalSize += colorSize/3;