Index: include/gpu/GrTypes.h |
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h |
index 7532984ebe73acda52df9518dc32901a47649108..f4fb3ab43f3acb30f1ecbb8b2b2174bc6ed224fb 100644 |
--- a/include/gpu/GrTypes.h |
+++ b/include/gpu/GrTypes.h |
@@ -299,22 +299,6 @@ |
return true; |
default: |
return false; |
- } |
-} |
- |
-/** If the pixel config is compressed, return an equivalent uncompressed format. */ |
-static inline GrPixelConfig GrMakePixelConfigUncompressed(GrPixelConfig config) { |
- switch (config) { |
- case kIndex_8_GrPixelConfig: |
- case kETC1_GrPixelConfig: |
- case kASTC_12x12_GrPixelConfig: |
- return kRGBA_8888_GrPixelConfig; |
- case kLATC_GrPixelConfig: |
- case kR11_EAC_GrPixelConfig: |
- return kAlpha_8_GrPixelConfig; |
- default: |
- SkASSERT(!GrPixelConfigIsCompressed(config)); |
- return config; |
} |
} |