Lines Matching refs:baseDimensions
157 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()
289 SkISize levelDimensions = baseDimensions; in GrComputeTightCombinedBufferSize()