Remove GrPixelConfig version of CompressedDataSize.
Bug: skia:6718
Change-Id: I0f9c7d89e732c59bdbe76ab45d42934029106efb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/247684
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
diff --git a/src/gpu/GrTextureProxy.cpp b/src/gpu/GrTextureProxy.cpp
index 3cfbccf..ba8530e 100644
--- a/src/gpu/GrTextureProxy.cpp
+++ b/src/gpu/GrTextureProxy.cpp
@@ -144,9 +144,8 @@
}
size_t GrTextureProxy::onUninstantiatedGpuMemorySize(const GrCaps& caps) const {
- return GrSurface::ComputeSize(this->config(), caps, this->backendFormat(), this->width(),
- this->height(), 1, this->proxyMipMapped(),
- !this->priv().isExact());
+ return GrSurface::ComputeSize(caps, this->backendFormat(), this->width(), this->height(),
+ 1, this->proxyMipMapped(), !this->priv().isExact());
}
bool GrTextureProxy::ProxiesAreCompatibleAsDynamicState(const GrTextureProxy* first,