Home
last modified time | relevance | path

Searched refs:countLevels (Results 1 - 9 of 9) sorted by relevance

/third_party/skia/src/core/
H A 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() ! in Deserialize()
[all...]
H A DSkMipmapBuilder.h18 int countLevels() const;
H A DSkMipmap.h66 // countLevels returns the number of mipmap levels generated (which does not
68 int countLevels() const;
/third_party/skia/tests/
H A 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/skia/gm/
H A Dshowmiplevels.cpp43 for (int i = 0; i < builder.countLevels(); ++i) {
/third_party/skia/tools/gpu/
H A DManagedBackendTexture.cpp97 for (int i = 0; i < mm->countLevels(); ++i) { in MakeFromPixmap()
/third_party/skia/tools/
H A 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/
H A DSkImage.cpp690 int SkMipmapBuilder::countLevels() const { in countLevels() function in SkMipmapBuilder
691 return fMM ? fMM->countLevels() : 0; in countLevels()
/third_party/skia/src/gpu/
H A DGrProxyProvider.cpp397 const int mipLevelCount = mipmaps->countLevels() + 1; in createMippedProxyFromBitmap()

Completed in 7 milliseconds