Home
last modified time | relevance | path

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

/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()
/external/skia/src/gpu/text/
DGrTextContext.cpp188 SkScalar dfMaskScaleFloor; in InitDistanceFieldMinMaxScale() local
191 dfMaskScaleFloor = options.fMinDistanceFieldFontSize; in InitDistanceFieldMinMaxScale()
194 dfMaskScaleFloor = kSmallDFFontLimit; in InitDistanceFieldMinMaxScale()
197 dfMaskScaleFloor = kMediumDFFontLimit; in InitDistanceFieldMinMaxScale()
208 SkASSERT(dfMaskScaleFloor <= scaledTextSize && scaledTextSize <= dfMaskScaleCeil); in InitDistanceFieldMinMaxScale()
210 return std::make_pair(dfMaskScaleFloor / scaledTextSize, dfMaskScaleCeil / scaledTextSize); in InitDistanceFieldMinMaxScale()