Lines Matching refs:SkTextureCompressor
40 static inline GrPixelConfig fmt_to_config(SkTextureCompressor::Format fmt) { in fmt_to_config()
44 case SkTextureCompressor::kLATC_Format: in fmt_to_config()
48 case SkTextureCompressor::kR11_EAC_Format: in fmt_to_config()
52 case SkTextureCompressor::kASTC_12x12_Format: in fmt_to_config()
56 case SkTextureCompressor::kETC1_Format: in fmt_to_config()
71 SkTextureCompressor::Format *fmt) { in choose_compressed_fmt()
86 *fmt = SkTextureCompressor::kASTC_12x12_Format; in choose_compressed_fmt()
89 *fmt = SkTextureCompressor::kLATC_Format; in choose_compressed_fmt()
92 *fmt = SkTextureCompressor::kR11_EAC_Format; in choose_compressed_fmt()
147 blitter = SkTextureCompressor::CreateBlitterForFormat( in draw()
189 SkTextureCompressor::GetBlockDimensions(fCompressedFormat, &dimX, &dimY); in init()
194 if (SkTextureCompressor::ExistsBlitterForFormat(fCompressedFormat)) { in init()
195 int cmpSz = SkTextureCompressor::GetCompressedDataSize( in init()
241 SkTextureCompressor::GetBlockDimensions(fCompressedFormat, &dimX, &dimY); in createTexture()
267 SkAutoDataUnref cmpData(SkTextureCompressor::CompressBitmapToFormat(fPixels, in compressTextureData()