Home
last modified time | relevance | path

Searched refs:baseDimensions (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/src/gpu/
DGrDataUtils.cpp171 size_t GrNumBlocks(SkImage::CompressionType type, SkISize baseDimensions) { in GrNumBlocks() argument
174 return baseDimensions.width() * baseDimensions.height(); in GrNumBlocks()
179 int numBlocksWidth = num_4x4_blocks(baseDimensions.width()); in GrNumBlocks()
180 int numBlocksHeight = num_4x4_blocks(baseDimensions.height()); in GrNumBlocks()
185 int numBlocksWidth = num_6x6_blocks(baseDimensions.width()); in GrNumBlocks()
186 int numBlocksHeight = num_6x6_blocks(baseDimensions.height()); in GrNumBlocks()
191 int numBlocksWidth = num_8x8_blocks(baseDimensions.width()); in GrNumBlocks()
192 int numBlocksHeight = num_8x8_blocks(baseDimensions.height()); in GrNumBlocks()
234 SkISize GrCompressedDimensions(SkImage::CompressionType type, SkISize baseDimensions) { in GrCompressedDimensions() argument
237 return baseDimensions; in GrCompressedDimensions()
[all …]
DGrDataUtils.h20 size_t GrNumBlocks(SkImage::CompressionType, SkISize baseDimensions);
28 SkISize GrCompressedDimensions(SkImage::CompressionType, SkISize baseDimensions);
33 size_t GrComputeTightCombinedBufferSize(size_t bytesPerPixel, SkISize baseDimensions,
/third_party/skia/src/core/
DSkCompressedDataUtils.h33 size_t SK_API SkCompressedDataSize(SkImage::CompressionType, SkISize baseDimensions,