Home
last modified time | relevance | path

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

/external/skia/src/gpu/text/
DGrSDFTControl.cpp58 SkScalar scaledTextSize = maxScale * font.getSize(); in drawingType() local
63 return scaledTextSize < kAboveIsPath ? kDirect : kPath; in drawingType()
68 if (scaledTextSize < fMinDistanceFieldFontSize) { in drawingType()
70 } else if (fMaxDistanceFieldFontSize < scaledTextSize) { in drawingType()
78 SkScalar scaledTextSize = textSize; in scaled_text_size() local
83 scaledTextSize = kMediumDFFontLimit; in scaled_text_size()
90 scaledTextSize *= maxScale; in scaled_text_size()
94 return scaledTextSize; in scaled_text_size()
101 SkScalar scaledTextSize = scaled_text_size(textSize, viewMatrix); in getSDFFont() local
105 if (scaledTextSize <= kSmallDFFontLimit) { in getSDFFont()
[all …]
/external/skqp/src/gpu/text/
DGrTextContext.cpp101 SkScalar scaledTextSize = maxScale * font.getSize(); in CanDrawAsDistanceFields() local
104 if (scaledTextSize < options.fMinDistanceFieldFontSize || in CanDrawAsDistanceFields()
105 scaledTextSize > options.fMaxDistanceFieldFontSize) { in CanDrawAsDistanceFields()
114 if (!useDFT && scaledTextSize < kLargeDFFontSize) { in CanDrawAsDistanceFields()
140 SkScalar scaledTextSize = textSize; in InitDistanceFieldPaint() local
145 scaledTextSize = kMediumDFFontLimit; in InitDistanceFieldPaint()
152 scaledTextSize *= maxScale; in InitDistanceFieldPaint()
160 if (scaledTextSize <= kSmallDFFontLimit) { in InitDistanceFieldPaint()
165 } else if (scaledTextSize <= kMediumDFFontLimit) { in InitDistanceFieldPaint()
184 SkASSERT(dfMaskScaleFloor <= scaledTextSize && scaledTextSize <= dfMaskScaleCeil); in InitDistanceFieldPaint()
[all …]