/external/skia/src/core/ |
D | SkScalerContext.h | 154 class SkScalerContext { 189 SkScalerContext(SkTypeface*, const SkDescriptor*); 190 virtual ~SkScalerContext(); 324 SkScalerContext* getContextFromChar(SkUnichar uni, uint16_t* glyphID); 360 unsigned hint = (fFlags & SkScalerContext::kHinting_Mask) >> in getHinting() 361 SkScalerContext::kHinting_Shift; in getHinting() 366 fFlags = (fFlags & ~SkScalerContext::kHinting_Mask) | in setHinting() 367 (hinting << SkScalerContext::kHinting_Shift); in setHinting()
|
D | SkScalerContext.cpp | 79 SkScalerContext::SkScalerContext(SkTypeface* typeface, const SkDescriptor* desc) in SkScalerContext() function in SkScalerContext 92 , fPreBlend(fMaskFilter ? SkMaskGamma::PreBlend() : SkScalerContext::GetMaskPreBlend(fRec)) in SkScalerContext() 93 , fPreBlendForFilter(fMaskFilter ? SkScalerContext::GetMaskPreBlend(fRec) in SkScalerContext() 112 SkScalerContext::~SkScalerContext() { in ~SkScalerContext() 118 void SkScalerContext::getAdvance(SkGlyph* glyph) { in getAdvance() 127 void SkScalerContext::getMetrics(SkGlyph* glyph) { in getMetrics() 134 if ((fRec.fFlags & SkScalerContext::kDevKernText_Flag) == 0) { in getMetrics() 470 void SkScalerContext::getImage(const SkGlyph& origGlyph) { in getImage() 588 void SkScalerContext::getPath(const SkGlyph& glyph, SkPath* path) { in getPath() 592 void SkScalerContext::getFontMetrics(SkPaint::FontMetrics* fm) { in getFontMetrics() [all …]
|
D | SkPaint.cpp | 1304 static bool too_big_for_lcd(const SkScalerContext::Rec& rec, bool checkPost2x2) { in too_big_for_lcd() 1325 void SkScalerContext::MakeRec(const SkPaint& paint, in MakeRec() 1370 flags |= SkScalerContext::kEmbolden_Flag; in MakeRec() 1388 flags |= SkScalerContext::kDevKernText_Flag; in MakeRec() 1397 flags |= SkScalerContext::kFrameAndFill_Flag; in MakeRec() 1410 flags |= SkScalerContext::kGenA8FromLCD_Flag; in MakeRec() 1419 flags |= SkScalerContext::kGenA8FromLCD_Flag; in MakeRec() 1425 flags |= SkScalerContext::kLCD_BGROrder_Flag; in MakeRec() 1428 flags |= SkScalerContext::kLCD_Vertical_Flag; in MakeRec() 1431 flags |= SkScalerContext::kLCD_Vertical_Flag; in MakeRec() [all …]
|
D | SkGlyphCache.h | 126 SkScalerContext* getScalerContext() const { return fScalerContext; } in getScalerContext() 217 SkGlyphCache(SkTypeface*, const SkDescriptor*, SkScalerContext*); 259 SkScalerContext* const fScalerContext;
|
D | SkTypeface.cpp | 43 SkScalerContext* onCreateScalerContext(const SkDescriptor*) const override { in onCreateScalerContext() 343 SkScalerContext::Rec rec; in onComputeBounds() 344 SkScalerContext::MakeRec(paint, nullptr, nullptr, &rec); in onComputeBounds() 351 SkAutoTDelete<SkScalerContext> ctx(this->createScalerContext(desc, true)); in onComputeBounds()
|
D | SkDescriptor.h | 166 + sizeof(SkDescriptor::Entry) + sizeof(SkScalerContext::Rec) // for rec
|
/external/skia/src/fonts/ |
D | SkGScalerContext.cpp | 13 class SkGScalerContext : public SkScalerContext { 29 SkScalerContext* fProxy; 38 : SkScalerContext(face, desc) in SkGScalerContext() 42 size_t descSize = SkDescriptor::ComputeOverhead(1) + sizeof(SkScalerContext::Rec); in SkGScalerContext() 48 sizeof(SkScalerContext::Rec), &fRec); in SkGScalerContext() 50 SkScalerContext::Rec* rec = (SkScalerContext::Rec*)entry; in SkGScalerContext() 167 SkScalerContext* SkGTypeface::onCreateScalerContext( in onCreateScalerContext()
|
D | SkRandomScalerContext.cpp | 14 class SkRandomScalerContext : public SkScalerContext { 30 SkScalerContext* fProxy; 40 : SkScalerContext(face, desc) in SkRandomScalerContext() 200 SkScalerContext* SkRandomTypeface::onCreateScalerContext( in onCreateScalerContext()
|
D | SkTestScalerContext.cpp | 182 class SkTestScalerContext : public SkScalerContext { 185 : SkScalerContext(face, desc) in SkTestScalerContext() 284 SkScalerContext* SkTestTypeface::onCreateScalerContext(const SkDescriptor* desc) const { in onCreateScalerContext()
|
D | SkGScalerContext.h | 23 SkScalerContext* onCreateScalerContext(const SkDescriptor*) const override;
|
D | SkRandomScalerContext.h | 28 SkScalerContext* onCreateScalerContext(const SkDescriptor*) const override;
|
D | SkTestScalerContext.h | 69 SkScalerContext* onCreateScalerContext(const SkDescriptor* desc) const override;
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType_common.h | 23 class SkScalerContext_FreeType_Base : public SkScalerContext { 37 typedef SkScalerContext INHERITED; 78 virtual SkScalerContext* onCreateScalerContext(
|
D | SkTypeface_win_dw.cpp | 247 SkScalerContext* DWriteFontTypeface::onCreateScalerContext(const SkDescriptor* desc) const { in onCreateScalerContext() 251 void DWriteFontTypeface::onFilterRec(SkScalerContext::Rec* rec) const { in onFilterRec() 252 if (rec->fFlags & SkScalerContext::kLCD_Vertical_Flag) { in onFilterRec() 256 unsigned flagsWeDontSupport = SkScalerContext::kVertical_Flag | in onFilterRec() 257 SkScalerContext::kDevKernText_Flag | in onFilterRec() 258 SkScalerContext::kForceAutohinting_Flag | in onFilterRec() 259 SkScalerContext::kEmbolden_Flag | in onFilterRec() 260 SkScalerContext::kLCD_Vertical_Flag; in onFilterRec()
|
D | SkFontHost_win.cpp | 60 static bool isLCD(const SkScalerContext::Rec& rec) { in isLCD() 69 static bool isAxisAligned(const SkScalerContext::Rec& rec) { in isAxisAligned() 75 static bool needToRenderWithSkia(const SkScalerContext::Rec& rec) { in needToRenderWithSkia() 259 SkScalerContext* onCreateScalerContext(const SkDescriptor*) const override; 533 class SkScalerContext_GDI : public SkScalerContext { 586 static BYTE compute_quality(const SkScalerContext::Rec& rec) { in compute_quality() 593 if (rec.fFlags & SkScalerContext::kGenA8FromLCD_Flag) { in compute_quality() 603 : SkScalerContext(rawTypeface, desc) in SkScalerContext_GDI() 1250 if (isAA && !(fRec.fFlags & SkScalerContext::kGenA8FromLCD_Flag)) { in generateImage() 2282 SkScalerContext* LogFontTypeface::onCreateScalerContext(const SkDescriptor* desc) const { in onCreateScalerContext() [all …]
|
D | SkFontHost_FreeType.cpp | 63 static bool isLCD(const SkScalerContext::Rec& rec) { in isLCD() 659 static bool isAxisAligned(const SkScalerContext::Rec& rec) { in isAxisAligned() 665 SkScalerContext* SkTypeface_FreeType::onCreateScalerContext( in onCreateScalerContext() 702 if ((rec->fFlags & SkScalerContext::kSubpixelPositioning_Flag)) { in onFilterRec() 822 fLCDIsVert = SkToBool(fRec.fFlags & SkScalerContext::kLCD_Vertical_Flag); in SkScalerContext_FreeType() 825 bool linearMetrics = SkToBool(fRec.fFlags & SkScalerContext::kSubpixelPositioning_Flag); in SkScalerContext_FreeType() 846 if (fRec.fFlags & SkScalerContext::kForceAutohinting_Flag) { in SkScalerContext_FreeType() 855 if (fRec.fFlags & SkScalerContext::kForceAutohinting_Flag) { in SkScalerContext_FreeType() 874 if ((fRec.fFlags & SkScalerContext::kEmbeddedBitmapText_Flag) == 0) { in SkScalerContext_FreeType() 884 if (fRec.fFlags & SkScalerContext::kVertical_Flag) { in SkScalerContext_FreeType() [all …]
|
D | SkScalerContext_win_dw.cpp | 46 static bool isLCD(const SkScalerContext::Rec& rec) { in isLCD() 200 static bool is_axis_aligned(const SkScalerContext::Rec& rec) { in is_axis_aligned() 208 : SkScalerContext(typeface, desc) in SkScalerContext_DW() 257 bool bitmapRequested = SkToBool(fRec.fFlags & SkScalerContext::kEmbeddedBitmapText_Flag); in SkScalerContext_DW() 740 if (fRec.fFlags & SkScalerContext::kLCD_BGROrder_Flag) { in generateImage() 746 if (fRec.fFlags & SkScalerContext::kLCD_BGROrder_Flag) { in generateImage()
|
D | SkScalerContext_win_dw.h | 21 class SkScalerContext_DW : public SkScalerContext {
|
D | SkFontHost_FreeType_common.cpp | 338 const bool doBGR = SkToBool(fRec.fFlags & SkScalerContext::kLCD_BGROrder_Flag); in generateGlyphImage() 339 const bool doVert = SkToBool(fRec.fFlags & SkScalerContext::kLCD_Vertical_Flag); in generateGlyphImage() 348 if (fRec.fFlags & SkScalerContext::kSubpixelPositioning_Flag) { in generateGlyphImage() 405 if (fRec.fFlags & SkScalerContext::kEmbolden_Flag && in generateGlyphImage()
|
D | SkTypeface_win_dw.h | 99 SkScalerContext* onCreateScalerContext(const SkDescriptor*) const override;
|
D | SkFontHost_mac.cpp | 470 SkScalerContext* onCreateScalerContext(const SkDescriptor*) const override; 638 class SkScalerContext_Mac : public SkScalerContext { 724 typedef SkScalerContext INHERITED; 1951 SkScalerContext* SkTypeface_Mac::onCreateScalerContext(const SkDescriptor* desc) const { in onCreateScalerContext() 1956 if (rec->fFlags & SkScalerContext::kLCD_BGROrder_Flag || in onFilterRec() 1957 rec->fFlags & SkScalerContext::kLCD_Vertical_Flag) in onFilterRec() 1967 unsigned flagsWeDontSupport = SkScalerContext::kDevKernText_Flag | in onFilterRec() 1968 SkScalerContext::kForceAutohinting_Flag | in onFilterRec() 1969 SkScalerContext::kLCD_BGROrder_Flag | in onFilterRec() 1970 SkScalerContext::kLCD_Vertical_Flag; in onFilterRec()
|
/external/skia/include/core/ |
D | SkTypeface.h | 22 class SkScalerContext; variable 298 SkScalerContext* createScalerContext(const SkDescriptor*, 336 friend class SkScalerContext; variable 339 virtual SkScalerContext* onCreateScalerContext(const SkDescriptor*) const = 0;
|
D | SkFontHost.h | 16 class SkScalerContext; variable
|
/external/skia/src/gpu/text/ |
D | GrDistanceFieldAdjustTable.cpp | 61 size = SkScalerContext::GetGammaLUTSize(contrast, paintGamma, deviceGamma, 68 SkScalerContext::GetGammaLUTData(contrast, paintGamma, deviceGamma, data.get());
|
/external/skia/src/gpu/ |
D | GrPathRendering.cpp | 47 const SkAutoTDelete<SkScalerContext> fScalerContext;
|