Home
last modified time | relevance | path

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

/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/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;
/external/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()
/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/skqp/src/gpu/
DGrProxyProvider.cpp340 const int mipLevelCount = mipmaps->countLevels() + 1; in createMipMapProxyFromBitmap()
/external/skia/src/gpu/
DGrProxyProvider.cpp353 const int mipLevelCount = mipmaps->countLevels() + 1; in createMipMapProxyFromBitmap()