Home
last modified time | relevance | path

Searched refs:countLevels (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/src/core/
DSkMipmap.cpp556 int countLevels = ComputeLevelCount(src.width(), src.height()); in Build() local
557 for (int currentMipLevel = countLevels; currentMipLevel >= 0; currentMipLevel--) { in Build()
562 size_t storageSize = SkMipmap::AllocLevelsSize(countLevels, size); in Build()
580 mipmap->fCount = countLevels; in Build()
585 uint8_t* baseAddr = (uint8_t*)&levels[countLevels]; in Build()
596 for (int i = 0; i < countLevels; ++i) { in Build()
782 for (int i = 0; i < this->countLevels(); ++i) { in validForRootLevel()
801 int SkMipmap::countLevels() const { in countLevels() function in SkMipmap
846 const int count = this->countLevels(); in serialize()
865 if (builder->countLevels() != count) { in Deserialize()
DSkMipmapBuilder.h18 int countLevels() const;
DSkMipmap.h68 int countLevels() const;
/third_party/flutter/skia/src/core/
DSkMipMap.cpp392 int countLevels = ComputeLevelCount(src.width(), src.height()); in Build() local
393 for (int currentMipLevel = countLevels; currentMipLevel >= 0; currentMipLevel--) { in Build()
398 size_t storageSize = SkMipMap::AllocLevelsSize(countLevels, size); in Build()
416 mipmap->fCount = countLevels; in Build()
421 uint8_t* baseAddr = (uint8_t*)&levels[countLevels]; in Build()
432 for (int i = 0; i < countLevels; ++i) { in Build()
606 int SkMipMap::countLevels() const { in countLevels() function in SkMipMap
DSkMipMap.h58 int countLevels() const;
/third_party/skia/tests/
DMipMapTest.cpp29 REPORTER_ASSERT(reporter, mm->countLevels() == SkMipmap::ComputeLevelCount(width, height)); in DEF_TEST()
66 const int mipLevelCount = mm->countLevels(); in test_mipmap_generation()
219 int count = builder->countLevels(); in fill_in_mips()
/third_party/flutter/skia/tests/
DMipMapTest.cpp28 REPORTER_ASSERT(reporter, mm->countLevels() == SkMipMap::ComputeLevelCount(width, height)); in DEF_TEST()
65 const int mipLevelCount = mm->countLevels(); in test_mipmap_generation()
/third_party/skia/gm/
Dshowmiplevels.cpp43 for (int i = 0; i < builder.countLevels(); ++i) { in onOnceBeforeDraw()
/third_party/skia/tools/gpu/
DManagedBackendTexture.cpp97 for (int i = 0; i < mm->countLevels(); ++i) { in MakeFromPixmap()
/third_party/skia/tools/
DDDLPromiseImageHelper.cpp50 for (int i = 0; i < fMipLevels->countLevels(); ++i) { in normalMipLevels()
61 return fMipLevels ? fMipLevels->countLevels()+1 : 1; in numMipLevels()
/third_party/skia/src/image/
DSkImage.cpp682 int SkMipmapBuilder::countLevels() const { in countLevels() function in SkMipmapBuilder
683 return fMM ? fMM->countLevels() : 0; in countLevels()
/third_party/skia/src/gpu/
DGrProxyProvider.cpp384 const int mipLevelCount = mipmaps->countLevels() + 1; in createMippedProxyFromBitmap()
/third_party/flutter/skia/src/gpu/
DGrProxyProvider.cpp405 const int mipLevelCount = mipmaps->countLevels() + 1; in createProxyFromBitmap()