Lines Matching refs:currentHeight
646 int currentHeight = height;
657 currentHeight = SkTMax(1, currentHeight/2);
660 const size_t trimmedSize = currentWidth * bpp * currentHeight;
726 currentHeight = height;
730 SkASSERT(1 == mipLevelCount || currentHeight == layerHeight);
739 SkRectMemcpy(dst, trimRowBytes, src, rowBytes, trimRowBytes, currentHeight);
745 region.bufferImageHeight = currentHeight;
748 region.imageExtent = { (uint32_t)currentWidth, (uint32_t)currentHeight, 1 };
751 currentHeight = SkTMax(1, currentHeight/2);
752 layerHeight = currentHeight;
820 int currentHeight = height;
829 currentHeight = SkTMax(1, currentHeight / 2);
833 currentHeight);
860 currentHeight = height;
865 SkASSERT(currentHeight == layerHeight);
869 currentHeight);
880 region.bufferImageHeight = currentHeight;
883 region.imageExtent = { (uint32_t)currentWidth, (uint32_t)currentHeight, 1 };
886 currentHeight = SkTMax(1, currentHeight / 2);
887 layerHeight = currentHeight;
1464 int currentHeight = h;
1472 currentHeight = SkTMax(1, currentHeight / 2);
1476 trimmedSize = GrCompressedFormatDataSize(config, currentWidth, currentHeight);
1478 trimmedSize = currentWidth * bpp * currentHeight;
1518 currentHeight = h;
1524 size_t levelSize = GrCompressedFormatDataSize(config, currentWidth, currentHeight);
1525 size_t currentRowBytes = levelSize / currentHeight;
1527 currentRowBytes, currentRowBytes, currentHeight);
1531 currentRowBytes, trimRowBytes, currentHeight);
1543 currentHeight = SkTMax(1, currentHeight / 2);
1568 currentHeight = h;
1575 region.bufferImageHeight = currentHeight;
1578 region.imageExtent = {(uint32_t)currentWidth, (uint32_t)currentHeight, 1};
1580 currentHeight = SkTMax(1, currentHeight / 2);