Home
last modified time | relevance | path

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

/external/skia/src/gpu/text/
DGrSDFTControl.cpp143 SkScalar dfMaskScaleCeil; in computeSDFMinMaxScale() local
146 dfMaskScaleCeil = kSmallDFFontLimit; in computeSDFMinMaxScale()
149 dfMaskScaleCeil = kMediumDFFontLimit; in computeSDFMinMaxScale()
152 dfMaskScaleCeil = fMaxDistanceFieldFontSize; 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.cpp159 SkScalar dfMaskScaleCeil; in InitDistanceFieldPaint() local
162 dfMaskScaleCeil = kSmallDFFontLimit; in InitDistanceFieldPaint()
167 dfMaskScaleCeil = kMediumDFFontLimit; in InitDistanceFieldPaint()
172 dfMaskScaleCeil = options.fMaxDistanceFieldFontSize; in InitDistanceFieldPaint()
184 SkASSERT(dfMaskScaleFloor <= scaledTextSize && scaledTextSize <= dfMaskScaleCeil); in InitDistanceFieldPaint()
187 dfMaskScaleCeil / scaledTextSize); in InitDistanceFieldPaint()