Searched refs:clampScale (Results 1 – 2 of 2) sorted by relevance
216 SkScalar clampScale = SkScalarSqrt(kMaxTileArea / tileArea); in refBitmapShader() local217 scaledSize.set(scaledSize.width() * clampScale, in refBitmapShader()218 scaledSize.height() * clampScale); in refBitmapShader()
196 SkScalar clampScale = SkScalarSqrt(kMaxTileArea / tileArea); in Make() local197 size.set(size.width() * clampScale, size.height() * clampScale); in Make()