/external/skia/src/core/ |
D | SkStrikeSpec.cpp | 27 SkStrikeSpec::SkStrikeSpec(const SkDescriptor& descriptor, sk_sp<SkTypeface> typeface) in SkStrikeSpec() function in SkStrikeSpec 31 SkStrikeSpec::SkStrikeSpec(const SkStrikeSpec&) = default; 32 SkStrikeSpec::SkStrikeSpec(SkStrikeSpec&&) = default; 33 SkStrikeSpec::~SkStrikeSpec() = default; 35 SkStrikeSpec SkStrikeSpec::MakeMask(const SkFont& font, const SkPaint& paint, in MakeMask() 40 return SkStrikeSpec(font, paint, surfaceProps, scalerContextFlags, deviceMatrix); in MakeMask() 43 SkStrikeSpec SkStrikeSpec::MakeTransformMask(const SkFont& font, in MakeTransformMask() 50 return SkStrikeSpec(sourceFont, paint, surfaceProps, scalerContextFlags, deviceMatrix); in MakeTransformMask() 53 std::tuple<SkStrikeSpec, SkScalar> SkStrikeSpec::MakePath( in MakePath() 69 return {SkStrikeSpec(pathFont, pathPaint, surfaceProps, scalerContextFlags, SkMatrix::I()), in MakePath() [all …]
|
D | SkStrikeSpec.h | 34 class SkStrikeSpec { 36 SkStrikeSpec(const SkDescriptor& descriptor, sk_sp<SkTypeface> typeface); 37 SkStrikeSpec(const SkStrikeSpec&); 38 SkStrikeSpec& operator=(const SkStrikeSpec&) = delete; 40 SkStrikeSpec(SkStrikeSpec&&); 41 SkStrikeSpec& operator=(SkStrikeSpec&&) = delete; 43 ~SkStrikeSpec(); 46 static SkStrikeSpec MakeMask( 55 static SkStrikeSpec MakeTransformMask( 63 static std::tuple<SkStrikeSpec, SkScalar> MakePath( [all …]
|
D | SkStrikeCache.h | 44 const SkStrikeSpec& strikeSpec, 48 sk_sp<SkStrike> findOrCreateStrike(const SkStrikeSpec& strikeSpec) SK_EXCLUDES(fLock); 51 const SkStrikeSpec& strikeSpec) override SK_EXCLUDES(fLock); 75 const SkStrikeSpec& strikeSpec,
|
D | SkGlyphRunPainter.cpp | 192 if (SkStrikeSpec::ShouldDrawAsPath(paint, runFont, positionMatrix)) { in drawForBitmapDevice() 194 SkStrikeSpec::MakePath(runFont, paint, props, fScalerContextFlags); in drawForBitmapDevice() 266 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in drawForBitmapDevice() 283 SkStrikeSpec scaleStrikeSpec = SkStrikeSpec::MakeMask( in drawForBitmapDevice() 324 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in drawForBitmapDevice()
|
D | SkFont.cpp | 175 auto [strikeSpec, strikeToSourceScale] = SkStrikeSpec::MakeCanonicalized(*this, paint); in measureText() 213 auto [strikeSpec, strikeToSourceScale] = SkStrikeSpec::MakeCanonicalized(*this, paint); in getWidthsBounds() 234 auto [strikeSpec, strikeToSourceScale] = SkStrikeSpec::MakeCanonicalized(*this); in getPos() 248 auto [strikeSpec, strikeToSourceScale] = SkStrikeSpec::MakeCanonicalized(*this); in getXPos() 266 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(font); in getPaths() 293 auto [strikeSpec, strikeToSourceScale] = SkStrikeSpec::MakeCanonicalized(*this, nullptr); in getMetrics()
|
D | SkStrike.h | 44 const SkStrikeSpec& strikeSpec, 112 const SkStrikeSpec& strikeSpec() const { in strikeSpec() 155 const SkStrikeSpec fStrikeSpec;
|
D | SkStrikeCache.cpp | 38 auto SkStrikeCache::findOrCreateStrike(const SkStrikeSpec& strikeSpec) -> sk_sp<SkStrike> { in findOrCreateStrike() 48 sk_sp<StrikeForGPU> SkStrikeCache::findOrCreateScopedStrike(const SkStrikeSpec& strikeSpec) { in findOrCreateScopedStrike() 125 const SkStrikeSpec& strikeSpec, in createStrike() 133 const SkStrikeSpec& strikeSpec, in internalCreateStrike()
|
D | SkChromeRemoteGlyphCache.cpp | 167 RemoteStrike(const SkStrikeSpec& strikeSpec, 198 void setStrikeSpec(const SkStrikeSpec& strikeSpec); 227 const SkStrikeSpec* fStrikeSpec; 246 const SkStrikeSpec& strikeSpec, in RemoteStrike() 333 void RemoteStrike::setStrikeSpec(const SkStrikeSpec& strikeSpec) { in setStrikeSpec() 444 sk_sp<sktext::StrikeForGPU> findOrCreateScopedStrike(const SkStrikeSpec& strikeSpec) override; 455 sk_sp<RemoteStrike> getOrCreateCache(const SkStrikeSpec& strikeSpec); 558 const SkStrikeSpec& strikeSpec) { in findOrCreateScopedStrike() 579 sk_sp<RemoteStrike> SkStrikeServerImpl::getOrCreateCache(const SkStrikeSpec& strikeSpec) { in getOrCreateCache() 948 SkStrikeSpec strikeSpec{*clientDesc, *tfPtr}; in readStrikeData()
|
D | BUILD.bazel | 303 "SkStrikeSpec.cpp", 304 "SkStrikeSpec.h",
|
/external/skia/src/text/ |
D | StrikeForGPU.cpp | 26 SkStrikePromise::SkStrikePromise(const SkStrikeSpec& spec) in SkStrikePromise() 27 : fStrikeOrSpec{std::make_unique<SkStrikeSpec>(spec)} {} in SkStrikePromise() 30 if (std::holds_alternative<std::unique_ptr<SkStrikeSpec>>(fStrikeOrSpec)) { in strike() 32 std::unique_ptr<SkStrikeSpec> spec = in strike() 33 std::exchange(std::get<std::unique_ptr<SkStrikeSpec>>(fStrikeOrSpec), nullptr); in strike() 45 if (std::holds_alternative<std::unique_ptr<SkStrikeSpec>>(fStrikeOrSpec)) { in descriptor() 46 return std::get<std::unique_ptr<SkStrikeSpec>>(fStrikeOrSpec)->descriptor(); in descriptor()
|
D | StrikeForGPU.h | 28 class SkStrikeSpec; variable 52 explicit SkStrikePromise(const SkStrikeSpec& spec); 69 std::variant<sk_sp<SkStrike>, std::unique_ptr<SkStrikeSpec>> fStrikeOrSpec; 129 virtual sk_sp<StrikeForGPU> findOrCreateScopedStrike(const SkStrikeSpec& strikeSpec) = 0;
|
D | GlyphRun.cpp | 128 auto [strikeSpec, strikeToSourceScale] = SkStrikeSpec::MakeCanonicalized(font, &paint); in glyphrun_source_bounds() 193 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(font); in draw_text_positions()
|
/external/skia/src/text/gpu/ |
D | StrikeCache.h | 26 TextStrike(const SkStrikeSpec& strikeSpec); 29 const SkStrikeSpec& strikeSpec() const { return fStrikeSpec; } in strikeSpec() 33 const SkStrikeSpec fStrikeSpec; 55 sk_sp<TextStrike> findOrCreateStrike(const SkStrikeSpec& strikeSpec); 60 sk_sp<TextStrike> generateStrike(const SkStrikeSpec& strikeSpec);
|
D | StrikeCache.cpp | 23 sk_sp<TextStrike> StrikeCache::findOrCreateStrike(const SkStrikeSpec& strikeSpec) { in findOrCreateStrike() 30 sk_sp<TextStrike> StrikeCache::generateStrike(const SkStrikeSpec& strikeSpec) { in generateStrike() 44 TextStrike::TextStrike(const SkStrikeSpec& strikeSpec) : fStrikeSpec{strikeSpec} {} in TextStrike()
|
D | SubRunContainer.cpp | 2526 SkStrikeSpec::MakeSDFT( in MakeInAlloc() 2571 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in MakeInAlloc() 2604 SkStrikeSpec::MakePath(runFont, runPaint, deviceProps, scalerContextFlags); in MakeInAlloc() 2627 SkStrikeSpec::MakePath(runFont, runPaint, deviceProps, scalerContextFlags); in MakeInAlloc() 2684 const SkStrikeSpec strikeSpec = SkStrikeSpec::MakeTransformMask( in MakeInAlloc() 2719 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeTransformMask( in MakeInAlloc()
|
/external/skia/tests/ |
D | SkStrikeCacheTest.cpp | 34 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in DEF_TEST()
|
D | SkStrikeTest.cpp | 101 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in DEF_TEST()
|
D | GrGlyphVectorTest.cpp | 46 auto [strikeSpec, _] = SkStrikeSpec::MakeCanonicalized(font); in DEF_TEST() 79 auto [strikeSpec, _] = SkStrikeSpec::MakeCanonicalized(SkFont()); in DEF_TEST()
|
D | StrikeForGPUTest.cpp | 28 auto [strikeSpec, _] = SkStrikeSpec::MakeCanonicalized(SkFont()); in DEF_TEST()
|
/external/skia/bench/ |
D | PathTextBench.cpp | 50 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(defaultFont); in onDelayedSetup()
|
/external/skia/src/pdf/ |
D | SkPDFMakeCIDGlyphWidthsArray.cpp | 105 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(typeface, &emSize); in SkPDFMakeCIDGlyphWidthsArray()
|
D | SkPDFFont.cpp | 535 SkStrikeSpec make_small_strike(const SkTypeface& typeface) { in make_small_strike() 539 return SkStrikeSpec::MakeMask(font, in make_small_strike() 558 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(*typeface, &unitsPerEm); in emit_subset_type3() 566 SkStrikeSpec strikeSpecSmall = kBitmapFontSize > 0 ? make_small_strike(*typeface) in emit_subset_type3()
|
D | SkPDFType1Font.cpp | 315 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(*typeface, &emSize); in SkPDFEmitType1Font()
|
/external/skia/include/core/ |
D | SkFont.h | 536 friend class SkStrikeSpec; variable
|
/external/skia/tools/viewer/ |
D | PathTextSlide.cpp | 41 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(defaultFont); in load()
|