Lines Matching refs:SkMipMap
303 size_t SkMipMap::AllocLevelsSize(int levelCount, size_t pixelSize) { in AllocLevelsSize()
314 SkMipMap* SkMipMap::Build(const SkPixmap& src, SkDiscardableFactoryProc fact) { in Build()
397 size_t storageSize = SkMipMap::AllocLevelsSize(countLevels, size); in Build()
402 SkMipMap* mipmap; in Build()
408 mipmap = new SkMipMap(storageSize, dm); in Build()
410 mipmap = new SkMipMap(sk_malloc_throw(storageSize), storageSize); in Build()
492 int SkMipMap::ComputeLevelCount(int baseWidth, int baseHeight) { in ComputeLevelCount()
526 SkISize SkMipMap::ComputeLevelSize(int baseWidth, int baseHeight, int level) { in ComputeLevelSize()
551 bool SkMipMap::extractLevel(const SkSize& scaleSize, Level* levelPtr) const { in extractLevel()
597 SkMipMap* SkMipMap::Build(const SkBitmap& src, SkDiscardableFactoryProc fact) { in Build()
605 int SkMipMap::countLevels() const { in countLevels()
609 bool SkMipMap::getLevel(int index, Level* levelPtr) const { in getLevel()