Home
last modified time | relevance | path

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

123

/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()
135 SkMaskGamma::PreBlend SkScalerContext::GetMaskPreBlend(const SkScalerContextRec& rec) { in GetMaskPreBlend()
146 size_t SkScalerContext::GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, in GetGammaLUTSize()
159 bool SkScalerContext::GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, in GetGammaLUTData()
177 void SkScalerContext::getAdvance(SkGlyph* glyph) { in getAdvance()
186 void SkScalerContext::getMetrics(SkGlyph* glyph) { in getMetrics()
492 void SkScalerContext::getImage(const SkGlyph& origGlyph) { in getImage()
[all …]
DSkScalerContext.h31 class SkScalerContext; variable
211 friend class SkScalerContext;
222 class SkScalerContext {
253 SkScalerContext(sk_sp<SkTypeface>, const SkScalerContextEffects&, const SkDescriptor*);
254 virtual ~SkScalerContext();
431 unsigned hint = (fFlags & SkScalerContext::kHinting_Mask) >> in getHinting()
432 SkScalerContext::kHinting_Shift; in getHinting()
437 fFlags = (fFlags & ~SkScalerContext::kHinting_Mask) | in setHinting()
438 (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,
141 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.h39 std::unique_ptr<SkScalerContext> scaler,
148 SkScalerContext* getScalerContext() const { return fScalerContext.get(); } in getScalerContext()
209 const std::unique_ptr<SkScalerContext> fScalerContext;
DSkStrikeCache.cpp24 std::unique_ptr<SkScalerContext> scaler, in Node()
142 std::unique_ptr<SkScalerContext> SkStrikeCache::CreateScalerContext( in CreateScalerContext()
215 auto desc = SkScalerContext::CreateDescriptorAndEffectsUsingPaint( in findOrCreateStrike()
231 auto desc = SkScalerContext::CreateDescriptorAndEffectsUsingPaint(font, paint, in FindOrCreateStrikeWithNoDeviceExclusive()
423 std::unique_ptr<SkScalerContext> scaler, in CreateStrikeExclusive()
433 std::unique_ptr<SkScalerContext> scaler, in createStrikeExclusive()
443 std::unique_ptr<SkScalerContext> scaler, in createStrike()
DSkRemoteGlyphCacheImpl.h21 std::unique_ptr<SkScalerContext> context,
79 std::unique_ptr<SkScalerContext> fContext;
/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()
/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/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.h37 class SkScalerContext_FreeType_Base : public SkScalerContext {
52 typedef SkScalerContext INHERITED;
96 virtual SkScalerContext* onCreateScalerContext(const SkScalerContextEffects&,
DSkTypeface_win_dw.cpp402 SkScalerContext* DWriteFontTypeface::onCreateScalerContext(const SkScalerContextEffects& effects, in onCreateScalerContext()
408 if (rec->fFlags & SkScalerContext::kLCD_Vertical_Flag) { in onFilterRec()
410 rec->fFlags |= SkScalerContext::kGenA8FromLCD_Flag; in onFilterRec()
413 unsigned flagsWeDontSupport = SkScalerContext::kForceAutohinting_Flag | in onFilterRec()
414 SkScalerContext::kEmbolden_Flag | in onFilterRec()
415 SkScalerContext::kLCD_Vertical_Flag; in onFilterRec()
/external/skqp/src/ports/
DSkFontHost_FreeType_common.h37 class SkScalerContext_FreeType_Base : public SkScalerContext {
52 typedef SkScalerContext INHERITED;
96 virtual SkScalerContext* onCreateScalerContext(const SkScalerContextEffects&,
DSkTypeface_win_dw.cpp402 SkScalerContext* DWriteFontTypeface::onCreateScalerContext(const SkScalerContextEffects& effects, in onCreateScalerContext()
408 if (rec->fFlags & SkScalerContext::kLCD_Vertical_Flag) { in onFilterRec()
410 rec->fFlags |= SkScalerContext::kGenA8FromLCD_Flag; in onFilterRec()
413 unsigned flagsWeDontSupport = SkScalerContext::kForceAutohinting_Flag | in onFilterRec()
414 SkScalerContext::kEmbolden_Flag | in onFilterRec()
415 SkScalerContext::kLCD_Vertical_Flag; in onFilterRec()
/external/skia/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/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/skia/src/gpu/text/
DGrDistanceFieldAdjustTable.cpp59 size = SkScalerContext::GetGammaLUTSize(contrast, paintGamma, deviceGamma,
66 if (!SkScalerContext::GetGammaLUTData(contrast, paintGamma, deviceGamma, data.get())) {
/external/skqp/src/gpu/text/
DGrDistanceFieldAdjustTable.cpp59 size = SkScalerContext::GetGammaLUTSize(contrast, paintGamma, deviceGamma,
66 if (!SkScalerContext::GetGammaLUTData(contrast, paintGamma, deviceGamma, data.get())) {
/external/skia/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()
692 auto desc = SkScalerContext::AutoDescriptorGivenRecAndEffects(rec, effects, &ad); in DEF_TEST()
767 SkScalerContext::MakeRecAndEffects( in DEF_TEST()
770 auto desc = SkScalerContext::AutoDescriptorGivenRecAndEffects(rec, effects, &ad); in DEF_TEST()
786 SkScalerContext::MakeRecAndEffects( in DEF_TEST()
789 auto desc = SkScalerContext::AutoDescriptorGivenRecAndEffects(rec, effects, &ad); in DEF_TEST()
[all …]
/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 …]

123