Lines Matching refs:currentHeight
644 int currentHeight = height; in uploadTexDataOptimal() local
655 currentHeight = SkTMax(1, currentHeight/2); in uploadTexDataOptimal()
658 const size_t trimmedSize = currentWidth * bpp * currentHeight; in uploadTexDataOptimal()
724 currentHeight = height; in uploadTexDataOptimal()
728 SkASSERT(1 == mipLevelCount || currentHeight == layerHeight); in uploadTexDataOptimal()
737 SkRectMemcpy(dst, trimRowBytes, src, rowBytes, trimRowBytes, currentHeight); in uploadTexDataOptimal()
743 region.bufferImageHeight = currentHeight; in uploadTexDataOptimal()
746 region.imageExtent = { (uint32_t)currentWidth, (uint32_t)currentHeight, 1 }; in uploadTexDataOptimal()
749 currentHeight = SkTMax(1, currentHeight/2); in uploadTexDataOptimal()
750 layerHeight = currentHeight; in uploadTexDataOptimal()
818 int currentHeight = height; in uploadTexDataCompressed() local
827 currentHeight = SkTMax(1, currentHeight / 2); in uploadTexDataCompressed()
831 currentHeight); in uploadTexDataCompressed()
858 currentHeight = height; in uploadTexDataCompressed()
863 SkASSERT(currentHeight == layerHeight); in uploadTexDataCompressed()
867 currentHeight); in uploadTexDataCompressed()
878 region.bufferImageHeight = currentHeight; in uploadTexDataCompressed()
881 region.imageExtent = { (uint32_t)currentWidth, (uint32_t)currentHeight, 1 }; in uploadTexDataCompressed()
884 currentHeight = SkTMax(1, currentHeight / 2); in uploadTexDataCompressed()
885 layerHeight = currentHeight; in uploadTexDataCompressed()
1452 int currentHeight = h; in createTestingOnlyVkImage() local
1460 currentHeight = SkTMax(1, currentHeight / 2); in createTestingOnlyVkImage()
1464 trimmedSize = GrCompressedFormatDataSize(config, currentWidth, currentHeight); in createTestingOnlyVkImage()
1466 trimmedSize = currentWidth * bpp * currentHeight; in createTestingOnlyVkImage()
1506 currentHeight = h; in createTestingOnlyVkImage()
1512 size_t levelSize = GrCompressedFormatDataSize(config, currentWidth, currentHeight); in createTestingOnlyVkImage()
1513 size_t currentRowBytes = levelSize / currentHeight; in createTestingOnlyVkImage()
1515 currentRowBytes, currentRowBytes, currentHeight); in createTestingOnlyVkImage()
1519 currentRowBytes, trimRowBytes, currentHeight); in createTestingOnlyVkImage()
1531 currentHeight = SkTMax(1, currentHeight / 2); in createTestingOnlyVkImage()
1556 currentHeight = h; in createTestingOnlyVkImage()
1563 region.bufferImageHeight = currentHeight; in createTestingOnlyVkImage()
1566 region.imageExtent = {(uint32_t)currentWidth, (uint32_t)currentHeight, 1}; in createTestingOnlyVkImage()
1568 currentHeight = SkTMax(1, currentHeight / 2); in createTestingOnlyVkImage()