Searched refs:scaleSize (Results 1 – 3 of 3) sorted by relevance
551 bool SkMipMap::extractLevel(const SkSize& scaleSize, Level* levelPtr) const { in extractLevel() argument556 SkASSERT(scaleSize.width() >= 0 && scaleSize.height() >= 0); in extractLevel()560 const SkScalar scale = SkTMin(scaleSize.width(), scaleSize.height()); in extractLevel()565 const SkScalar scale = SkScalarSqrt(scaleSize.width() * scaleSize.height()); in extractLevel()
717 float SkMipmap::ComputeLevel(SkSize scaleSize) { in ComputeLevel() argument718 SkASSERT(scaleSize.width() >= 0 && scaleSize.height() >= 0); in ComputeLevel()722 const SkScalar scale = std::min(scaleSize.width(), scaleSize.height()); in ComputeLevel()727 const SkScalar scale = SkScalarSqrt(scaleSize.width() * scaleSize.height()); in ComputeLevel()742 bool SkMipmap::extractLevel(SkSize scaleSize, Level* levelPtr) const { in extractLevel() argument747 float L = ComputeLevel(scaleSize); in extractLevel()
53 static float ComputeLevel(SkSize scaleSize);