Searched refs:SkChunkAlloc (Results 1 - 25 of 39) sorted by relevance

12

/external/skia/src/pathops/
H A DSkAddIntersections.h16 SkChunkAlloc* allocator);
H A DSkOpTAllocator.h10 #include "SkChunkAlloc.h"
16 static T* Allocate(SkChunkAlloc* allocator) {
22 static T* AllocateArray(SkChunkAlloc* allocator, int count) {
28 static T* New(SkChunkAlloc* allocator) {
H A DSkOpEdgeBuilder.h15 SkOpEdgeBuilder(const SkPathWriter& path, SkOpContour* contours2, SkChunkAlloc* allocator,
25 SkOpEdgeBuilder(const SkPath& path, SkOpContour* contours2, SkChunkAlloc* allocator,
45 bool finish(SkChunkAlloc* );
59 bool walk(SkChunkAlloc* );
61 SkChunkAlloc* fAllocator;
H A 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* );
H A DSkOpContour.h14 class SkChunkAlloc;
37 void addAlignIntersections(SkOpContourHead* contourList, SkChunkAlloc* allocator) {
45 void addConic(SkPoint pts[3], SkScalar weight, SkChunkAlloc* allocator) {
49 void addCubic(SkPoint pts[4], SkChunkAlloc* allocator) {
53 SkOpSegment* addCurve(SkPath::Verb verb, const SkPoint pts[4], SkChunkAlloc* allocator);
55 void addLine(SkPoint pts[2], SkChunkAlloc* allocator) {
59 void addQuad(SkPoint pts[3], SkChunkAlloc* allocator) {
71 SkOpSegment& appendSegment(SkChunkAlloc* allocator) {
82 SkOpContour* appendContour(SkChunkAlloc* allocator) {
98 void calcAngles(SkChunkAlloc* allocato
[all...]
H A DSkPathOpsTightBounds.cpp11 SkChunkAlloc allocator(4096); // FIXME: constant-ize, tune
H A DSkPathOpsCommon.h27 bool HandleCoincidence(SkOpContourHead* , SkOpCoincidence* , SkChunkAlloc* );
H A DSkOpBuilder.cpp15 SkChunkAlloc allocator(256);
18 SkChunkAlloc::kThrow_AllocFailType);
45 SkChunkAlloc allocator(4096);
H A DSkOpSegment.h49 SkOpContourHead* contourList, SkChunkAlloc* allocator);
51 void addAlignIntersections(SkOpContourHead* contourList, SkChunkAlloc* allocator) {
74 SkOpAngle* addEndSpan(SkChunkAlloc* allocator) {
87 SkOpPtT* addMissing(double t, SkOpSegment* opp, SkChunkAlloc* );
89 SkOpAngle* addStartSpan(SkChunkAlloc* allocator) {
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) {
273 bool missingCoincidence(SkOpCoincidence* coincidences, SkChunkAlloc* allocato
[all...]
H A DSkOpContour.cpp14 SkChunkAlloc* allocator) {
H A DSkPathOpsSimplify.cpp14 SkChunkAlloc* allocator, bool* closable) {
103 SkChunkAlloc* allocator, bool* closable) {
168 SkChunkAlloc allocator(4096); // FIXME: constant-ize, tune
H A DSkOpEdgeBuilder.cpp39 bool SkOpEdgeBuilder::finish(SkChunkAlloc* allocator) {
165 bool SkOpEdgeBuilder::walk(SkChunkAlloc* allocator) {
H A DSkPathOpsCommon.cpp199 SkChunkAlloc allocator(4096); // FIXME: constant-ize, tune
397 static void addAlignIntersections(SkOpContourHead* contourList, SkChunkAlloc* allocator) {
404 static void calcAngles(SkOpContourHead* contourList, SkChunkAlloc* allocator) {
419 SkOpCoincidence* coincidence, SkChunkAlloc* allocator) {
453 SkChunkAlloc* allocator) {
/external/skia/include/core/
H A DSkChunkAlloc.h15 class SkChunkAlloc : SkNoncopyable { class in inherits:SkNoncopyable
17 SkChunkAlloc(size_t minSize);
18 ~SkChunkAlloc();
H A DSkDataTable.h12 #include "SkChunkAlloc.h"
171 SkChunkAlloc* fHeap;
/external/skia/src/core/
H A DSkChunkAlloc.cpp8 #include "SkChunkAlloc.h"
20 struct SkChunkAlloc::Block {
58 SkChunkAlloc::SkChunkAlloc(size_t minSize) { function in class:SkChunkAlloc
72 SkChunkAlloc::~SkChunkAlloc() {
76 void SkChunkAlloc::reset() {
86 void SkChunkAlloc::rewind() {
118 SkChunkAlloc::Block* SkChunkAlloc
[all...]
H A DSkDataTable.cpp137 static void chunkalloc_freeproc(void* context) { delete (SkChunkAlloc*)context; }
156 fHeap = new SkChunkAlloc(fMinChunkSize);
159 void* dst = fHeap->alloc(size, SkChunkAlloc::kThrow_AllocFailType);
175 SkChunkAlloc::kThrow_AllocFailType);
H A DSkEdgeBuilder.h11 #include "SkChunkAlloc.h"
39 SkChunkAlloc fAlloc;
/external/skia/bench/
H A DMemoryBench.cpp10 #include "SkChunkAlloc.h"
38 SkChunkAlloc alloc(fMinSize);
/external/skia/include/views/
H A DSkViewInflate.h64 SkChunkAlloc fStrings;
/external/skia/include/private/
H A DSkTDict.h11 #include "SkChunkAlloc.h"
40 char* copy = (char*)fStrings.alloc(len + 1, SkChunkAlloc::kThrow_AllocFailType);
126 SkChunkAlloc fStrings;
/external/skia/include/xml/
H A DSkDOM.h14 #include "SkChunkAlloc.h"
91 SkChunkAlloc fAlloc;
/external/skia/tests/
H A DMemsetTest.cpp8 #include "SkChunkAlloc.h"
12 static void check_alloc(skiatest::Reporter* reporter, const SkChunkAlloc& alloc,
19 static void* simple_alloc(skiatest::Reporter* reporter, SkChunkAlloc* alloc, size_t size) {
28 SkChunkAlloc alloc(kMin);
/external/skia/src/xml/
H A DSkDOM.cpp193 static char* dupstr(SkChunkAlloc* chunk, const char src[])
197 char* dst = (char*)chunk->alloc(len + 1, SkChunkAlloc::kThrow_AllocFailType);
204 SkDOMParser(SkChunkAlloc* chunk) : SkXMLParser(&fParserError), fAlloc(chunk)
222 SkChunkAlloc::kThrow_AllocFailType);
303 SkChunkAlloc* fAlloc;
/external/skia/src/gpu/
H A DGrTessellator.cpp18 #include "SkChunkAlloc.h"
338 bool addVertex(Vertex* v, Side side, SkChunkAlloc& alloc) {
388 Poly* addVertex(Vertex* v, Side side, SkChunkAlloc& alloc) {
421 void end(Vertex* v, SkChunkAlloc& alloc) {
456 Poly* new_poly(Poly** head, Vertex* v, int winding, SkChunkAlloc& alloc) {
465 SkChunkAlloc& alloc) {
487 SkChunkAlloc& alloc) {
513 SkChunkAlloc& alloc) {
539 Vertex** contours, SkChunkAlloc& alloc, bool *isLinear) {
638 Edge* new_edge(Vertex* prev, Vertex* next, SkChunkAlloc
[all...]

Completed in 550 milliseconds

12