/external/skqp/src/core/ |
D | SkGlyphRunPainter.cpp | 153 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 …]
|
D | SkDraw_text.cpp | 115 void SkDraw::drawGlyphRunList(const SkGlyphRunList& glyphRunList, in drawGlyphRunList() argument 124 glyphPainter->drawForBitmapDevice(glyphRunList, *fMatrix, this); in drawGlyphRunList()
|
D | SkGlyphRunPainter.h | 78 const SkGlyphRunList& glyphRunList, const SkMatrix& deviceMatrix, 126 ScopedBuffers SK_WARN_UNUSED_RESULT ensureBuffers(const SkGlyphRunList& glyphRunList);
|
/external/skqp/src/gpu/text/ |
D | GrTextBlobCache.h | 36 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/ |
D | GlyphQuadFillBench.cpp | 43 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/ |
D | SkOverdrawCanvas.cpp | 67 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()
|
D | SkTextBlobTrace.cpp | 86 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()
|
D | SkGlyphRunPainter.cpp | 82 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()
|
D | SkRecorder.cpp | 237 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()
|
D | SkDevice.cpp | 435 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()
|
D | SkGlyphRunPainter.h | 82 const SkGlyphRunList& glyphRunList, const SkPaint& paint, const SkMatrix& deviceMatrix, 106 ScopedBuffers SK_WARN_UNUSED_RESULT ensureBuffers(const SkGlyphRunList& glyphRunList);
|
D | SkDraw_text.cpp | 127 void SkDraw::drawGlyphRunList(const SkGlyphRunList& glyphRunList, in drawGlyphRunList() argument 137 glyphPainter->drawForBitmapDevice(glyphRunList, paint, fMatrixProvider->localToDevice(), this); in drawGlyphRunList()
|
D | SkDevice.h | 206 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
|
D | SkCanvas.cpp | 2184 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/ |
D | GrTextBlob.cpp | 175 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 …]
|
D | GrTextBlob.h | 69 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,
|
D | GrTextBlobCache.cpp | 24 const SkGlyphRunList& glyphRunList, sk_sp<GrTextBlob> blob) { in addOrReturnExisting() argument 27 glyphRunList.temporaryShuntBlobNotifyAddedToCache(fMessageBusID); in addOrReturnExisting()
|
D | GrTextBlobCache.h | 27 const SkGlyphRunList& glyphRunList, sk_sp<GrTextBlob> blob) SK_EXCLUDES(fSpinLock);
|
/external/skqp/src/atlastext/ |
D | SkAtlasTextTarget.cpp | 163 auto glyphRunList = builder.useGlyphRunList(); in drawText() local 164 if (!glyphRunList.empty()) { in drawText() 166 glyphRunList); in drawText()
|
/external/skia/src/gpu/ |
D | GrSurfaceDrawContext.cpp | 356 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/ |
D | GrAtlasTextOp.cpp | 502 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/ |
D | SkSVGDevice.cpp | 1069 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()
|
D | SkSVGDevice.h | 38 void onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) override;
|
/external/skqp/src/svg/ |
D | SkSVGDevice.h | 38 void drawGlyphRunList(const SkGlyphRunList& glyphRunList) override;
|
/external/skia/include/core/ |
D | SkOverdrawCanvas.h | 25 void onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) override;
|