Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkMipmap.cpp553 int countLevels = ComputeLevelCount(src.width(), src.height()); in Build() local
554 for (int currentMipLevel = countLevels; currentMipLevel >= 0; currentMipLevel--) { in Build()
559 size_t storageSize = SkMipmap::AllocLevelsSize(countLevels, size); in Build()
577 mipmap->fCount = countLevels; in Build()
582 uint8_t* baseAddr = (uint8_t*)&levels[countLevels]; in Build()
593 for (int i = 0; i < countLevels; ++i) { in Build()
780 for (int i = 0; i < this->countLevels(); ++i) { in validForRootLevel()
799 int SkMipmap::countLevels() const { in countLevels() function in SkMipmap
844 const int count = this->countLevels(); in serialize()
863 if (builder->countLevels() != count) { in Deserialize()
DSkMipmapBuilder.h18 int countLevels() const;
DSkMipmap.h68 int countLevels() const;
/external/skqp/src/core/
DSkMipMap.cpp391 int countLevels = ComputeLevelCount(src.width(), src.height()); in Build() local
392 for (int currentMipLevel = countLevels; currentMipLevel >= 0; currentMipLevel--) { in Build()
397 size_t storageSize = SkMipMap::AllocLevelsSize(countLevels, size); in Build()
415 mipmap->fCount = countLevels; in Build()
420 uint8_t* baseAddr = (uint8_t*)&levels[countLevels]; in Build()
431 for (int i = 0; i < countLevels; ++i) { in Build()
605 int SkMipMap::countLevels() const { in countLevels() function in SkMipMap
DSkMipMap.h58 int countLevels() const;
/external/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()
/external/skqp/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()
/external/skia/gm/
Dshowmiplevels.cpp43 for (int i = 0; i < builder.countLevels(); ++i) { in onOnceBeforeDraw()
/external/skia/tools/gpu/
DManagedBackendTexture.cpp97 for (int i = 0; i < mm->countLevels(); ++i) { in MakeFromPixmap()
/external/skia/tools/
DDDLPromiseImageHelper.cpp50 for (int i = 0; i < fMipLevels->countLevels(); ++i) { in normalMipLevels()
61 return fMipLevels ? fMipLevels->countLevels()+1 : 1; in numMipLevels()
/external/skia/src/image/
DSkImage.cpp768 int SkMipmapBuilder::countLevels() const { in countLevels() function in SkMipmapBuilder
769 return fMM ? fMM->countLevels() : 0; in countLevels()
/external/skqp/src/gpu/
DGrProxyProvider.cpp340 const int mipLevelCount = mipmaps->countLevels() + 1; in createMipMapProxyFromBitmap()
/external/skia/src/gpu/
DGrProxyProvider.cpp362 const int mipLevelCount = mipmaps->countLevels() + 1; in createMippedProxyFromBitmap()