Lines Matching refs:mipLevels
937 int mipLevels = !mipLevelCount ? 1 : mipLevelCount; in onCreateTexture() local
943 imageDesc.fLevels = mipLevels; in onCreateTexture()
950 if (mipLevels > 1) { in onCreateTexture()
952 for (int i = 0; i < mipLevels; ++i) { in onCreateTexture()
1215 SkASSERT(levelCount == vkTex->mipLevels()); in onRegenerateMipMapLevels()
1374 uint32_t mipLevels = 1; in createTestingOnlyVkImage() local
1376 mipLevels = SkMipMap::ComputeLevelCount(w, h) + 1; in createTestingOnlyVkImage()
1386 mipLevels, // mipLevels in createTestingOnlyVkImage()
1444 SkTArray<size_t> individualMipOffsets(mipLevels); in createTestingOnlyVkImage()
1458 for (uint32_t currentMipLevel = 1; currentMipLevel < mipLevels; currentMipLevel++) { in createTestingOnlyVkImage()
1507 for (uint32_t currentMipLevel = 0; currentMipLevel < mipLevels; currentMipLevel++) { in createTestingOnlyVkImage()
1546 barrier.subresourceRange = {VK_IMAGE_ASPECT_COLOR_BIT, 0, mipLevels, 0, 1}; in createTestingOnlyVkImage()
1553 SkTArray<VkBufferImageCopy> regions(mipLevels); in createTestingOnlyVkImage()
1557 for (uint32_t currentMipLevel = 0; currentMipLevel < mipLevels; currentMipLevel++) { in createTestingOnlyVkImage()
1587 barrier.subresourceRange = {VK_IMAGE_ASPECT_COLOR_BIT, 0, mipLevels, 0, 1}; in createTestingOnlyVkImage()
1651 info->fLevelCount = mipLevels; in createTestingOnlyVkImage()