Home
last modified time | relevance | path

Searched refs:SkChunkAlloc (Results 1 – 25 of 41) sorted by relevance

12

/external/skia/src/core/
DSkChunkAlloc.cpp20 struct SkChunkAlloc::Block {
58 SkChunkAlloc::SkChunkAlloc(size_t minSize) { in SkChunkAlloc() function in SkChunkAlloc
72 SkChunkAlloc::~SkChunkAlloc() { in ~SkChunkAlloc()
76 void SkChunkAlloc::reset() { in reset()
86 void SkChunkAlloc::rewind() { in rewind()
118 SkChunkAlloc::Block* SkChunkAlloc::newBlock(size_t bytes, AllocFailType ftype) { in newBlock()
139 SkChunkAlloc::Block* SkChunkAlloc::addBlockIfNecessary(size_t bytes, AllocFailType ftype) { in addBlockIfNecessary()
160 void* SkChunkAlloc::alloc(size_t bytes, AllocFailType ftype) { in alloc()
179 size_t SkChunkAlloc::unalloc(void* ptr) { in unalloc()
198 bool SkChunkAlloc::contains(const void* addr) const { in contains()
[all …]
DSkDataTable.cpp137 static void chunkalloc_freeproc(void* context) { delete (SkChunkAlloc*)context; } in chunkalloc_freeproc()
156 fHeap = new SkChunkAlloc(fMinChunkSize); in append()
159 void* dst = fHeap->alloc(size, SkChunkAlloc::kThrow_AllocFailType); in append()
175 SkChunkAlloc::kThrow_AllocFailType); in detachDataTable()
DSkEdgeBuilder.h39 SkChunkAlloc fAlloc;
/external/skia/src/pathops/
DSkOpEdgeBuilder.h15 SkOpEdgeBuilder(const SkPathWriter& path, SkOpContour* contours2, SkChunkAlloc* allocator, in SkOpEdgeBuilder()
25 SkOpEdgeBuilder(const SkPath& path, SkOpContour* contours2, SkChunkAlloc* allocator, in SkOpEdgeBuilder()
45 bool finish(SkChunkAlloc* );
59 bool walk(SkChunkAlloc* );
61 SkChunkAlloc* fAllocator;
DSkOpCoincidence.h42 SkOpPtT* oppPtTEnd, SkChunkAlloc* allocator);
43 bool addExpanded(SkChunkAlloc* allocator PATH_OPS_DEBUG_VALIDATE_PARAMS(SkOpGlobalState* ));
44 bool addMissing(SkChunkAlloc* allocator);
87 void findOverlaps(SkOpCoincidence* , SkChunkAlloc* allocator) const;
99 SkChunkAlloc* );
105 SkChunkAlloc* );
107 SkOpPtT* overS, SkOpPtT* overE, SkChunkAlloc* );
DSkOpContour.h14 class SkChunkAlloc; variable
37 void addAlignIntersections(SkOpContourHead* contourList, SkChunkAlloc* allocator) { in addAlignIntersections()
45 void addConic(SkPoint pts[3], SkScalar weight, SkChunkAlloc* allocator) { in addConic()
49 void addCubic(SkPoint pts[4], SkChunkAlloc* allocator) { in addCubic()
53 SkOpSegment* addCurve(SkPath::Verb verb, const SkPoint pts[4], SkChunkAlloc* allocator);
55 void addLine(SkPoint pts[2], SkChunkAlloc* allocator) { in addLine()
59 void addQuad(SkPoint pts[3], SkChunkAlloc* allocator) { in addQuad()
71 SkOpSegment& appendSegment(SkChunkAlloc* allocator) { in appendSegment()
82 SkOpContour* appendContour(SkChunkAlloc* allocator) { in appendContour()
98 void calcAngles(SkChunkAlloc* allocator) { in calcAngles()
[all …]
DSkOpTAllocator.h16 static T* Allocate(SkChunkAlloc* allocator) { in Allocate()
22 static T* AllocateArray(SkChunkAlloc* allocator, int count) { in AllocateArray()
28 static T* New(SkChunkAlloc* allocator) { in New()
DSkOpSegment.h49 SkOpContourHead* contourList, SkChunkAlloc* allocator);
51 void addAlignIntersections(SkOpContourHead* contourList, SkChunkAlloc* allocator) { in addAlignIntersections()
74 SkOpAngle* addEndSpan(SkChunkAlloc* allocator) { in addEndSpan()
87 SkOpPtT* addMissing(double t, SkOpSegment* opp, SkChunkAlloc* );
89 SkOpAngle* addStartSpan(SkChunkAlloc* allocator) { in addStartSpan()
104 SkOpPtT* addT(double t, AllowAlias , SkChunkAlloc* );
116 void calcAngles(SkChunkAlloc*);
132 void debugAddAngle(double startT, double endT, SkChunkAlloc*);
223 SkOpSpan* insert(SkOpSpan* prev, SkChunkAlloc* allocator) { in insert()
273 bool missingCoincidence(SkOpCoincidence* coincidences, SkChunkAlloc* allocator);
[all …]
DSkOpBuilder.cpp15 SkChunkAlloc allocator(256); in one_contour()
18 SkChunkAlloc::kThrow_AllocFailType); in one_contour()
45 SkChunkAlloc allocator(4096); in FixWinding()
DSkPathOpsSimplify.cpp14 SkChunkAlloc* allocator, bool* closable) { in bridgeWinding()
103 SkChunkAlloc* allocator, bool* closable) { in bridgeXor()
168 SkChunkAlloc allocator(4096); // FIXME: constant-ize, tune in Simplify()
DSkPathOpsCommon.cpp199 SkChunkAlloc allocator(4096); // FIXME: constant-ize, tune in Assemble()
397 static void addAlignIntersections(SkOpContourHead* contourList, SkChunkAlloc* allocator) { in addAlignIntersections()
404 static void calcAngles(SkOpContourHead* contourList, SkChunkAlloc* allocator) { in calcAngles()
419 SkOpCoincidence* coincidence, SkChunkAlloc* allocator) { in missingCoincidence()
453 SkChunkAlloc* allocator) { in HandleCoincidence()
DSkAddIntersections.h16 SkChunkAlloc* allocator);
DSkOpCoincidence.cpp44 SkOpPtT* oppPtTEnd, SkChunkAlloc* allocator) { in add()
70 bool SkOpCoincidence::addExpanded(SkChunkAlloc* allocator in addExpanded()
146 SkOpPtT* over1e, SkChunkAlloc* allocator) { in addIfMissing()
176 SkOpPtT* oppPtTStart, const SkOpPtT* oppPtTEnd, SkChunkAlloc* allocator) { in addIfMissing()
232 bool SkOpCoincidence::addMissing(SkChunkAlloc* allocator) { in addMissing()
324 SkOpSegment* seg2o, SkOpPtT* overS, SkOpPtT* overE, SkChunkAlloc* allocator) { in addOverlap()
537 void SkOpCoincidence::findOverlaps(SkOpCoincidence* overlaps, SkChunkAlloc* allocator) const { in findOverlaps()
DSkPathOpsTightBounds.cpp11 SkChunkAlloc allocator(4096); // FIXME: constant-ize, tune in TightBounds()
DSkPathOpsCommon.h27 bool HandleCoincidence(SkOpContourHead* , SkOpCoincidence* , SkChunkAlloc* );
DSkOpEdgeBuilder.cpp39 bool SkOpEdgeBuilder::finish(SkChunkAlloc* allocator) { in finish()
165 bool SkOpEdgeBuilder::walk(SkChunkAlloc* allocator) { in walk()
DSkPathOpsWinding.cpp104 SkChunkAlloc* allocator) { in rayCheck()
119 SkChunkAlloc* allocator) { in rayCheck()
236 SkChunkAlloc allocator(1024); in sortableTop()
/external/skia/include/core/
DSkChunkAlloc.h15 class SkChunkAlloc : SkNoncopyable {
17 SkChunkAlloc(size_t minSize);
18 ~SkChunkAlloc();
/external/skia/src/gpu/
DGrTessellator.cpp338 bool addVertex(Vertex* v, Side side, SkChunkAlloc& alloc) { in addVertex()
388 Poly* addVertex(Vertex* v, Side side, SkChunkAlloc& alloc) { in addVertex()
421 void end(Vertex* v, SkChunkAlloc& alloc) { in end()
456 Poly* new_poly(Poly** head, Vertex* v, int winding, SkChunkAlloc& alloc) { in new_poly()
465 SkChunkAlloc& alloc) { in append_point_to_contour()
487 SkChunkAlloc& alloc) { in generate_quadratic_points()
513 SkChunkAlloc& alloc) { in generate_cubic_points()
539 Vertex** contours, SkChunkAlloc& alloc, bool *isLinear) { in path_to_contours()
638 Edge* new_edge(Vertex* prev, Vertex* next, SkChunkAlloc& alloc, Comparator& c) { in new_edge()
848 void split_edge(Edge* edge, Vertex* v, EdgeList* activeEdges, Comparator& c, SkChunkAlloc& alloc);
[all …]
/external/skia/tests/
DMemsetTest.cpp12 static void check_alloc(skiatest::Reporter* reporter, const SkChunkAlloc& alloc, in check_alloc()
19 static void* simple_alloc(skiatest::Reporter* reporter, SkChunkAlloc* alloc, size_t size) { in simple_alloc()
28 SkChunkAlloc alloc(kMin); in test_chunkalloc()
DPathOpsAngleTest.cpp236 SkChunkAlloc allocator(4096); in DEF_TEST()
428 SkChunkAlloc allocator(4096); in DEF_TEST()
475 void SkOpSegment::debugAddAngle(double startT, double endT, SkChunkAlloc* allocator) { in debugAddAngle()
/external/skia/src/xml/
DSkDOM.cpp193 static char* dupstr(SkChunkAlloc* chunk, const char src[]) in dupstr()
197 char* dst = (char*)chunk->alloc(len + 1, SkChunkAlloc::kThrow_AllocFailType); in dupstr()
204 SkDOMParser(SkChunkAlloc* chunk) : SkXMLParser(&fParserError), fAlloc(chunk) in SkDOMParser()
222 SkChunkAlloc::kThrow_AllocFailType); in flushAttributes()
303 SkChunkAlloc* fAlloc;
/external/skia/include/private/
DSkTDict.h40 char* copy = (char*)fStrings.alloc(len + 1, SkChunkAlloc::kThrow_AllocFailType); in set()
126 SkChunkAlloc fStrings;
/external/skia/bench/
DMemoryBench.cpp38 SkChunkAlloc alloc(fMinSize); in onDraw()
/external/skia/include/views/
DSkViewInflate.h64 SkChunkAlloc fStrings;

12