/third_party/skia/bench/ |
H A D | GlyphQuadFillBench.cpp | 42 auto glyphRunList = builder.textToGlyphRunList(font, paint, gText, len, {100, 100}); variable 43 SkASSERT(!glyphRunList.empty()); 51 const SkPoint drawOrigin = glyphRunList.origin(); 54 fBlob = GrTextBlob::Make(glyphRunList, paint, drawMatrix, control, &painter);
|
/third_party/skia/src/core/ |
H A D | SkOverdrawCanvas.cpp | 67 void onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) override { 68 SkASSERT(!glyphRunList.hasRSXForm()); 69 fPainter.drawForBitmapDevice(glyphRunList, paint, SkMatrix(), this); 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() 91 device.drawGlyphRunList(glyphRunList, paint); in onDrawGlyphRunList() 85 onDrawGlyphRunList( const SkGlyphRunList& glyphRunList, const SkPaint& paint) onDrawGlyphRunList() argument
|
H A 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()
|
H A D | SkGlyphRunPainter.cpp | 81 const SkGlyphRunList& glyphRunList, const SkPaint& paint, const SkMatrix& deviceMatrix, in drawForBitmapDevice() 83 ScopedBuffers _ = this->ensureBuffers(glyphRunList); in drawForBitmapDevice() 95 SkPoint drawOrigin = glyphRunList.origin(); in drawForBitmapDevice() 96 for (auto& glyphRun : glyphRunList) { in drawForBitmapDevice() 375 auto SkGlyphRunListPainter::ensureBuffers(const SkGlyphRunList& glyphRunList) -> ScopedBuffers { 377 for (const SkGlyphRun& run : glyphRunList) { 80 drawForBitmapDevice( const SkGlyphRunList& glyphRunList, const SkPaint& paint, const SkMatrix& deviceMatrix, const BitmapDevicePainter* bitmapDevice) drawForBitmapDevice() argument
|
H A 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()
|
H A D | SkDevice.cpp | 438 void SkBaseDevice::drawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) { in drawGlyphRunList() argument 443 if (!glyphRunList.hasRSXForm()) { in drawGlyphRunList() 444 this->onDrawGlyphRunList(glyphRunList, paint); in drawGlyphRunList() 446 this->simplifyGlyphRunRSXFormAndRedraw(glyphRunList, paint); in drawGlyphRunList() 450 void SkBaseDevice::simplifyGlyphRunRSXFormAndRedraw(const SkGlyphRunList& glyphRunList, in simplifyGlyphRunRSXFormAndRedraw() argument 452 for (const SkGlyphRun& run : glyphRunList) { in simplifyGlyphRunRSXFormAndRedraw() 456 SkPoint origin = glyphRunList.origin(); in simplifyGlyphRunRSXFormAndRedraw()
|
H A D | SkGlyphRunPainter.h | 90 const SkGlyphRunList& glyphRunList, const SkPaint& paint, const SkMatrix& deviceMatrix, 116 ScopedBuffers SK_WARN_UNUSED_RESULT ensureBuffers(const SkGlyphRunList& glyphRunList);
|
H A D | SkDraw_text.cpp | 127 void SkDraw::drawGlyphRunList(const SkGlyphRunList& glyphRunList, in drawGlyphRunList() argument 137 glyphPainter->drawForBitmapDevice(glyphRunList, paint, fMatrixProvider->localToDevice(), this); in drawGlyphRunList()
|
H A D | SkDevice.h | 201 void drawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint); 303 virtual void onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) = 0; 418 void simplifyGlyphRunRSXFormAndRedraw(const SkGlyphRunList& glyphRunList, const SkPaint& paint); 532 void onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) override {}
|
H A D | SkCanvas.cpp | 2305 auto glyphRunList = fScratchGlyphRunBuilder->blobToGlyphRunList(*blob, {x, y}); 2306 this->onDrawGlyphRunList(glyphRunList, paint); 2309 void SkCanvas::onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) { 2310 SkRect bounds = glyphRunList.sourceBounds(); 2316 this->topDevice()->drawGlyphRunList(glyphRunList, layer->paint()); 2326 const SkGlyphRunList& glyphRunList = 2329 if (!glyphRunList.empty()) { 2330 this->onDrawGlyphRunList(glyphRunList, paint); 2348 SkGlyphRunList glyphRunList { 2353 this->onDrawGlyphRunList(glyphRunList, pain [all...] |
H A D | SkDraw.h | 64 void drawGlyphRunList(const SkGlyphRunList& glyphRunList,
|
H A D | SkBitmapDevice.h | 115 void onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) override;
|
H A D | SkGlyphRun.h | 73 SkSpan<const SkGlyphRun> glyphRunList);
|
H A D | SkRecorder.h | 76 void onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) override;
|
/third_party/skia/src/gpu/v1/ |
H A D | SurfaceDrawContext.cpp | 331 const SkGlyphRunList& glyphRunList, in drawGlyphRunListNoCache() 335 const SkPoint drawOrigin = glyphRunList.origin(); in drawGlyphRunListNoCache() 340 GrSubRunNoCachePainter painter{this, alloc, clip, viewMatrix, glyphRunList, paint}; in drawGlyphRunListNoCache() 341 for (auto& glyphRun : glyphRunList) { in drawGlyphRunListNoCache() 353 const SkGlyphRunList& glyphRunList, in drawGlyphRunListWithCache() 356 drawMatrix.preTranslate(glyphRunList.origin().x(), glyphRunList.origin().y()); in drawGlyphRunListWithCache() 362 auto [canCache, key] = GrTextBlob::Key::Make(glyphRunList, in drawGlyphRunListWithCache() 383 blob = GrTextBlob::Make(glyphRunList, paint, drawMatrix, control, &fGlyphPainter); in drawGlyphRunListWithCache() 389 blob = textBlobCache->addOrReturnExisting(glyphRunList, blo in drawGlyphRunListWithCache() 329 drawGlyphRunListNoCache(const GrClip* clip, const SkMatrixProvider& viewMatrix, const SkGlyphRunList& glyphRunList, const SkPaint& paint) drawGlyphRunListNoCache() argument 351 drawGlyphRunListWithCache(const GrClip* clip, const SkMatrixProvider& viewMatrix, const SkGlyphRunList& glyphRunList, const SkPaint& paint) drawGlyphRunListWithCache() argument 400 drawGlyphRunList(const GrClip* clip, const SkMatrixProvider& viewMatrix, const SkGlyphRunList& glyphRunList, const SkPaint& paint) drawGlyphRunList() argument [all...] |
H A D | SurfaceDrawContext_v1.h | 475 * @param glyphRunList text, text positions, and paint. 479 const SkGlyphRunList& glyphRunList, 486 * @param glyphRunList text, text positions, and paint. 490 const SkGlyphRunList& glyphRunList, 497 * @param glyphRunList text, text positions, and paint. 501 const SkGlyphRunList& glyphRunList,
|
/third_party/skia/src/gpu/text/ |
H A D | GrTextBlob.cpp | 217 const SkGlyphRunList& glyphRunList, in draw() 221 SkPoint drawOrigin = glyphRunList.origin(); in draw() 599 const SkGlyphRunList& glyphRunList, in draw() 603 clip, viewMatrix, glyphRunList.origin(), paint, sdc, nullptr); in draw() 954 const SkGlyphRunList& glyphRunList, in draw() 958 clip, viewMatrix, glyphRunList.origin(), paint, sdc, nullptr); in draw() 1231 const SkGlyphRunList& glyphRunList, in draw() 1235 clip, viewMatrix, glyphRunList.origin(), paint, sdc, nullptr); in draw() 1397 auto GrTextBlob::Key::Make(const SkGlyphRunList& glyphRunList, 1407 bool canCache = glyphRunList 215 draw(const GrClip* clip, const SkMatrixProvider& viewMatrix, const SkGlyphRunList& glyphRunList, const SkPaint& paint, skgpu::v1::SurfaceDrawContext* sdc) const draw() argument 597 draw(const GrClip* clip, const SkMatrixProvider& viewMatrix, const SkGlyphRunList& glyphRunList, const SkPaint& paint, skgpu::v1::SurfaceDrawContext* sdc) const draw() argument 952 draw(const GrClip* clip, const SkMatrixProvider& viewMatrix, const SkGlyphRunList& glyphRunList, const SkPaint& paint, skgpu::v1::SurfaceDrawContext* sdc) const draw() argument 1229 draw(const GrClip* clip, const SkMatrixProvider& viewMatrix, const SkGlyphRunList& glyphRunList, const SkPaint& paint, skgpu::v1::SurfaceDrawContext* sdc) const draw() argument 1511 Make(const SkGlyphRunList& glyphRunList, const SkPaint& paint, const SkMatrix& drawMatrix, const GrSDFTControl& control, SkGlyphRunListPainter* painter) Make() argument 2327 GrSubRunNoCachePainter(skgpu::v1::SurfaceDrawContext* sdc, GrSubRunAllocator* alloc, const GrClip* clip, const SkMatrixProvider& viewMatrix, const SkGlyphRunList& glyphRunList, const SkPaint& paint) GrSubRunNoCachePainter() argument [all...] |
H A D | GrTextBlobCache.cpp | 24 const SkGlyphRunList& glyphRunList, sk_sp<GrTextBlob> blob) { in addOrReturnExisting() 27 glyphRunList.temporaryShuntBlobNotifyAddedToCache(fMessageBusID); in addOrReturnExisting() 23 addOrReturnExisting( const SkGlyphRunList& glyphRunList, sk_sp<GrTextBlob> blob) addOrReturnExisting() argument
|
H A D | GrTextBlobCache.h | 27 const SkGlyphRunList& glyphRunList, sk_sp<GrTextBlob> blob) SK_EXCLUDES(fSpinLock);
|
H A D | GrTextBlob.h | 187 static std::tuple<bool, Key> Make(const SkGlyphRunList& glyphRunList, 217 static sk_sp<GrTextBlob> Make(const SkGlyphRunList& glyphRunList,
|
/third_party/skia/src/gpu/ops/ |
H A D | AtlasTextOp.cpp | 500 auto glyphRunList = builder.textToGlyphRunList(font, skPaint, text, textLen, drawOrigin); in CreateOpTestingOnly() local 501 if (glyphRunList.empty()) { in CreateOpTestingOnly() 510 sk_sp<GrTextBlob> blob = GrTextBlob::Make(glyphRunList, skPaint, drawMatrix, control, painter); in CreateOpTestingOnly() 520 nullptr, mtxProvider, glyphRunList.origin(), skPaint, sdc, nullptr); in CreateOpTestingOnly()
|
/third_party/skia/src/svg/ |
H A D | SkSVGDevice.h | 38 void onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) override;
|
/third_party/skia/include/core/ |
H A D | SkOverdrawCanvas.h | 25 void onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) override;
|
/third_party/skia/src/pdf/ |
H A D | SkPDFDevice.h | 87 void onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) override;
|
/third_party/skia/experimental/graphite/src/ |
H A D | Device.h | 105 void onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) override {}
|