Home
last modified time | relevance | path

Searched refs:glyphRunList (Results 1 – 25 of 57) sorted by relevance

123

/external/skqp/src/core/
DSkGlyphRunPainter.cpp153 const SkGlyphRunList& glyphRunList, const SkMatrix& deviceMatrix, in drawForBitmapDevice() argument
155 ScopedBuffers _ = this->ensureBuffers(glyphRunList); in drawForBitmapDevice()
157 const SkPaint& runPaint = glyphRunList.paint(); in drawForBitmapDevice()
164 SkPoint origin = glyphRunList.origin(); in drawForBitmapDevice()
165 for (auto& glyphRun : glyphRunList) { in drawForBitmapDevice()
479 SkGlyphRunListPainter::ensureBuffers(const SkGlyphRunList& glyphRunList) { in ensureBuffers() argument
481 for (const SkGlyphRun& run : glyphRunList) { in ensureBuffers()
509 const SkGlyphRunList& glyphRunList) { in drawGlyphRunList() argument
510 SkPoint origin = glyphRunList.origin(); in drawGlyphRunList()
513 const SkPaint& listPaint = glyphRunList.paint(); in drawGlyphRunList()
[all …]
DSkDraw_text.cpp115 void SkDraw::drawGlyphRunList(const SkGlyphRunList& glyphRunList, in drawGlyphRunList() argument
124 glyphPainter->drawForBitmapDevice(glyphRunList, *fMatrix, this); in drawGlyphRunList()
DSkGlyphRunPainter.h78 const SkGlyphRunList& glyphRunList, const SkMatrix& deviceMatrix,
126 ScopedBuffers SK_WARN_UNUSED_RESULT ensureBuffers(const SkGlyphRunList& glyphRunList);
/external/skqp/src/gpu/text/
DGrTextBlobCache.h36 sk_sp<GrTextBlob> makeBlob(const SkGlyphRunList& glyphRunList, GrColor color) { in makeBlob() argument
37 return GrTextBlob::Make(glyphRunList.totalGlyphCount(), glyphRunList.size(), color); in makeBlob()
40 sk_sp<GrTextBlob> makeCachedBlob(const SkGlyphRunList& glyphRunList, in makeCachedBlob() argument
45 sk_sp<GrTextBlob> cacheBlob(makeBlob(glyphRunList, color)); in makeCachedBlob()
48 glyphRunList.temporaryShuntBlobNotifyAddedToCache(fUniqueID); in makeCachedBlob()
/external/skia/bench/
DGlyphQuadFillBench.cpp43 auto glyphRunList = builder.textToGlyphRunList(font, paint, gText, len, {100, 100}); in onPerCanvasPreDraw() local
44 SkASSERT(!glyphRunList.empty()); in onPerCanvasPreDraw()
52 const SkPoint drawOrigin = glyphRunList.origin(); in onPerCanvasPreDraw()
55 fBlob = GrTextBlob::Make(glyphRunList, paint, drawMatrix, control, &painter); in onPerCanvasPreDraw()
/external/skia/src/core/
DSkOverdrawCanvas.cpp67 void onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) override { in onDrawGlyphRunList() argument
68 SkASSERT(!glyphRunList.hasRSXForm()); in onDrawGlyphRunList()
69 fPainter.drawForBitmapDevice(glyphRunList, paint, fOverdrawCanvas->getTotalMatrix(), this); in onDrawGlyphRunList()
81 auto glyphRunList = b.blobToGlyphRunList(*blob, {x, y}); in onDrawTextBlob() local
82 this->onDrawGlyphRunList(glyphRunList, paint); in onDrawTextBlob()
86 const SkGlyphRunList& glyphRunList, const SkPaint& paint) { in onDrawGlyphRunList() argument
91 device.drawGlyphRunList(glyphRunList, paint); in onDrawGlyphRunList()
DSkTextBlobTrace.cpp86 void SkTextBlobTrace::Capture::capture(const SkGlyphRunList& glyphRunList, const SkPaint& paint) { in capture() argument
87 const SkTextBlob* blob = glyphRunList.blob(); in capture()
91 fWriteBuffer.writePoint(glyphRunList.origin()); in capture()
DSkGlyphRunPainter.cpp82 const SkGlyphRunList& glyphRunList, const SkPaint& paint, const SkMatrix& deviceMatrix, in drawForBitmapDevice() argument
84 ScopedBuffers _ = this->ensureBuffers(glyphRunList); in drawForBitmapDevice()
96 SkPoint drawOrigin = glyphRunList.origin(); in drawForBitmapDevice()
97 for (auto& glyphRun : glyphRunList) { in drawForBitmapDevice()
372 auto SkGlyphRunListPainter::ensureBuffers(const SkGlyphRunList& glyphRunList) -> ScopedBuffers { in ensureBuffers() argument
374 for (const SkGlyphRun& run : glyphRunList) { in ensureBuffers()
DSkRecorder.cpp237 void SkRecorder::onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) { in onDrawGlyphRunList() argument
238 sk_sp<SkTextBlob> blob = sk_ref_sp(glyphRunList.blob()); in onDrawGlyphRunList()
239 if (glyphRunList.blob() == nullptr) { in onDrawGlyphRunList()
240 blob = glyphRunList.makeBlob(); in onDrawGlyphRunList()
243 this->onDrawTextBlob(blob.get(), glyphRunList.origin().x(), glyphRunList.origin().y(), paint); in onDrawGlyphRunList()
DSkDevice.cpp435 void SkBaseDevice::drawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) { in drawGlyphRunList() argument
440 if (!glyphRunList.hasRSXForm()) { in drawGlyphRunList()
441 this->onDrawGlyphRunList(glyphRunList, paint); in drawGlyphRunList()
443 this->simplifyGlyphRunRSXFormAndRedraw(glyphRunList, paint); in drawGlyphRunList()
447 void SkBaseDevice::simplifyGlyphRunRSXFormAndRedraw(const SkGlyphRunList& glyphRunList, in simplifyGlyphRunRSXFormAndRedraw() argument
449 for (const SkGlyphRun& run : glyphRunList) { in simplifyGlyphRunRSXFormAndRedraw()
453 SkPoint origin = glyphRunList.origin(); in simplifyGlyphRunRSXFormAndRedraw()
DSkGlyphRunPainter.h82 const SkGlyphRunList& glyphRunList, const SkPaint& paint, const SkMatrix& deviceMatrix,
106 ScopedBuffers SK_WARN_UNUSED_RESULT ensureBuffers(const SkGlyphRunList& glyphRunList);
DSkDraw_text.cpp127 void SkDraw::drawGlyphRunList(const SkGlyphRunList& glyphRunList, in drawGlyphRunList() argument
137 glyphPainter->drawForBitmapDevice(glyphRunList, paint, fMatrixProvider->localToDevice(), this); in drawGlyphRunList()
DSkDevice.h206 void drawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint);
310 virtual void onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) = 0;
423 void simplifyGlyphRunRSXFormAndRedraw(const SkGlyphRunList& glyphRunList, const SkPaint& paint);
533 void onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) override {} in onDrawGlyphRunList() argument
DSkCanvas.cpp2184 auto glyphRunList = fScratchGlyphRunBuilder->blobToGlyphRunList(*blob, {x, y}); in onDrawTextBlob() local
2185 this->onDrawGlyphRunList(glyphRunList, paint); in onDrawTextBlob()
2188 void SkCanvas::onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) { in onDrawGlyphRunList() argument
2189 SkRect bounds = glyphRunList.sourceBounds(); in onDrawGlyphRunList()
2194 this->topDevice()->drawGlyphRunList(glyphRunList, layer.paint()); in onDrawGlyphRunList()
2203 const SkGlyphRunList& glyphRunList = in drawSimpleText() local
2206 if (!glyphRunList.empty()) { in drawSimpleText()
2207 this->onDrawGlyphRunList(glyphRunList, paint); in drawSimpleText()
2225 SkGlyphRunList glyphRunList { in drawGlyphs() local
2230 this->onDrawGlyphRunList(glyphRunList, paint); in drawGlyphs()
[all …]
/external/skia/src/gpu/text/
DGrTextBlob.cpp175 const SkGlyphRunList& glyphRunList,
214 const SkGlyphRunList& glyphRunList, in draw() argument
218 SkPoint drawOrigin = glyphRunList.origin(); in draw()
452 const SkGlyphRunList& glyphRunList,
467 const SkGlyphRunList& glyphRunList,
555 const SkGlyphRunList& glyphRunList, in draw() argument
559 clip, viewMatrix, glyphRunList, paint, sdc, nullptr); in draw()
634 const SkGlyphRunList& glyphRunList, in makeAtlasTextOp() argument
641 const SkPoint drawOrigin = glyphRunList.origin(); in makeAtlasTextOp()
844 const SkGlyphRunList& glyphRunList,
[all …]
DGrTextBlob.h69 const SkGlyphRunList& glyphRunList,
104 const SkGlyphRunList& glyphRunList,
176 static std::tuple<bool, Key> Make(const SkGlyphRunList& glyphRunList,
206 static sk_sp<GrTextBlob> Make(const SkGlyphRunList& glyphRunList,
295 const SkGlyphRunList& glyphRunList,
DGrTextBlobCache.cpp24 const SkGlyphRunList& glyphRunList, sk_sp<GrTextBlob> blob) { in addOrReturnExisting() argument
27 glyphRunList.temporaryShuntBlobNotifyAddedToCache(fMessageBusID); in addOrReturnExisting()
DGrTextBlobCache.h27 const SkGlyphRunList& glyphRunList, sk_sp<GrTextBlob> blob) SK_EXCLUDES(fSpinLock);
/external/skqp/src/atlastext/
DSkAtlasTextTarget.cpp163 auto glyphRunList = builder.useGlyphRunList(); in drawText() local
164 if (!glyphRunList.empty()) { in drawText()
166 glyphRunList); in drawText()
/external/skia/src/gpu/
DGrSurfaceDrawContext.cpp356 const SkGlyphRunList& glyphRunList, in drawGlyphRunListNoCache() argument
360 const SkPoint drawOrigin = glyphRunList.origin(); in drawGlyphRunListNoCache()
365 for (auto& glyphRun : glyphRunList) { in drawGlyphRunListNoCache()
366 GrSubRunNoCachePainter painter{this, alloc, clip, viewMatrix, glyphRunList, paint}; in drawGlyphRunListNoCache()
379 const SkGlyphRunList& glyphRunList, in drawGlyphRunListWithCache() argument
382 drawMatrix.preTranslate(glyphRunList.origin().x(), glyphRunList.origin().y()); in drawGlyphRunListWithCache()
388 auto [canCache, key] = GrTextBlob::Key::Make(glyphRunList, in drawGlyphRunListWithCache()
409 blob = GrTextBlob::Make(glyphRunList, paint, drawMatrix, control, &fGlyphPainter); in drawGlyphRunListWithCache()
415 blob = textBlobCache->addOrReturnExisting(glyphRunList, blob); in drawGlyphRunListWithCache()
420 subRun.draw(clip, viewMatrix, glyphRunList, paint, this); in drawGlyphRunListWithCache()
[all …]
/external/skia/src/gpu/ops/
DGrAtlasTextOp.cpp502 auto glyphRunList = builder.textToGlyphRunList(font, skPaint, text, textLen, drawOrigin); in CreateOpTestingOnly() local
503 if (glyphRunList.empty()) { in CreateOpTestingOnly()
512 sk_sp<GrTextBlob> blob = GrTextBlob::Make(glyphRunList, skPaint, drawMatrix, control, painter); in CreateOpTestingOnly()
522 nullptr, mtxProvider, glyphRunList, skPaint, rtc, nullptr); in CreateOpTestingOnly()
/external/skia/src/svg/
DSkSVGDevice.cpp1069 void SkSVGDevice::onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) { in onDrawGlyphRunList() argument
1070 SkASSERT(!glyphRunList.hasRSXForm()); in onDrawGlyphRunList()
1077 for (auto& glyphRun : glyphRunList) { in onDrawGlyphRunList()
1078 AddPath(glyphRun, glyphRunList.origin(), &path); in onDrawGlyphRunList()
1087 for (auto& glyphRun : glyphRunList) { in onDrawGlyphRunList()
1091 SVGTextBuilder builder(glyphRunList.origin(), glyphRun); in onDrawGlyphRunList()
DSkSVGDevice.h38 void onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) override;
/external/skqp/src/svg/
DSkSVGDevice.h38 void drawGlyphRunList(const SkGlyphRunList& glyphRunList) override;
/external/skia/include/core/
DSkOverdrawCanvas.h25 void onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) override;

123