Home
last modified time | relevance | path

Searched refs:SkScalerContext (Results 1 – 25 of 77) sorted by relevance

1234

/external/skia/src/core/
DSkScalerContext.cpp43 SkScalerContextRec SkScalerContext::PreprocessRec(const SkTypeface& typeface, in PreprocessRec()
75 SkScalerContext::SkScalerContext(sk_sp<SkTypeface> typeface, const SkScalerContextEffects& effects, in SkScalerContext() function in SkScalerContext
84 , fPreBlend(fMaskFilter ? SkMaskGamma::PreBlend() : SkScalerContext::GetMaskPreBlend(fRec)) in SkScalerContext()
94 SkScalerContext::~SkScalerContext() {} in ~SkScalerContext()
138 SkMaskGamma::PreBlend SkScalerContext::GetMaskPreBlend(const SkScalerContextRec& rec) { in GetMaskPreBlend()
149 size_t SkScalerContext::GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, in GetGammaLUTSize()
162 bool SkScalerContext::GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, in GetGammaLUTData()
180 SkGlyph SkScalerContext::makeGlyph(SkPackedGlyphID packedID) { in makeGlyph()
184 SkGlyph SkScalerContext::internalMakeGlyph(SkPackedGlyphID packedID, SkMask::Format format) { in internalMakeGlyph()
214 const bool a8FromLCD = fRec.fFlags & SkScalerContext::kGenA8FromLCD_Flag; in internalMakeGlyph()
[all …]
DSkScalerContext.h31 class SkScalerContext; variable
210 friend class SkScalerContext;
234 class SkScalerContext {
267 SkScalerContext(sk_sp<SkTypeface>, const SkScalerContextEffects&, const SkDescriptor*);
268 virtual ~SkScalerContext();
322 static std::unique_ptr<SkScalerContext> MakeEmpty(
432 unsigned hint = (fFlags & SkScalerContext::kHinting_Mask) >> in getHinting()
433 SkScalerContext::kHinting_Shift; in getHinting()
438 fFlags = (fFlags & ~SkScalerContext::kHinting_Mask) | in setHinting()
439 (static_cast<unsigned>(hinting) << SkScalerContext::kHinting_Shift); in setHinting()
DSkScalerCache.h22 class SkScalerContext; variable
56 std::unique_ptr<SkScalerContext> scaler,
112 SkScalerContext* getScalerContext() const { return fScalerContext.get(); } in getScalerContext()
144 const std::unique_ptr<SkScalerContext> fScalerContext;
DSkTypeface.cpp42 std::unique_ptr<SkScalerContext> onCreateScalerContext( in onCreateScalerContext()
45 return SkScalerContext::MakeEmpty( in onCreateScalerContext()
295 std::unique_ptr<SkScalerContext> SkTypeface::createScalerContext( in createScalerContext()
297 std::unique_ptr<SkScalerContext> scalerContext = this->onCreateScalerContext(effects, desc); in createScalerContext()
408 SkScalerContext::MakeRecAndEffectsFromFont(font, &rec, &effects); in onComputeBounds()
412 SkScalerContext::AutoDescriptorGivenRecAndEffects(rec, noeffects, &ad); in onComputeBounds()
414 std::unique_ptr<SkScalerContext> ctx = this->createScalerContext(noeffects, ad.getDesc()); in onComputeBounds()
DSkTypeface_remote.h23 class SkScalerContextProxy : public SkScalerContext {
40 using INHERITED = SkScalerContext;
92 std::unique_ptr<SkScalerContext> onCreateScalerContext( in onCreateScalerContext()
DSkStrikeCache.h45 std::unique_ptr<SkScalerContext> scaler, in Strike()
64 SkScalerContext* getScalerContext() const { in getScalerContext()
150 std::unique_ptr<SkScalerContext> scaler,
185 std::unique_ptr<SkScalerContext> scaler,
/external/skqp/src/core/
DSkScalerContext.cpp43 SkScalerContext::SkScalerContext(sk_sp<SkTypeface> typeface, const SkScalerContextEffects& effects, in SkScalerContext() function in SkScalerContext
53 , fPreBlend(fMaskFilter ? SkMaskGamma::PreBlend() : SkScalerContext::GetMaskPreBlend(fRec)) in SkScalerContext()
54 , fPreBlendForFilter(fMaskFilter ? SkScalerContext::GetMaskPreBlend(fRec) in SkScalerContext()
65 SkScalerContext::~SkScalerContext() {} in ~SkScalerContext()
106 SkMaskGamma::PreBlend SkScalerContext::GetMaskPreBlend(const SkScalerContextRec& rec) { in GetMaskPreBlend()
114 size_t SkScalerContext::GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, in GetGammaLUTSize()
127 bool SkScalerContext::GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, in GetGammaLUTData()
145 void SkScalerContext::getAdvance(SkGlyph* glyph) { in getAdvance()
154 void SkScalerContext::getMetrics(SkGlyph* glyph) { in getMetrics()
460 void SkScalerContext::getImage(const SkGlyph& origGlyph) { in getImage()
[all …]
DSkScalerContext.h30 class SkScalerContext; variable
211 friend class SkScalerContext;
232 class SkScalerContext {
263 SkScalerContext(sk_sp<SkTypeface>, const SkScalerContextEffects&, const SkDescriptor*);
264 virtual ~SkScalerContext();
443 unsigned hint = (fFlags & SkScalerContext::kHinting_Mask) >> in getHinting()
444 SkScalerContext::kHinting_Shift; in getHinting()
449 fFlags = (fFlags & ~SkScalerContext::kHinting_Mask) | in setHinting()
450 (static_cast<unsigned>(hinting) << SkScalerContext::kHinting_Shift); in setHinting()
DSkStrikeCache.h79 std::unique_ptr<SkScalerContext> scaler,
85 std::unique_ptr<SkScalerContext> scaler,
91 std::unique_ptr<SkScalerContext> scaler,
137 static std::unique_ptr<SkScalerContext> CreateScalerContext(
DSkTypeface_remote.h23 class SkScalerContextProxy : public SkScalerContext {
46 typedef SkScalerContext INHERITED;
106 SkScalerContext* onCreateScalerContext(const SkScalerContextEffects& effects, in onCreateScalerContext()
DSkStrike.h38 std::unique_ptr<SkScalerContext> scaler,
139 SkScalerContext* getScalerContext() const { return fScalerContext.get(); } in getScalerContext()
204 const std::unique_ptr<SkScalerContext> fScalerContext;
DSkStrikeCache.cpp24 std::unique_ptr<SkScalerContext> scaler, in Node()
128 std::unique_ptr<SkScalerContext> SkStrikeCache::CreateScalerContext( in CreateScalerContext()
190 auto desc = SkScalerContext::CreateDescriptorAndEffectsUsingPaint( in findOrCreateStrike()
206 auto desc = SkScalerContext::CreateDescriptorAndEffectsUsingPaint(font, paint, in FindOrCreateStrikeWithNoDeviceExclusive()
398 std::unique_ptr<SkScalerContext> scaler, in CreateStrikeExclusive()
408 std::unique_ptr<SkScalerContext> scaler, in createStrikeExclusive()
418 std::unique_ptr<SkScalerContext> scaler, in createStrike()
DSkTypeface_remote.cpp19 : SkScalerContext{std::move(tf), effects, desc} in SkScalerContextProxy()
95 auto desc = SkScalerContext::DescriptorGivenRecAndEffects(this->getRec(), this->getEffects()); in generatePath()
/external/skqp/src/ports/
DSkFontHost_FreeType_common.h37 class SkScalerContext_FreeType_Base : public SkScalerContext {
52 typedef SkScalerContext INHERITED;
96 virtual SkScalerContext* onCreateScalerContext(const SkScalerContextEffects&,
/external/skia/include/core/
DSkTypeface.h24 class SkScalerContext; variable
323 std::unique_ptr<SkScalerContext> createScalerContext(const SkScalerContextEffects&,
358 virtual std::unique_ptr<SkScalerContext> onCreateScalerContext(const SkScalerContextEffects&,
361 friend class SkScalerContext; // onFilterRec variable
/external/skqp/include/core/
DSkTypeface.h24 class SkScalerContext; variable
329 std::unique_ptr<SkScalerContext> createScalerContext(const SkScalerContextEffects&,
366 virtual SkScalerContext* onCreateScalerContext(const SkScalerContextEffects&,
369 friend class SkScalerContext; // onFilterRec variable
/external/skia/src/ports/
DSkFontHost_FreeType_common.h38 class SkScalerContext_FreeType_Base : public SkScalerContext {
53 using INHERITED = SkScalerContext;
104 std::unique_ptr<SkScalerContext> onCreateScalerContext(const SkScalerContextEffects&,
DSkScalerContext_mac_ct.h42 class SkScalerContext_Mac : public SkScalerContext {
112 using INHERITED = SkScalerContext;
/external/skia/tools/fonts/
DRandomScalerContext.cpp18 class RandomScalerContext : public SkScalerContext {
36 std::unique_ptr<SkScalerContext> fProxy;
44 : SkScalerContext(std::move(face), effects, desc) in RandomScalerContext()
144 std::unique_ptr<SkScalerContext> SkRandomTypeface::onCreateScalerContext( in onCreateScalerContext()
DTestEmptyTypeface.h27 std::unique_ptr<SkScalerContext> onCreateScalerContext( in onCreateScalerContext()
30 return SkScalerContext::MakeEmpty( in onCreateScalerContext()
DTestTypeface.cpp148 class SkTestScalerContext : public SkScalerContext {
153 : SkScalerContext(std::move(face), effects, desc) { in SkTestScalerContext()
195 std::unique_ptr<SkScalerContext> TestTypeface::onCreateScalerContext( in onCreateScalerContext()
/external/skqp/tools/fonts/
DSkRandomScalerContext.cpp19 class SkRandomScalerContext : public SkScalerContext {
37 std::unique_ptr<SkScalerContext> fProxy;
45 : SkScalerContext(std::move(face), effects, desc) in SkRandomScalerContext()
155 SkScalerContext* SkRandomTypeface::onCreateScalerContext(const SkScalerContextEffects& effects, in onCreateScalerContext()
/external/skqp/src/gpu/text/
DGrDistanceFieldAdjustTable.cpp59 size = SkScalerContext::GetGammaLUTSize(contrast, paintGamma, deviceGamma,
66 if (!SkScalerContext::GetGammaLUTData(contrast, paintGamma, deviceGamma, data.get())) {
/external/skia/src/gpu/text/
DGrDistanceFieldAdjustTable.cpp59 size = SkScalerContext::GetGammaLUTSize(contrast, paintGamma, deviceGamma,
66 if (!SkScalerContext::GetGammaLUTData(contrast, paintGamma, deviceGamma, data.get())) {
/external/skqp/tests/
DSkRemoteGlyphCacheTest.cpp655 SkScalerContext::MakeRecAndEffects( in DEF_TEST()
658 auto desc = SkScalerContext::AutoDescriptorGivenRecAndEffects(rec, effects, &ad); in DEF_TEST()
675 SkScalerContext::MakeRecAndEffects( in DEF_TEST()
678 auto desc = SkScalerContext::AutoDescriptorGivenRecAndEffects(rec, effects, &ad); in DEF_TEST()
689 SkScalerContext::MakeRecAndEffects( in DEF_TEST()
693 auto desc = SkScalerContext::AutoDescriptorGivenRecAndEffects(rec, effects, &ad); in DEF_TEST()
768 SkScalerContext::MakeRecAndEffects( in DEF_TEST()
771 auto desc = SkScalerContext::AutoDescriptorGivenRecAndEffects(rec, effects, &ad); in DEF_TEST()
787 SkScalerContext::MakeRecAndEffects( in DEF_TEST()
790 auto desc = SkScalerContext::AutoDescriptorGivenRecAndEffects(rec, effects, &ad); in DEF_TEST()
[all …]

1234