Lines Matching refs:SkTextureCompressor
19 static inline uint32_t compressed_fmt_to_gl_define(SkTextureCompressor::Format fmt) { in compressed_fmt_to_gl_define()
20 static const uint32_t kGLDefineMap[SkTextureCompressor::kFormatCnt] = { in compressed_fmt_to_gl_define()
40 GR_STATIC_ASSERT(0 == SkTextureCompressor::kLATC_Format); in compressed_fmt_to_gl_define()
41 GR_STATIC_ASSERT(1 == SkTextureCompressor::kR11_EAC_Format); in compressed_fmt_to_gl_define()
42 GR_STATIC_ASSERT(2 == SkTextureCompressor::kETC1_Format); in compressed_fmt_to_gl_define()
43 GR_STATIC_ASSERT(3 == SkTextureCompressor::kASTC_4x4_Format); in compressed_fmt_to_gl_define()
44 GR_STATIC_ASSERT(4 == SkTextureCompressor::kASTC_5x4_Format); in compressed_fmt_to_gl_define()
45 GR_STATIC_ASSERT(5 == SkTextureCompressor::kASTC_5x5_Format); in compressed_fmt_to_gl_define()
46 GR_STATIC_ASSERT(6 == SkTextureCompressor::kASTC_6x5_Format); in compressed_fmt_to_gl_define()
47 GR_STATIC_ASSERT(7 == SkTextureCompressor::kASTC_6x6_Format); in compressed_fmt_to_gl_define()
48 GR_STATIC_ASSERT(8 == SkTextureCompressor::kASTC_8x5_Format); in compressed_fmt_to_gl_define()
49 GR_STATIC_ASSERT(9 == SkTextureCompressor::kASTC_8x6_Format); in compressed_fmt_to_gl_define()
50 GR_STATIC_ASSERT(10 == SkTextureCompressor::kASTC_8x8_Format); in compressed_fmt_to_gl_define()
51 GR_STATIC_ASSERT(11 == SkTextureCompressor::kASTC_10x5_Format); in compressed_fmt_to_gl_define()
52 GR_STATIC_ASSERT(12 == SkTextureCompressor::kASTC_10x6_Format); in compressed_fmt_to_gl_define()
53 GR_STATIC_ASSERT(13 == SkTextureCompressor::kASTC_10x8_Format); in compressed_fmt_to_gl_define()
54 GR_STATIC_ASSERT(14 == SkTextureCompressor::kASTC_10x10_Format); in compressed_fmt_to_gl_define()
55 GR_STATIC_ASSERT(15 == SkTextureCompressor::kASTC_12x10_Format); in compressed_fmt_to_gl_define()
56 GR_STATIC_ASSERT(16 == SkTextureCompressor::kASTC_12x12_Format); in compressed_fmt_to_gl_define()
57 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kGLDefineMap) == SkTextureCompressor::kFormatCnt); in compressed_fmt_to_gl_define()
170 bool SkKTXFile::isCompressedFormat(SkTextureCompressor::Format fmt) const { in isCompressedFormat()
177 if (fmt == SkTextureCompressor::kLATC_Format) { in isCompressedFormat()