/third_party/skia/src/core/ |
D | SkStrikeSpec.cpp | 22 SkStrikeSpec::SkStrikeSpec(const SkDescriptor& descriptor, sk_sp<SkTypeface> typeface) in SkStrikeSpec() function in SkStrikeSpec 26 SkStrikeSpec::SkStrikeSpec(const SkStrikeSpec&) = default; 27 SkStrikeSpec::SkStrikeSpec(SkStrikeSpec&&) = default; 28 SkStrikeSpec::~SkStrikeSpec() = default; 30 SkStrikeSpec SkStrikeSpec::MakeMask(const SkFont& font, const SkPaint& paint, in MakeMask() 35 return SkStrikeSpec(font, paint, surfaceProps, scalerContextFlags, deviceMatrix); in MakeMask() 38 std::tuple<SkStrikeSpec, SkScalar> SkStrikeSpec::MakePath( in MakePath() 54 return {SkStrikeSpec(pathFont, pathPaint, surfaceProps, scalerContextFlags, SkMatrix::I()), in MakePath() 58 std::tuple<SkStrikeSpec, SkScalar> SkStrikeSpec::MakeSourceFallback( in MakeSourceFallback() 85 return {SkStrikeSpec(fallbackFont, paint, surfaceProps, scalerContextFlags, SkMatrix::I()), in MakeSourceFallback() [all …]
|
D | SkStrikeSpec.h | 29 class SkStrikeSpec { 31 SkStrikeSpec(const SkDescriptor& descriptor, sk_sp<SkTypeface> typeface); 32 SkStrikeSpec(const SkStrikeSpec&); 33 SkStrikeSpec& operator=(const SkStrikeSpec&) = delete; 35 SkStrikeSpec(SkStrikeSpec&&); 36 SkStrikeSpec& operator=(SkStrikeSpec&&) = delete; 38 ~SkStrikeSpec(); 41 static SkStrikeSpec MakeMask( 49 static std::tuple<SkStrikeSpec, SkScalar> MakePath( 55 static std::tuple<SkStrikeSpec, SkScalar> MakeSourceFallback( [all …]
|
D | SkGlyphRunPainter.cpp | 101 if (SkStrikeSpec::ShouldDrawAsPath(paint, runFont, deviceMatrix)) { in drawForBitmapDevice() 104 SkStrikeSpec::MakePath(runFont, paint, props, fScalerContextFlags); in drawForBitmapDevice() 121 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in drawForBitmapDevice() 138 SkStrikeSpec scaleStrikeSpec = SkStrikeSpec::MakeMask( in drawForBitmapDevice() 175 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in drawForBitmapDevice() 250 SkStrikeSpec::MakeSDFT(runFont, runPaint, fDeviceProps, drawMatrix, control); in processGlyphRun() 281 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in processGlyphRun() 312 SkStrikeSpec::MakePath(runFont, runPaint, fDeviceProps, fScalerContextFlags); in processGlyphRun() 340 auto [strikeSpec, strikeToSourceScale] = SkStrikeSpec::MakeSourceFallback( in processGlyphRun()
|
D | SkStrikeCache.h | 43 const SkStrikeSpec& strikeSpec, in SkStrike() 112 const SkStrikeSpec& strikeSpec() const { in strikeSpec() 148 const SkStrikeSpec fStrikeSpec; 167 const SkStrikeSpec& strikeSpec, 171 sk_sp<SkStrike> findOrCreateStrike(const SkStrikeSpec& strikeSpec) SK_EXCLUDES(fLock); 174 const SkStrikeSpec& strikeSpec) override SK_EXCLUDES(fLock); 197 const SkStrikeSpec& strikeSpec,
|
D | SkFont.cpp | 172 auto [strikeSpec, strikeToSourceScale] = SkStrikeSpec::MakeCanonicalized(*this, paint); in measureText() 210 auto [strikeSpec, strikeToSourceScale] = SkStrikeSpec::MakeCanonicalized(*this, paint); in getWidthsBounds() 231 auto [strikeSpec, strikeToSourceScale] = SkStrikeSpec::MakeCanonicalized(*this); in getPos() 245 auto [strikeSpec, strikeToSourceScale] = SkStrikeSpec::MakeCanonicalized(*this); in getXPos() 263 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(font); in getPaths() 290 auto [strikeSpec, strikeToSourceScale] = SkStrikeSpec::MakeCanonicalized(*this, nullptr); in getMetrics()
|
D | SkStrikeForGPU.h | 26 class SkStrikeSpec; variable 72 virtual SkScopedStrikeForGPU findOrCreateScopedStrike(const SkStrikeSpec& strikeSpec) = 0;
|
D | SkStrikeCache.cpp | 36 auto SkStrikeCache::findOrCreateStrike(const SkStrikeSpec& strikeSpec) -> sk_sp<SkStrike> { in findOrCreateStrike() 46 SkScopedStrikeForGPU SkStrikeCache::findOrCreateScopedStrike(const SkStrikeSpec& strikeSpec) { in findOrCreateScopedStrike() 153 const SkStrikeSpec& strikeSpec, in createStrike() 161 const SkStrikeSpec& strikeSpec, in internalCreateStrike()
|
D | SkRemoteGlyphCache.cpp | 239 RemoteStrike(const SkStrikeSpec& strikeSpec, 251 void setStrikeSpec(const SkStrikeSpec& strikeSpec); 335 const SkStrikeSpec* fStrikeSpec; 356 const SkStrikeSpec& strikeSpec, in RemoteStrike() 435 void RemoteStrike::setStrikeSpec(const SkStrikeSpec& strikeSpec) { in setStrikeSpec() 586 SkScopedStrikeForGPU findOrCreateScopedStrike(const SkStrikeSpec& strikeSpec) override; 597 RemoteStrike* getOrCreateCache(const SkStrikeSpec& strikeSpec); 702 SkScopedStrikeForGPU SkStrikeServerImpl::findOrCreateScopedStrike(const SkStrikeSpec& strikeSpec) { in findOrCreateScopedStrike() 721 RemoteStrike* SkStrikeServerImpl::getOrCreateCache(const SkStrikeSpec& strikeSpec) { in getOrCreateCache() 1007 SkStrikeSpec strikeSpec{*client_desc, *tfPtr}; in readStrikeData()
|
D | SkGlyphRun.cpp | 49 auto [strikeSpec, strikeToSourceScale] = SkStrikeSpec::MakeCanonicalized(fFont, &paint); in sourceBounds() 176 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(font); in draw_text_positions()
|
D | SkGlyphRunPainter.h | 25 class SkStrikeSpec; variable
|
D | BUILD.bazel | 332 "SkStrikeSpec.cpp", 333 "SkStrikeSpec.h",
|
D | SkTextBlob.cpp | 932 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(interceptFont, &interceptPaint); in get_glyph_run_intercepts()
|
/third_party/skia/src/gpu/text/ |
D | GrStrikeCache.h | 25 GrTextStrike(const SkStrikeSpec& strikeSpec); 28 const SkStrikeSpec& strikeSpec() const { return fStrikeSpec; } in strikeSpec() 32 const SkStrikeSpec fStrikeSpec; 54 sk_sp<GrTextStrike> findOrCreateStrike(const SkStrikeSpec& strikeSpec); 59 sk_sp<GrTextStrike> generateStrike(const SkStrikeSpec& strikeSpec);
|
D | GrStrikeCache.cpp | 21 sk_sp<GrTextStrike> GrStrikeCache::findOrCreateStrike(const SkStrikeSpec& strikeSpec) { in findOrCreateStrike() 28 sk_sp<GrTextStrike> GrStrikeCache::generateStrike(const SkStrikeSpec& strikeSpec) { in generateStrike() 42 GrTextStrike::GrTextStrike(const SkStrikeSpec& strikeSpec) : fStrikeSpec{strikeSpec} {} in GrTextStrike()
|
/third_party/skia/tests/ |
D | SkStrikeCacheTest.cpp | 25 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in DEF_TEST()
|
D | SkScalerCacheTest.cpp | 52 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in DEF_TEST()
|
D | SkRemoteGlyphCacheTest.cpp | 471 SkStrikeSpec::ShouldDrawAsPath(paint, SkFont(), SkMatrix::I())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 511 !SkStrikeSpec::ShouldDrawAsPath(SkPaint(), font, SkMatrix::I())); in make_blob_causing_fallback()
|
/third_party/skia/bench/ |
D | PathTextBench.cpp | 50 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(defaultFont); in onDelayedSetup()
|
D | SkGlyphCacheBench.cpp | 26 auto strikeSpec = SkStrikeSpec::MakeMask( in do_font_stuff()
|
/third_party/skia/src/pdf/ |
D | SkPDFMakeCIDGlyphWidthsArray.cpp | 105 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(typeface, &emSize); in SkPDFMakeCIDGlyphWidthsArray()
|
D | SkPDFFont.cpp | 518 SkStrikeSpec make_small_strike(const SkTypeface& typeface) { in make_small_strike() 522 return SkStrikeSpec::MakeMask(font, in make_small_strike() 541 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(*typeface, &unitsPerEm); in emit_subset_type3() 548 SkStrikeSpec strikeSpecSmall = kBitmapFontSize > 0 ? make_small_strike(*typeface) in emit_subset_type3()
|
D | SkPDFType1Font.cpp | 311 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(*typeface, &emSize); in SkPDFEmitType1Font()
|
/third_party/skia/include/core/ |
D | SkFont.h | 531 friend class SkStrikeSpec; variable
|
/third_party/skia/samplecode/ |
D | SamplePathText.cpp | 38 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(defaultFont); in onOnceBeforeDraw()
|
/third_party/skia/gn/ |
D | core.gni | 368 "$_src/core/SkStrikeSpec.cpp", 369 "$_src/core/SkStrikeSpec.h",
|