/external/skia/src/text/gpu/ |
D | TextBlobRedrawCoordinator.cpp | 35 const GlyphRunList& glyphRunList, in drawGlyphRunList() argument 39 sk_sp<TextBlob> blob = this->findOrCreateBlob(viewMatrix, glyphRunList, paint, in drawGlyphRunList() 42 blob->draw(canvas, clip, viewMatrix, glyphRunList.origin(), paint, sdc); in drawGlyphRunList() 49 const sktext::GlyphRunList& glyphRunList, in drawGlyphRunList() argument 53 sk_sp<TextBlob> blob = this->findOrCreateBlob(viewMatrix, glyphRunList, paint, in drawGlyphRunList() 56 blob->draw(canvas, glyphRunList.origin(), paint, device); in drawGlyphRunList() 61 const GlyphRunList& glyphRunList, in findOrCreateBlob() argument 65 positionMatrix.preTranslate(glyphRunList.origin().x(), glyphRunList.origin().y()); in findOrCreateBlob() 68 glyphRunList, paint, positionMatrix, strikeDeviceInfo); in findOrCreateBlob() 81 glyphRunList, paint, positionMatrix, in findOrCreateBlob() [all …]
|
D | TextBlob.cpp | 96 const sktext::GlyphRunList& glyphRunList, 185 const sktext::GlyphRunList& glyphRunList, in Make() argument 190 size_t subRunSizeHint = SubRunContainer::EstimateAllocSize(glyphRunList); in Make() 195 position_matrix(viewMatrix.localToDevice(), glyphRunList.origin()); in Make() 197 auto subRuns = SubRunContainer::MakeInAlloc(glyphRunList, in Make() 209 glyphRunList.sourceBounds(), in Make() 211 glyphRunList.origin())); in Make() 223 auto TextBlob::Key::Make(const GlyphRunList& glyphRunList, in Make() argument 232 bool canCache = glyphRunList.canCache() && in Make() 238 bool hasLCD = glyphRunList.anyRunsLCD(); in Make() [all …]
|
D | TextBlobRedrawCoordinator.h | 39 const GlyphRunList& glyphRunList, 47 const GlyphRunList& glyphRunList, 96 const GlyphRunList& glyphRunList, 102 const GlyphRunList& glyphRunList,
|
D | TextBlob.h | 65 static std::tuple<bool, Key> Make(const GlyphRunList& glyphRunList, 93 static sk_sp<TextBlob> Make(const sktext::GlyphRunList& glyphRunList, 157 const sktext::GlyphRunList& glyphRunList,
|
D | SubRunContainer.h | 256 const GlyphRunList& glyphRunList, 265 static size_t EstimateAllocSize(const GlyphRunList& glyphRunList);
|
/external/skia/bench/ |
D | GlyphQuadFillBench.cpp | 53 auto glyphRunList = builder.textToGlyphRunList(font, paint, gText, len, {100, 100}); in onPerCanvasPreDraw() local 54 SkASSERT(!glyphRunList.empty()); in onPerCanvasPreDraw() 57 const SkPoint drawOrigin = glyphRunList.origin(); in onPerCanvasPreDraw() 59 fBlob = sktext::gpu::TextBlob::Make(glyphRunList, in onPerCanvasPreDraw()
|
/external/skia/src/utils/ |
D | SkTestCanvas.h | 34 const sktext::GlyphRunList& glyphRunList, const SkPaint& paint) override; 43 const sktext::GlyphRunList& glyphRunList, const SkPaint& paint) override; 53 const sktext::GlyphRunList& glyphRunList, const SkPaint& paint) override;
|
/external/skia/src/core/ |
D | SkOverdrawCanvas.cpp | 71 const sktext::GlyphRunList& glyphRunList, in onDrawGlyphRunList() argument 74 SkASSERT(!glyphRunList.hasRSXForm()); in onDrawGlyphRunList() 75 fPainter.drawForBitmapDevice(canvas, this, glyphRunList, drawingPaint, in onDrawGlyphRunList() 88 auto glyphRunList = b.blobToGlyphRunList(*blob, {x, y}); in onDrawTextBlob() local 89 this->onDrawGlyphRunList(glyphRunList, paint); in onDrawTextBlob() 93 const sktext::GlyphRunList& glyphRunList, in onDrawGlyphRunList() argument 99 device.drawGlyphRunList(this, glyphRunList, paint, paint); in onDrawGlyphRunList()
|
D | SkDevice.cpp | 420 const sktext::GlyphRunList& glyphRunList, in drawGlyphRunList() argument 427 if (!glyphRunList.hasRSXForm()) { in drawGlyphRunList() 428 this->onDrawGlyphRunList(canvas, glyphRunList, initialPaint, drawingPaint); in drawGlyphRunList() 430 this->simplifyGlyphRunRSXFormAndRedraw(canvas, glyphRunList, initialPaint, drawingPaint); in drawGlyphRunList() 435 const sktext::GlyphRunList& glyphRunList, in simplifyGlyphRunRSXFormAndRedraw() argument 438 for (const sktext::GlyphRun& run : glyphRunList) { in simplifyGlyphRunRSXFormAndRedraw() 440 auto subList = glyphRunList.builder()->makeGlyphRunList( in simplifyGlyphRunRSXFormAndRedraw() 444 SkPoint origin = glyphRunList.origin(); in simplifyGlyphRunRSXFormAndRedraw() 472 sktext::GlyphRunList subList = glyphRunList.builder()->makeGlyphRunList( in simplifyGlyphRunRSXFormAndRedraw() 482 const sktext::GlyphRunList& glyphRunList, in convertGlyphRunListToSlug() argument
|
D | SkCanvas.cpp | 2437 auto glyphRunList = fScratchGlyphRunBuilder->blobToGlyphRunList(*blob, {x, y}); in onDrawTextBlob() local 2438 this->onDrawGlyphRunList(glyphRunList, paint); in onDrawTextBlob() 2441 void SkCanvas::onDrawGlyphRunList(const sktext::GlyphRunList& glyphRunList, const SkPaint& paint) { in onDrawGlyphRunList() argument 2442 SkRect bounds = glyphRunList.sourceBoundsWithOrigin(); in onDrawGlyphRunList() 2448 this->topDevice()->drawGlyphRunList(this, glyphRunList, paint, layer->paint()); in onDrawGlyphRunList() 2456 auto glyphRunList = fScratchGlyphRunBuilder->blobToGlyphRunList(blob, origin); in convertBlobToSlug() local 2457 return this->onConvertGlyphRunListToSlug(glyphRunList, paint); in convertBlobToSlug() 2462 const sktext::GlyphRunList& glyphRunList, const SkPaint& paint) { in onConvertGlyphRunListToSlug() argument 2463 SkRect bounds = glyphRunList.sourceBoundsWithOrigin(); in onConvertGlyphRunListToSlug() 2469 return this->topDevice()->convertGlyphRunListToSlug(glyphRunList, paint, layer->paint()); in onConvertGlyphRunListToSlug() [all …]
|
D | SkTextBlobTrace.cpp | 87 const sktext::GlyphRunList& glyphRunList, const SkPaint& paint) { in capture() argument 88 const SkTextBlob* blob = glyphRunList.blob(); in capture() 92 fWriteBuffer.writePoint(glyphRunList.origin()); in capture()
|
D | SkRecorder.cpp | 263 const sktext::GlyphRunList& glyphRunList, const SkPaint& paint) { in onDrawGlyphRunList() argument 264 sk_sp<SkTextBlob> blob = sk_ref_sp(glyphRunList.blob()); in onDrawGlyphRunList() 265 if (glyphRunList.blob() == nullptr) { in onDrawGlyphRunList() 266 blob = glyphRunList.makeBlob(); in onDrawGlyphRunList() 269 this->onDrawTextBlob(blob.get(), glyphRunList.origin().x(), glyphRunList.origin().y(), paint); in onDrawGlyphRunList()
|
D | SkChromeRemoteGlyphCache.cpp | 665 const sktext::GlyphRunList& glyphRunList, in onDrawGlyphRunList() argument 669 drawMatrix.preTranslate(glyphRunList.origin().x(), glyphRunList.origin().y()); in onDrawGlyphRunList() 674 auto container = SubRunContainer::MakeInAlloc(glyphRunList, in onDrawGlyphRunList() 686 sk_sp<sktext::gpu::Slug> convertGlyphRunListToSlug(const sktext::GlyphRunList& glyphRunList, in convertGlyphRunListToSlug() argument 691 positionMatrix.preTranslate(glyphRunList.origin().x(), glyphRunList.origin().y()); in convertGlyphRunListToSlug() 701 auto container = SubRunContainer::MakeInAlloc(glyphRunList, in convertGlyphRunListToSlug() 714 glyphRunList, in convertGlyphRunListToSlug() 722 glyphRunList, in convertGlyphRunListToSlug()
|
D | SkDraw_text.cpp | 113 const sktext::GlyphRunList& glyphRunList, in drawGlyphRunList() argument 122 glyphPainter->drawForBitmapDevice(canvas, this, glyphRunList, paint, in drawGlyphRunList()
|
D | SkGlyphRunPainter.cpp | 163 const sktext::GlyphRunList& glyphRunList, in drawForBitmapDevice() argument 170 const int maxGlyphRunSize = glyphRunList.maxGlyphRunSize(); in drawForBitmapDevice() 184 SkPoint drawOrigin = glyphRunList.origin(); in drawForBitmapDevice() 187 for (auto& glyphRun : glyphRunList) { in drawForBitmapDevice()
|
D | SkGlyphRunPainter.h | 41 const sktext::GlyphRunList& glyphRunList, const SkPaint& paint,
|
D | SkBitmapDevice.cpp | 522 const sktext::GlyphRunList& glyphRunList, in onDrawGlyphRunList() argument 525 SkASSERT(!glyphRunList.hasRSXForm()); in onDrawGlyphRunList() 526 LOOP_TILER( drawGlyphRunList(canvas, &fGlyphPainter, glyphRunList, drawingPaint), nullptr ) in onDrawGlyphRunList()
|
/external/skia/src/gpu/ganesh/ |
D | Device.cpp | 1120 const sktext::GlyphRunList& glyphRunList, in testingOnly_drawGlyphRunListWithSlug() argument 1123 auto slug = this->convertGlyphRunListToSlug(glyphRunList, initialPaint, drawingPaint); in testingOnly_drawGlyphRunListWithSlug() 1133 const sktext::GlyphRunList& glyphRunList, in testingOnly_drawGlyphRunListWithSerializedSlug() argument 1137 if (glyphRunList.blob() == nullptr) { in testingOnly_drawGlyphRunListWithSerializedSlug() 1138 auto slug = this->convertGlyphRunListToSlug(glyphRunList, initialPaint, drawingPaint); in testingOnly_drawGlyphRunListWithSerializedSlug() 1145 canvas, *glyphRunList.blob(), glyphRunList.origin(), initialPaint); in testingOnly_drawGlyphRunListWithSerializedSlug() 1218 const sktext::GlyphRunList& glyphRunList, in testingOnly_drawGlyphRunListWithSerializedSlugAndStrike() argument 1221 if (glyphRunList.blob() == nullptr) { in testingOnly_drawGlyphRunListWithSerializedSlugAndStrike() 1222 auto slug = this->convertGlyphRunListToSlug(glyphRunList, initialPaint, drawingPaint); in testingOnly_drawGlyphRunListWithSerializedSlugAndStrike() 1248 *glyphRunList.blob(), in testingOnly_drawGlyphRunListWithSerializedSlugAndStrike() [all …]
|
D | Device_v1.h | 184 const sktext::GlyphRunList& glyphRunList, 254 const sktext::GlyphRunList& glyphRunList, 261 const sktext::GlyphRunList& glyphRunList, 269 const sktext::GlyphRunList& glyphRunList,
|
/external/skia/src/text/ |
D | GlyphRun.cpp | 46 SkSpan<const GlyphRun> glyphRunList, in GlyphRunList() argument 48 : fGlyphRuns{glyphRunList} in GlyphRunList() 374 auto SkSubRunBuffers::EnsureBuffers(const GlyphRunList& glyphRunList) -> ScopedBuffers { in EnsureBuffers() argument 376 for (const GlyphRun& run : glyphRunList) { in EnsureBuffers() 379 return ScopedBuffers(glyphRunList.buffers(), size); in EnsureBuffers()
|
D | GlyphRun.h | 48 static ScopedBuffers SK_WARN_UNUSED_RESULT EnsureBuffers(const GlyphRunList& glyphRunList); 96 SkSpan<const GlyphRun> glyphRunList,
|
/external/skia/tests/ |
D | GrTextBlobTest.cpp | 361 auto glyphRunList = grBuilder.blobToGlyphRunList(*blob, {100, 100}); in DEF_TEST() local 377 TextBlob::Key::Make(glyphRunList, paint, matrix1, strikeDevice)); in DEF_TEST() 379 TextBlob::Key::Make(glyphRunList, paint, matrix1, strikeDevice)); in DEF_TEST() 381 TextBlob::Key::Make(glyphRunList, paint, matrix2, strikeDevice)); in DEF_TEST()
|
/external/skia/src/gpu/ganesh/ops/ |
D | AtlasTextOp.cpp | 531 auto glyphRunList = builder.textToGlyphRunList(font, skPaint, text, textLen, drawOrigin); in CreateOpTestingOnly() local 532 if (glyphRunList.empty()) { in CreateOpTestingOnly() 545 glyphRunList, skPaint, drawMatrix, strikeDeviceInfo, SkStrikeCache::GlobalStrikeCache()); in CreateOpTestingOnly() 554 nullptr, mtxProvider, glyphRunList.origin(), skPaint, blob, sdc); in CreateOpTestingOnly()
|
/external/skia/src/svg/ |
D | SkSVGDevice.cpp | 1113 const sktext::GlyphRunList& glyphRunList, in onDrawGlyphRunList() argument 1116 SkASSERT(!glyphRunList.hasRSXForm()); in onDrawGlyphRunList() 1123 for (auto& glyphRun : glyphRunList) { in onDrawGlyphRunList() 1124 AddPath(glyphRun, glyphRunList.origin(), &path); in onDrawGlyphRunList() 1133 for (auto& glyphRun : glyphRunList) { in onDrawGlyphRunList() 1137 SVGTextBuilder builder(glyphRunList.origin(), glyphRun); in onDrawGlyphRunList()
|
/external/skia/include/core/ |
D | SkOverdrawCanvas.h | 26 const sktext::GlyphRunList& glyphRunList, const SkPaint& paint) override;
|