/external/skia/src/core/ |
D | SkDescriptor.h | 16 class SkDescriptor : SkNoncopyable { 20 return sizeof(SkDescriptor) + entryCount * sizeof(Entry); in ComputeOverhead() 23 static SkDescriptor* Alloc(size_t length) { in Alloc() 25 SkDescriptor* desc = (SkDescriptor*)sk_malloc_throw(length); in Alloc() 29 static void Free(SkDescriptor* desc) { in Free() 34 fLength = sizeof(SkDescriptor); in init() 58 fChecksum = SkDescriptor::ComputeChecksum(this); in computeChecksum() 63 SkASSERT(SkDescriptor::ComputeChecksum(this) == fChecksum); in assertChecksum() 83 SkDescriptor* copy() const { in copy() 84 SkDescriptor* desc = SkDescriptor::Alloc(fLength); in copy() [all …]
|
D | SkGlyphCache.h | 97 const SkDescriptor& getDescriptor() const { return *fDesc; } in getDescriptor() 132 static SkGlyphCache* VisitCache(SkTypeface*, const SkDescriptor* desc, 149 static SkGlyphCache* DetachCache(SkTypeface* typeface, const SkDescriptor* desc) { in DetachCache() 217 SkGlyphCache(SkTypeface*, const SkDescriptor*, SkScalerContext*); 258 SkDescriptor* const fDesc; 281 SkAutoGlyphCache(SkTypeface* typeface, const SkDescriptor* desc) in SkAutoGlyphCache()
|
D | SkTypeface.cpp | 43 SkScalerContext* onCreateScalerContext(const SkDescriptor*) const override { in onCreateScalerContext() 346 SkAutoDescriptor ad(sizeof(rec) + SkDescriptor::ComputeOverhead(1)); in onComputeBounds() 347 SkDescriptor* desc = ad.getDesc(); in onComputeBounds()
|
D | SkScalerContext.h | 18 class SkDescriptor; variable 189 SkScalerContext(SkTypeface*, const SkDescriptor*);
|
D | SkScalerContext.cpp | 65 static SkFlattenable* load_flattenable(const SkDescriptor* desc, uint32_t tag, in load_flattenable() 79 SkScalerContext::SkScalerContext(SkTypeface* typeface, const SkDescriptor* desc) in SkScalerContext() 846 SkScalerContext_Empty(SkTypeface* face, const SkDescriptor* desc) in SkScalerContext_Empty() 871 extern SkScalerContext* SkCreateColorScalerContext(const SkDescriptor* desc); 873 SkScalerContext* SkTypeface::createScalerContext(const SkDescriptor* desc, in createScalerContext()
|
D | SkPaint.cpp | 455 static void DetachDescProc(SkTypeface* typeface, const SkDescriptor* desc, in DetachDescProc() 977 static void FontMetricsDescProc(SkTypeface* typeface, const SkDescriptor* desc, in FontMetricsDescProc() 1238 static void add_flattenable(SkDescriptor* desc, uint32_t tag, in add_flattenable() 1566 static void write_out_descriptor(SkDescriptor* desc, const SkScalerContext::Rec& rec, in write_out_descriptor() 1631 descSize += SkDescriptor::ComputeOverhead(entryCount); in fill_out_rec() 1640 const SkDescriptor* desc, size_t descSize) { in test_desc() 1649 SkDescriptor* desc1 = ad1.getDesc(); in test_desc() 1650 SkDescriptor* desc2 = ad2.getDesc(); in test_desc() 1699 SkDescriptor* desc = ad->getDesc(); in getScalerContextDescriptor() 1718 void (*proc)(SkTypeface*, const SkDescriptor*, void*), in descriptorProc() argument [all …]
|
D | SkGlyphCache.cpp | 38 SkGlyphCache::SkGlyphCache(SkTypeface* typeface, const SkDescriptor* desc, SkScalerContext* ctx) in SkGlyphCache() 60 SkDescriptor::Free(fDesc); in ~SkGlyphCache() 511 const SkDescriptor* desc, in VisitCache()
|
/external/skia/src/gpu/ |
D | GrPathRendering.cpp | 17 GlyphGenerator(const SkTypeface& typeface, const SkDescriptor& desc) in GlyphGenerator() 26 SkDescriptor::Free(fDesc); in ~GlyphGenerator() 42 bool isEqualTo(const SkDescriptor& desc) const override { in isEqualTo() 49 SkDescriptor* const fDesc; 54 const SkDescriptor* desc, in createGlyphs() 73 SkAutoDescriptor ad(sizeof(rec) + SkDescriptor::ComputeOverhead(1)); in createGlyphs() 74 SkDescriptor* genericDesc = ad.getDesc(); in createGlyphs()
|
D | GrPathRange.h | 16 class SkDescriptor; variable 53 virtual bool isEqualTo(const SkDescriptor&) const { return false; } in isEqualTo() argument 131 virtual bool isEqualTo(const SkDescriptor& desc) const { in isEqualTo()
|
D | GrResourceProvider.h | 24 class SkDescriptor; variable 90 GrPathRange* createGlyphs(const SkTypeface*, const SkDescriptor*, const GrStrokeInfo&);
|
D | GrPathRendering.h | 16 class SkDescriptor; variable 128 GrPathRange* createGlyphs(const SkTypeface*, const SkDescriptor*, const GrStrokeInfo&);
|
/external/skia/src/fonts/ |
D | SkGScalerContext.cpp | 15 SkGScalerContext(SkGTypeface*, const SkDescriptor*); 37 SkGScalerContext::SkGScalerContext(SkGTypeface* face, const SkDescriptor* desc) in SkGScalerContext() 42 size_t descSize = SkDescriptor::ComputeOverhead(1) + sizeof(SkScalerContext::Rec); in SkGScalerContext() 44 SkDescriptor* newDesc = ad.getDesc(); in SkGScalerContext() 168 const SkDescriptor* desc) const { in onCreateScalerContext()
|
D | SkRandomScalerContext.cpp | 16 SkRandomScalerContext(SkRandomTypeface*, const SkDescriptor*, bool fFakeIt); 38 SkRandomScalerContext::SkRandomScalerContext(SkRandomTypeface* face, const SkDescriptor* desc, in SkRandomScalerContext() 201 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.cpp | 184 SkTestScalerContext(SkTestTypeface* face, const SkDescriptor* desc) in SkTestScalerContext() 284 SkScalerContext* SkTestTypeface::onCreateScalerContext(const SkDescriptor* desc) const { in onCreateScalerContext()
|
D | SkTestScalerContext.h | 69 SkScalerContext* onCreateScalerContext(const SkDescriptor* desc) const override;
|
/external/skia/src/ports/ |
D | SkScalerContext_win_dw.h | 19 class SkDescriptor; variable 23 SkScalerContext_DW(DWriteFontTypeface*, const SkDescriptor* desc);
|
D | SkFontHost_FreeType_common.h | 29 SkScalerContext_FreeType_Base(SkTypeface* typeface, const SkDescriptor *desc) in SkScalerContext_FreeType_Base() 79 const SkDescriptor*) const override;
|
D | SkTypeface_win_dw.h | 99 SkScalerContext* onCreateScalerContext(const SkDescriptor*) const override;
|
/external/skia/include/core/ |
D | SkTypeface.h | 19 class SkDescriptor; variable 298 SkScalerContext* createScalerContext(const SkDescriptor*, 339 virtual SkScalerContext* onCreateScalerContext(const SkDescriptor*) const = 0;
|
D | SkFontHost.h | 15 class SkDescriptor; variable
|
D | SkPaint.h | 21 class SkDescriptor; variable 1087 void (*proc)(SkTypeface*, const SkDescriptor*, void*),
|
/external/skia/src/gpu/text/ |
D | GrAtlasTextBlob_regenInBatch.cpp | 147 const SkDescriptor** desc, in regenInBatch() 159 const SkDescriptor* newDesc = (run->fOverrideDescriptor && !info->drawAsDistanceFields()) ? in regenInBatch() 259 const SkDescriptor** desc, size_t vertexStride, in regenInBatch()
|
D | GrFontScaler.h | 25 explicit GrFontDescKey(const SkDescriptor& desc) : fDesc(desc), fHash(desc.getChecksum()) {} in GrFontDescKey()
|