Searched refs:levelDimensions (Results 1 – 3 of 3) sorted by relevance
/external/skia/gm/ |
D | compressed_textures.cpp | 270 SkISize levelDimensions = fImgDimensions; in drawCell() local 271 int numMipLevels = SkMipmap::ComputeLevelCount(levelDimensions.width(), in drawCell() 272 levelDimensions.height()) + 1; in drawCell() 290 levelDimensions.width(), levelDimensions.height()); in drawCell() 299 offset.fX += levelDimensions.width()+1; in drawCell() 301 offset.fY += levelDimensions.height()+1; in drawCell() 304 levelDimensions = {std::max(1, levelDimensions.width()/2), in drawCell() 305 std::max(1, levelDimensions.height()/2)}; in drawCell()
|
/external/skia/src/gpu/mtl/ |
D | GrMtlGpu.mm | 690 SkISize levelDimensions = dimensions; 692 const size_t levelRowBytes = GrCompressedRowBytes(compressionType, levelDimensions.width()); 693 size_t levelSize = SkCompressedDataSize(compressionType, levelDimensions, nullptr, false); 700 sourceSize: MTLSizeMake(levelDimensions.width(), 701 levelDimensions.height(), 1) 707 levelDimensions = {std::max(1, levelDimensions.width() /2), 708 std::max(1, levelDimensions.height()/2)}; 991 SkISize levelDimensions(backendTexture.dimensions()); 997 levelRowBytes = levelDimensions.width() * bytesPerPixel; 998 levelSize = levelRowBytes * levelDimensions.height(); [all …]
|
/external/skia/src/gpu/ |
D | GrDataUtils.cpp | 289 SkISize levelDimensions = baseDimensions; in GrComputeTightCombinedBufferSize() local 298 levelDimensions = {std::max(1, levelDimensions.width() /2), in GrComputeTightCombinedBufferSize() 299 std::max(1, levelDimensions.height()/2)}; in GrComputeTightCombinedBufferSize() 301 size_t trimmedSize = levelDimensions.area() * bytesPerPixel; in GrComputeTightCombinedBufferSize()
|