D | TextureUtils.cpp | 107 #define ASTC_FORMAT(typeName, blockWidth, blockHeight, srgbValue) \ in getCompressedFormats() argument 156 #define ASTC_FORMAT(typeName, blockWidth, blockHeight, srgbValue) \ in getAstcFormatInfo() argument 158 *width = blockWidth; *height = blockHeight; *srgb = srgbValue; break; \ in getAstcFormatInfo() 170 uint32_t blockWidth, uint32_t blockHeight, uint8_t* outBuffer, in astcDecompress() argument 176 int32_t status = AstcCpuDecompressor::get().decompress(width, height, blockWidth, blockHeight, in astcDecompress() 187 #define ASTC_FORMAT(typeName, blockWidth, blockHeight, srgbValue) \ in isAstcFormat() argument 507 uint32_t blockWidth = 0; in doCompressedTexImage2D() local 510 getAstcFormatInfo(internalformat, &blockWidth, &blockHeight, &srgb); in doCompressedTexImage2D() 520 height, blockWidth, blockHeight, alignedUncompressedData.data(), size); in doCompressedTexImage2D() 841 #define CALL_ON_ASTC_FORMAT(typeName, blockWidth, blockHeight, srgbValue) \ in forEachAstcFormat() argument
|