Lines Matching refs:SkMipmap
387 size_t SkMipmap::AllocLevelsSize(int levelCount, size_t pixelSize) { in AllocLevelsSize()
398 SkMipmap* SkMipmap::Build(const SkPixmap& src, SkDiscardableFactoryProc fact, in Build()
559 size_t storageSize = SkMipmap::AllocLevelsSize(countLevels, size); in Build()
564 SkMipmap* mipmap; in Build()
570 mipmap = new SkMipmap(storageSize, dm); in Build()
572 mipmap = new SkMipmap(sk_malloc_throw(storageSize), storageSize); in Build()
656 int SkMipmap::ComputeLevelCount(int baseWidth, int baseHeight) { in ComputeLevelCount()
690 SkISize SkMipmap::ComputeLevelSize(int baseWidth, int baseHeight, int level) { in ComputeLevelSize()
717 float SkMipmap::ComputeLevel(SkSize scaleSize) { in ComputeLevel()
742 bool SkMipmap::extractLevel(SkSize scaleSize, Level* levelPtr) const { in extractLevel()
764 bool SkMipmap::validForRootLevel(const SkImageInfo& root) const { in validForRootLevel()
791 SkMipmap* SkMipmap::Build(const SkBitmap& src, SkDiscardableFactoryProc fact) { in Build()
799 int SkMipmap::countLevels() const { in countLevels()
803 bool SkMipmap::getLevel(int index, Level* levelPtr) const { in getLevel()
843 sk_sp<SkData> SkMipmap::serialize() const { in serialize()
859 bool SkMipmap::Deserialize(SkMipmapBuilder* builder, const void* data, size_t size) { in Deserialize()