Home
last modified time | relevance | path

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

/external/skia/src/gpu/text/
DGrSDFTControl.cpp142 SkScalar dfMaskScaleFloor; in computeSDFMinMaxScale() local
145 dfMaskScaleFloor = fMinDistanceFieldFontSize; in computeSDFMinMaxScale()
148 dfMaskScaleFloor = kSmallDFFontLimit; in computeSDFMinMaxScale()
151 dfMaskScaleFloor = kMediumDFFontLimit; in computeSDFMinMaxScale()
162 SkASSERT(dfMaskScaleFloor <= scaledTextSize && scaledTextSize <= dfMaskScaleCeil); in computeSDFMinMaxScale()
164 return std::make_pair(dfMaskScaleFloor / scaledTextSize, dfMaskScaleCeil / scaledTextSize); in computeSDFMinMaxScale()
/external/skqp/src/gpu/text/
DGrTextContext.cpp158 SkScalar dfMaskScaleFloor; in InitDistanceFieldPaint() local
161 dfMaskScaleFloor = options.fMinDistanceFieldFontSize; in InitDistanceFieldPaint()
166 dfMaskScaleFloor = kSmallDFFontLimit; in InitDistanceFieldPaint()
171 dfMaskScaleFloor = kMediumDFFontLimit; in InitDistanceFieldPaint()
184 SkASSERT(dfMaskScaleFloor <= scaledTextSize && scaledTextSize <= dfMaskScaleCeil); in InitDistanceFieldPaint()
186 blob->setMinAndMaxScale(dfMaskScaleFloor / scaledTextSize, in InitDistanceFieldPaint()