Home
last modified time | relevance | path

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

/external/skia/src/gpu/text/
DGrAtlasTextContext.cpp173 SkPaint runPaint = skPaint; in RegenerateTextBlob() local
181 it.applyFontToPaint(&runPaint); in RegenerateTextBlob()
183 if (drawFilter && !drawFilter->filter(&runPaint, SkDrawFilter::kText_Type)) { in RegenerateTextBlob()
185 runPaint = skPaint; in RegenerateTextBlob()
189 runPaint.setFlags(GrTextUtils::FilterTextFlags(props, runPaint)); in RegenerateTextBlob()
193 if (GrTextUtils::CanDrawAsDistanceFields(runPaint, viewMatrix, props, shaderCaps)) { in RegenerateTextBlob()
197 props, runPaint, color, viewMatrix, in RegenerateTextBlob()
205 props, runPaint, color, viewMatrix, in RegenerateTextBlob()
213 props, runPaint, color, viewMatrix, in RegenerateTextBlob()
219 } else if (SkDraw::ShouldDrawTextAsPaths(runPaint, viewMatrix)) { in RegenerateTextBlob()
[all …]
DGrStencilAndCoverTextContext.cpp145 SkPaint runPaint = skPaint; in uncachedDrawTextBlob() local
154 it.applyFontToPaint(&runPaint); in uncachedDrawTextBlob()
156 if (drawFilter && !drawFilter->filter(&runPaint, SkDrawFilter::kText_Type)) { in uncachedDrawTextBlob()
158 runPaint = skPaint; in uncachedDrawTextBlob()
162 runPaint.setFlags(GrTextUtils::FilterTextFlags(props, runPaint)); in uncachedDrawTextBlob()
165 if (!SkPaintToGrPaint(context, runPaint, viewMatrix, &grPaint)) { in uncachedDrawTextBlob()
171 this->drawText(context, dc, clip, grPaint, runPaint, viewMatrix, props, in uncachedDrawTextBlob()
176 this->drawPosText(context, dc, clip, grPaint, runPaint, viewMatrix, props, in uncachedDrawTextBlob()
182 this->drawPosText(context, dc, clip, grPaint, runPaint, viewMatrix, props, in uncachedDrawTextBlob()
190 runPaint = skPaint; in uncachedDrawTextBlob()
[all …]
DGrAtlasTextBlob.cpp369 SkPaint runPaint = skPaint; in flushRunAsPaths() local
374 it.applyFontToPaint(&runPaint); in flushRunAsPaths()
376 if (drawFilter && !drawFilter->filter(&runPaint, SkDrawFilter::kText_Type)) { in flushRunAsPaths()
380 runPaint.setFlags(GrTextUtils::FilterTextFlags(props, runPaint)); in flushRunAsPaths()
384 GrTextUtils::DrawTextAsPath(context, dc, clip, runPaint, viewMatrix, in flushRunAsPaths()
389 GrTextUtils::DrawPosTextAsPath(context, dc, props, clip, runPaint, viewMatrix, in flushRunAsPaths()
395 GrTextUtils::DrawPosTextAsPath(context, dc, props, clip, runPaint, viewMatrix, in flushRunAsPaths()
/external/skia/src/core/
DSkDevice.cpp105 SkPaint runPaint = paint; in drawTextBlob() local
113 it.applyFontToPaint(&runPaint); in drawTextBlob()
115 if (drawFilter && !drawFilter->filter(&runPaint, SkDrawFilter::kText_Type)) { in drawTextBlob()
117 runPaint = paint; in drawTextBlob()
121 runPaint.setFlags(this->filterTextFlags(runPaint)); in drawTextBlob()
125 this->drawText(draw, it.glyphs(), textLen, x + offset.x(), y + offset.y(), runPaint); in drawTextBlob()
129 SkPoint::Make(x, y + offset.y()), runPaint); in drawTextBlob()
133 SkPoint::Make(x, y), runPaint); in drawTextBlob()
141 runPaint = paint; in drawTextBlob()
DSkTextBlob.cpp227 SkPaint runPaint; in flatten() local
236 it.applyFontToPaint(&runPaint); in flatten()
237 buffer.writePaint(runPaint); in flatten()
/external/skia/tools/debugger/
DSkDrawCommand.cpp2478 SkPaint runPaint(paint); in SkDrawTextBlobCommand() local
2490 iter.applyFontToPaint(&runPaint); in SkDrawTextBlobCommand()
2491 fInfo.push(SkObjectParser::PaintToString(runPaint)); in SkDrawTextBlobCommand()