Home
last modified time | relevance | path

Searched refs:SkStrikeSpec (Results 1 – 25 of 26) sorted by relevance

12

/third_party/skia/src/core/
DSkStrikeSpec.cpp22 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 …]
DSkStrikeSpec.h29 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 …]
DSkGlyphRunPainter.cpp101 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()
DSkStrikeCache.h43 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,
DSkFont.cpp172 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()
DSkStrikeForGPU.h26 class SkStrikeSpec; variable
72 virtual SkScopedStrikeForGPU findOrCreateScopedStrike(const SkStrikeSpec& strikeSpec) = 0;
DSkStrikeCache.cpp36 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()
DSkRemoteGlyphCache.cpp239 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()
DSkGlyphRun.cpp49 auto [strikeSpec, strikeToSourceScale] = SkStrikeSpec::MakeCanonicalized(fFont, &paint); in sourceBounds()
176 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(font); in draw_text_positions()
DSkGlyphRunPainter.h25 class SkStrikeSpec; variable
DBUILD.bazel332 "SkStrikeSpec.cpp",
333 "SkStrikeSpec.h",
DSkTextBlob.cpp932 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(interceptFont, &interceptPaint); in get_glyph_run_intercepts()
/third_party/skia/src/gpu/text/
DGrStrikeCache.h25 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);
DGrStrikeCache.cpp21 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/
DSkStrikeCacheTest.cpp25 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in DEF_TEST()
DSkScalerCacheTest.cpp52 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeMask( in DEF_TEST()
DSkRemoteGlyphCacheTest.cpp471 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/
DPathTextBench.cpp50 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(defaultFont); in onDelayedSetup()
DSkGlyphCacheBench.cpp26 auto strikeSpec = SkStrikeSpec::MakeMask( in do_font_stuff()
/third_party/skia/src/pdf/
DSkPDFMakeCIDGlyphWidthsArray.cpp105 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(typeface, &emSize); in SkPDFMakeCIDGlyphWidthsArray()
DSkPDFFont.cpp518 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()
DSkPDFType1Font.cpp311 SkStrikeSpec strikeSpec = SkStrikeSpec::MakePDFVector(*typeface, &emSize); in SkPDFEmitType1Font()
/third_party/skia/include/core/
DSkFont.h531 friend class SkStrikeSpec; variable
/third_party/skia/samplecode/
DSamplePathText.cpp38 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(defaultFont); in onOnceBeforeDraw()
/third_party/skia/gn/
Dcore.gni368 "$_src/core/SkStrikeSpec.cpp",
369 "$_src/core/SkStrikeSpec.h",

12