Home
last modified time | relevance | path

Searched refs:BC1Block (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/gm/
Dbc1_transparency.cpp24 struct BC1Block { struct
57 static void create_BC1_block(BC1Block* block, bool transparent) { in create_BC1_block()
86 BC1Block* dstBlocks = reinterpret_cast<BC1Block*>(tmp->writable_data()); in make_compressed_data()
88 BC1Block transBlock, opaqueBlock; in make_compressed_data()
/third_party/skia/src/core/
DSkCompressedDataUtils.cpp155 struct BC1Block { struct
182 const BC1Block* srcBlocks = reinterpret_cast<const BC1Block*>(srcData); in decompress_bc1()
191 const BC1Block* curBlock = &srcBlocks[y * numXBlocks + x]; in decompress_bc1()
273 static_assert(sizeof(ETC1Block) == sizeof(BC1Block)); in SkCompressedDataSize()
320 return sizeof(BC1Block); in SkCompressedBlockSize()
/third_party/skia/src/gpu/
DGrDataUtils.cpp140 struct BC1Block { struct
155 static void create_BC1_block(SkColor col0, SkColor col1, BC1Block* block) { in create_BC1_block() argument
209 static_assert(sizeof(ETC1Block) == sizeof(BC1Block)); in GrCompressedRowBytes()
285 BC1Block block; in fillin_BC1_with_color()
291 memcpy(dest, &block, sizeof(BC1Block)); in fillin_BC1_with_color()
292 dest += sizeof(BC1Block); in fillin_BC1_with_color()
300 BC1Block* dstBlocks = reinterpret_cast<BC1Block*>(dstPixels); in GrTwoColorBC1Compress()
303 BC1Block block; in GrTwoColorBC1Compress()
/third_party/skia/third_party/externals/angle2/src/image_util/
Dloadimage_etc.cpp893 struct BC1Block in packBC1() struct
901 BC1Block *dest = reinterpret_cast<BC1Block *>(bc1); in packBC1()