Home
last modified time | relevance | path

Searched refs:SkDescriptor (Results 1 – 25 of 37) sorted by relevance

12

/external/skia/src/core/
DSkDescriptor.h16 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 …]
DSkGlyphCache.h97 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()
DSkTypeface.cpp43 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()
DSkScalerContext.h18 class SkDescriptor; variable
189 SkScalerContext(SkTypeface*, const SkDescriptor*);
DSkScalerContext.cpp65 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()
DSkPaint.cpp455 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 …]
DSkGlyphCache.cpp38 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/
DGrPathRendering.cpp17 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()
DGrPathRange.h16 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()
DGrResourceProvider.h24 class SkDescriptor; variable
90 GrPathRange* createGlyphs(const SkTypeface*, const SkDescriptor*, const GrStrokeInfo&);
DGrPathRendering.h16 class SkDescriptor; variable
128 GrPathRange* createGlyphs(const SkTypeface*, const SkDescriptor*, const GrStrokeInfo&);
/external/skia/src/fonts/
DSkGScalerContext.cpp15 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()
DSkRandomScalerContext.cpp16 SkRandomScalerContext(SkRandomTypeface*, const SkDescriptor*, bool fFakeIt);
38 SkRandomScalerContext::SkRandomScalerContext(SkRandomTypeface* face, const SkDescriptor* desc, in SkRandomScalerContext()
201 const SkDescriptor* desc) const { in onCreateScalerContext()
DSkGScalerContext.h23 SkScalerContext* onCreateScalerContext(const SkDescriptor*) const override;
DSkRandomScalerContext.h28 SkScalerContext* onCreateScalerContext(const SkDescriptor*) const override;
DSkTestScalerContext.cpp184 SkTestScalerContext(SkTestTypeface* face, const SkDescriptor* desc) in SkTestScalerContext()
284 SkScalerContext* SkTestTypeface::onCreateScalerContext(const SkDescriptor* desc) const { in onCreateScalerContext()
DSkTestScalerContext.h69 SkScalerContext* onCreateScalerContext(const SkDescriptor* desc) const override;
/external/skia/src/ports/
DSkScalerContext_win_dw.h19 class SkDescriptor; variable
23 SkScalerContext_DW(DWriteFontTypeface*, const SkDescriptor* desc);
DSkFontHost_FreeType_common.h29 SkScalerContext_FreeType_Base(SkTypeface* typeface, const SkDescriptor *desc) in SkScalerContext_FreeType_Base()
79 const SkDescriptor*) const override;
DSkTypeface_win_dw.h99 SkScalerContext* onCreateScalerContext(const SkDescriptor*) const override;
/external/skia/include/core/
DSkTypeface.h19 class SkDescriptor; variable
298 SkScalerContext* createScalerContext(const SkDescriptor*,
339 virtual SkScalerContext* onCreateScalerContext(const SkDescriptor*) const = 0;
DSkFontHost.h15 class SkDescriptor; variable
DSkPaint.h21 class SkDescriptor; variable
1087 void (*proc)(SkTypeface*, const SkDescriptor*, void*),
/external/skia/src/gpu/text/
DGrAtlasTextBlob_regenInBatch.cpp147 const SkDescriptor** desc, in regenInBatch()
159 const SkDescriptor* newDesc = (run->fOverrideDescriptor && !info->drawAsDistanceFields()) ? in regenInBatch()
259 const SkDescriptor** desc, size_t vertexStride, in regenInBatch()
DGrFontScaler.h25 explicit GrFontDescKey(const SkDescriptor& desc) : fDesc(desc), fHash(desc.getChecksum()) {} in GrFontDescKey()

12