Home
last modified time | relevance | path

Searched refs:downScale (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/core/
DSkPictureShader.cpp179 SkScalar downScale = maxTextureSize / SkMax32(scaledSize.width(), scaledSize.height()); in refBitmapShader() local
180 scaledSize.set(SkScalarFloorToScalar(SkScalarMul(scaledSize.width(), downScale)), in refBitmapShader()
181 SkScalarFloorToScalar(SkScalarMul(scaledSize.height(), downScale))); in refBitmapShader()