Searched refs:downScale (Results 1 – 1 of 1) sorted by relevance
179 SkScalar downScale = maxTextureSize / SkMax32(scaledSize.width(), scaledSize.height()); in refBitmapShader() local180 scaledSize.set(SkScalarFloorToScalar(SkScalarMul(scaledSize.width(), downScale)), in refBitmapShader()181 SkScalarFloorToScalar(SkScalarMul(scaledSize.height(), downScale))); in refBitmapShader()