Home
last modified time | relevance | path

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

/external/skia/src/gpu/text/
DGrAtlasTextContext.cpp173 GrTextUtils::RunPaint runPaint(&paint, drawFilter, props); in RegenerateTextBlob() local
179 if (!runPaint.modifyForRun(it)) { in RegenerateTextBlob()
182 if (GrTextUtils::CanDrawAsDistanceFields(runPaint, viewMatrix, props, shaderCaps)) { in RegenerateTextBlob()
185 GrTextUtils::DrawDFText(cacheBlob, run, fontCache, props, runPaint, in RegenerateTextBlob()
194 cacheBlob, run, fontCache, props, runPaint, scalerContextFlags, in RegenerateTextBlob()
201 cacheBlob, run, fontCache, props, runPaint, scalerContextFlags, in RegenerateTextBlob()
206 } else if (SkDraw::ShouldDrawTextAsPaths(runPaint, viewMatrix)) { in RegenerateTextBlob()
211 GrTextUtils::DrawBmpText(cacheBlob, run, fontCache, props, runPaint, in RegenerateTextBlob()
217 GrTextUtils::DrawBmpPosText(cacheBlob, run, fontCache, props, runPaint, in RegenerateTextBlob()
223 GrTextUtils::DrawBmpPosText(cacheBlob, run, fontCache, props, runPaint, in RegenerateTextBlob()
DGrStencilAndCoverTextContext.cpp138 GrTextUtils::RunPaint runPaint(&paint, drawFilter, props); in uncachedDrawTextBlob() local
141 if (!runPaint.modifyForRun(it)) { in uncachedDrawTextBlob()
149 this->drawText(context, rtc, clip, runPaint, viewMatrix, props, in uncachedDrawTextBlob()
154 this->drawPosText(context, rtc, clip, runPaint, viewMatrix, props, in uncachedDrawTextBlob()
159 this->drawPosText(context, rtc, clip, runPaint, viewMatrix, props, in uncachedDrawTextBlob()
274 SkPaint runPaint(skPaint); in init() local
276 iter.applyFontToPaint(&runPaint); // No need to re-seed the paint. in init()
277 if (runPaint.getTextSize() <= 0) { in init()
280 TextRun* run = this->addToTail(runPaint); in init()
DGrAtlasTextBlob.cpp366 GrTextUtils::RunPaint runPaint(&paint, drawFilter, props); in flushRunAsPaths() local
367 if (!runPaint.modifyForRun(it)) { in flushRunAsPaths()
373 GrTextUtils::DrawTextAsPath(context, rtc, clip, runPaint, viewMatrix, in flushRunAsPaths()
378 GrTextUtils::DrawPosTextAsPath(context, rtc, props, clip, runPaint, viewMatrix, in flushRunAsPaths()
383 GrTextUtils::DrawPosTextAsPath(context, rtc, props, clip, runPaint, viewMatrix, in flushRunAsPaths()
/external/skia/src/core/
DSkDevice.cpp141 SkPaint runPaint = paint; in drawTextBlob() local
149 it.applyFontToPaint(&runPaint); in drawTextBlob()
151 if (drawFilter && !drawFilter->filter(&runPaint, SkDrawFilter::kText_Type)) { in drawTextBlob()
153 runPaint = paint; in drawTextBlob()
157 runPaint.setFlags(this->filterTextFlags(runPaint)); in drawTextBlob()
161 this->drawText(it.glyphs(), textLen, x + offset.x(), y + offset.y(), runPaint); in drawTextBlob()
165 SkPoint::Make(x, y + offset.y()), runPaint); in drawTextBlob()
169 SkPoint::Make(x, y), runPaint); in drawTextBlob()
177 runPaint = paint; in drawTextBlob()
DSkOverdrawCanvas.cpp146 SkPaint runPaint = paint; in onDrawTextBlob() local
151 it.applyFontToPaint(&runPaint); in onDrawTextBlob()
154 this->onDrawText(it.glyphs(), textLen, x + offset.x(), y + offset.y(), runPaint); in onDrawTextBlob()
158 SkPoint::Make(x, y + offset.y()), runPaint); in onDrawTextBlob()
162 runPaint); in onDrawTextBlob()
DSkTextBlob.cpp326 SkPaint runPaint; in flatten() local
345 it.applyFontToPaint(&runPaint); in flatten()
346 buffer.writePaint(runPaint); in flatten()
DSkPaint.cpp1173 SkPaint runPaint(*this); in getTextBlobIntercepts() local
1177 it.applyFontToPaint(&runPaint); in getTextBlobIntercepts()
1183 count += runPaint.getTextIntercepts(it.glyphs(), runByteCount, it.offset().x(), in getTextBlobIntercepts()
1187 count += runPaint.getPosTextHIntercepts(it.glyphs(), runByteCount, it.pos(), in getTextBlobIntercepts()
1191 count += runPaint.getPosTextIntercepts(it.glyphs(), runByteCount, in getTextBlobIntercepts()
/external/skia/src/pdf/
DSkPDFDevice.cpp1443 SkPaint runPaint(paint); in drawTextBlob() local
1444 it.applyFontToPaint(&runPaint); in drawTextBlob()
1445 if (drawFilter && !drawFilter->filter(&runPaint, SkDrawFilter::kText_Type)) { in drawTextBlob()
1448 runPaint.setFlags(this->filterTextFlags(runPaint)); in drawTextBlob()
1451 it.pos(), it.positioning(), offset, runPaint, in drawTextBlob()
/external/skia/tools/debugger/
DSkDrawCommand.cpp2898 SkPaint runPaint(paint); local
2910 iter.applyFontToPaint(&runPaint);
2911 fInfo.push(SkObjectParser::PaintToString(runPaint));