Searched refs:rasterScale (Results 1 – 2 of 2) sorted by relevance
286 SkScalar rasterScale = 1.0f; in make_fallback_shader() local288 rasterScale *= SkScalarSqrt((float)kMaxBitmapArea / bitmapArea); in make_fallback_shader()292 SkTPin(SkScalarCeilToInt(rasterScale * surfaceBBox.width()), 1, kMaxBitmapArea), in make_fallback_shader()293 SkTPin(SkScalarCeilToInt(rasterScale * surfaceBBox.height()), 1, kMaxBitmapArea)}; in make_fallback_shader()
289 SkScalar rasterScale = 1.0f; in make_fallback_shader() local291 rasterScale *= SkScalarSqrt(kMaxBitmapArea / bitmapArea); in make_fallback_shader()294 SkISize size = {SkScalarRoundToInt(rasterScale * surfaceBBox.width()), in make_fallback_shader()295 SkScalarRoundToInt(rasterScale * surfaceBBox.height())}; in make_fallback_shader()