Home
last modified time | relevance | path

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

/external/skia/src/gpu/
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,
DGrDataUtils.cpp157 size_t GrNumBlocks(SkImage::CompressionType type, SkISize baseDimensions) { in GrNumBlocks() argument
160 return baseDimensions.width() * baseDimensions.height(); in GrNumBlocks()
164 int numBlocksWidth = num_4x4_blocks(baseDimensions.width()); in GrNumBlocks()
165 int numBlocksHeight = num_4x4_blocks(baseDimensions.height()); in GrNumBlocks()
189 SkISize GrCompressedDimensions(SkImage::CompressionType type, SkISize baseDimensions) { in GrCompressedDimensions() argument
192 return baseDimensions; in GrCompressedDimensions()
196 int numBlocksWidth = num_4x4_blocks(baseDimensions.width()); in GrCompressedDimensions()
197 int numBlocksHeight = num_4x4_blocks(baseDimensions.height()); in GrCompressedDimensions()
281 size_t GrComputeTightCombinedBufferSize(size_t bytesPerPixel, SkISize baseDimensions, in GrComputeTightCombinedBufferSize() argument
288 size_t combinedBufferSize = baseDimensions.width() * bytesPerPixel * baseDimensions.height(); in GrComputeTightCombinedBufferSize()
[all …]
/external/skia/src/core/
DSkCompressedDataUtils.h30 size_t SkCompressedDataSize(SkImage::CompressionType, SkISize baseDimensions,