Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkDescriptor.h22 class SkDescriptor : SkNoncopyable {
27 return sizeof(SkDescriptor) + entryCount * sizeof(Entry); in ComputeOverhead()
30 static SkDescriptor* Alloc(size_t length) in Alloc()
33 SkDescriptor* desc = (SkDescriptor*)sk_malloc_throw(length); in Alloc()
37 static void Free(SkDescriptor* desc) in Free()
44 fLength = sizeof(SkDescriptor); in init()
69 fChecksum = SkDescriptor::ComputeChecksum(this); in computeChecksum()
75 SkASSERT(fChecksum == SkDescriptor::ComputeChecksum(this)); in assertChecksum()
97 SkDescriptor* copy() const in copy()
99 SkDescriptor* desc = SkDescriptor::Alloc(fLength); in copy()
[all …]
DSkScalerContext.h26 class SkDescriptor; variable
200 SkScalerContext(const SkDescriptor* desc);
229 static SkScalerContext* Create(const SkDescriptor*);
DSkFontHost.h23 class SkDescriptor; variable
150 static SkScalerContext* CreateScalerContext(const SkDescriptor* desc);
DSkPaint.h26 class SkDescriptor; variable
844 void (*proc)(const SkDescriptor*, void*),
/external/skia/src/core/
DSkGlyphCache.h122 static SkGlyphCache* VisitCache(const SkDescriptor* desc,
141 static SkGlyphCache* DetachCache(const SkDescriptor* desc) { in DetachCache()
158 SkGlyphCache(const SkDescriptor*);
191 SkDescriptor* fDesc;
248 SkAutoGlyphCache(const SkDescriptor* desc) in SkAutoGlyphCache()
DSkScalerContext.cpp122 static SkFlattenable* load_flattenable(const SkDescriptor* desc, uint32_t tag) { in load_flattenable()
135 SkScalerContext::SkScalerContext(const SkDescriptor* desc) in SkScalerContext()
190 SkAutoDescriptor ad(sizeof(rec) + SkDescriptor::ComputeOverhead(1)); in allocNextContext()
191 SkDescriptor* desc = ad.getDesc(); in allocNextContext()
643 SkScalerContext_Empty(const SkDescriptor* desc) : SkScalerContext(desc) {} in SkScalerContext_Empty()
671 SkScalerContext* SkScalerContext::Create(const SkDescriptor* desc) in Create()
DSkGlyphCache.cpp59 SkGlyphCache::SkGlyphCache(const SkDescriptor* desc) in SkGlyphCache()
91 SkDescriptor::Free(fDesc); in ~SkGlyphCache()
412 static unsigned desc_to_hashindex(const SkDescriptor* desc) in desc_to_hashindex()
484 SkGlyphCache* SkGlyphCache::VisitCache(const SkDescriptor* desc, in VisitCache()
DSkPaint.cpp980 static void FontMetricsDescProc(const SkDescriptor* desc, void* context) in FontMetricsDescProc()
1173 static void add_flattenable(SkDescriptor* desc, uint32_t tag, in add_flattenable()
1332 void (*proc)(const SkDescriptor*, void*), in descriptorProc() argument
1368 descSize += SkDescriptor::ComputeOverhead(entryCount); in descriptorProc()
1371 SkDescriptor* desc = ad.getDesc(); in descriptorProc()
1392 static void DetachDescProc(const SkDescriptor* desc, void* context) in DetachDescProc()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp100 SkScalerContext_FreeType(const SkDescriptor* desc);
318 SkScalerContext_FreeType::SkScalerContext_FreeType(const SkDescriptor* desc) in SkScalerContext_FreeType()
989 SkScalerContext* SkFontHost::CreateScalerContext(const SkDescriptor* desc) { in CreateScalerContext()