Home
last modified time | relevance | path

Searched refs:SkArenaAlloc (Results 1 – 25 of 190) sorted by relevance

12345678

/external/skia/src/core/
DSkArenaAlloc.cpp15 SkArenaAlloc::SkArenaAlloc(char* block, size_t size, size_t extraSize, Tracking tracking) in SkArenaAlloc() function in SkArenaAlloc
39 SkArenaAlloc::~SkArenaAlloc() { in ~SkArenaAlloc()
49 void SkArenaAlloc::reset() { in reset()
50 this->~SkArenaAlloc(); in reset()
51 new (this) SkArenaAlloc{fFirstBlock, fFirstSize, fExtraSize, in reset()
55 void SkArenaAlloc::installFooter(FooterAction* action, uint32_t padding) { in installFooter()
67 void SkArenaAlloc::installPtrFooter(FooterAction* action, char* ptr, uint32_t padding) { in installPtrFooter()
73 char* SkArenaAlloc::SkipPod(char* footerEnd) { in SkipPod()
80 void SkArenaAlloc::RunDtorsOnBlock(char* footerEnd) { in RunDtorsOnBlock()
92 char* SkArenaAlloc::NextBlock(char* footerEnd) { in NextBlock()
[all …]
DSkThreadedBMPDevice.cpp120 fQueue.push(drawBounds, [=](SkArenaAlloc*, const DrawState& ds, const SkIRect& tileBounds){ in drawPaint() argument
128 fQueue.push(drawBounds, [=](SkArenaAlloc*, const DrawState& ds, const SkIRect& tileBounds){ in drawPoints() argument
135 fQueue.push(drawBounds, [=](SkArenaAlloc*, const DrawState& ds, const SkIRect& tileBounds){ in drawRect() argument
150 fQueue.push(drawBounds, [=](SkArenaAlloc*, const DrawState& ds, const SkIRect& tileBounds){ in drawRRect()
161 fQueue.push(drawBounds, [=](SkArenaAlloc*, const DrawState& ds, const SkIRect& tileBounds) { in drawPath() argument
165 fQueue.push(drawBounds, [=](SkArenaAlloc* alloc, DrawElement* elem) { in drawPath()
178 fQueue.push(drawBounds, [=](SkArenaAlloc*, const DrawState& ds, const SkIRect& tileBounds){ in drawBitmap() argument
185 fQueue.push(drawBounds, [=](SkArenaAlloc*, const DrawState& ds, const SkIRect& tileBounds){ in drawSprite() argument
193 fQueue.push(drawBounds, [=](SkArenaAlloc*, const DrawState& ds, const SkIRect& tileBounds){ in drawText() argument
202 fQueue.push(drawBounds, [=](SkArenaAlloc*, const DrawState& ds, const SkIRect& tileBounds){ in drawPosText() argument
[all …]
DSkArenaAlloc.h68 class SkArenaAlloc {
71 SkArenaAlloc(char* block, size_t size, size_t, Tracking tracking = kDontTrack);
73 SkArenaAlloc(size_t extraSize, Tracking tracking = kDontTrack)
74 : SkArenaAlloc(nullptr, 0, extraSize, tracking)
77 ~SkArenaAlloc();
239 class SkSTArenaAlloc : public SkArenaAlloc {
247 using INHERITED = SkArenaAlloc;
DSkThreadedBMPDevice.h65 using InitFn = std::function<void(SkArenaAlloc* threadAlloc, DrawElement* element)>;
66 using DrawFn = std::function<void(SkArenaAlloc* threadAlloc, const DrawState& ds,
82 SK_ALWAYS_INLINE bool tryInitOnce(SkArenaAlloc* alloc) { in tryInitOnce()
99 SK_ALWAYS_INLINE bool tryDraw(const SkIRect& tileBounds, SkArenaAlloc* alloc) { in tryDraw()
186 SkArenaAlloc* fAlloc;
190 fElement->setDrawFn([](SkArenaAlloc* threadAlloc, const SkThreadedBMPDevice::DrawState& ds, in setEmptyDrawFn()
DSkRasterPipeline.h110 explicit SkRasterPipeline(SkArenaAlloc*);
141 void append_matrix(SkArenaAlloc*, const SkMatrix&);
145 void append_constant_color(SkArenaAlloc*, const float rgba[4]);
147 void append_constant_color(SkArenaAlloc* alloc, const SkPM4f& color) { in append_constant_color()
150 void append_constant_color(SkArenaAlloc* alloc, const SkColor4f& color) { in append_constant_color()
169 SkArenaAlloc* fAlloc;
DSkSpriteBlitter.h35 static SkSpriteBlitter* ChooseL32(const SkPixmap& source, const SkPaint&, SkArenaAlloc*);
36 static SkSpriteBlitter* ChooseL565(const SkPixmap& source, const SkPaint&, SkArenaAlloc*);
37 static SkSpriteBlitter* ChooseLA8(const SkPixmap& source, const SkPaint&, SkArenaAlloc*);
DSkCoverageDelta.h51 SkCoverageDeltaList(SkArenaAlloc* alloc, int top, int bottom, bool forceRLE);
82 SkArenaAlloc* fAlloc;
127 SkCoverageDeltaMask(SkArenaAlloc* alloc, const SkIRect& bounds);
194 SkArenaAlloc* fAlloc;
196 SkDAARecord(SkArenaAlloc* alloc) : fType(Type::kToBeComputed), fAlloc(alloc) {} in SkDAARecord()
DSkRasterPipeline.cpp14 SkRasterPipeline::SkRasterPipeline(SkArenaAlloc* alloc) : fAlloc(alloc) { in SkRasterPipeline()
88 void SkRasterPipeline::append_constant_color(SkArenaAlloc* alloc, const float rgba[4]) { in append_constant_color()
127 void SkRasterPipeline::append_matrix(SkArenaAlloc* alloc, const SkMatrix& matrix) { in append_matrix()
/external/skqp/src/core/
DSkArenaAlloc.cpp15 SkArenaAlloc::SkArenaAlloc(char* block, size_t size, size_t extraSize, Tracking tracking) in SkArenaAlloc() function in SkArenaAlloc
39 SkArenaAlloc::~SkArenaAlloc() { in ~SkArenaAlloc()
49 void SkArenaAlloc::reset() { in reset()
50 this->~SkArenaAlloc(); in reset()
51 new (this) SkArenaAlloc{fFirstBlock, fFirstSize, fExtraSize, in reset()
55 void SkArenaAlloc::installFooter(FooterAction* action, uint32_t padding) { in installFooter()
67 void SkArenaAlloc::installPtrFooter(FooterAction* action, char* ptr, uint32_t padding) { in installPtrFooter()
73 char* SkArenaAlloc::SkipPod(char* footerEnd) { in SkipPod()
80 void SkArenaAlloc::RunDtorsOnBlock(char* footerEnd) { in RunDtorsOnBlock()
92 char* SkArenaAlloc::NextBlock(char* footerEnd) { in NextBlock()
[all …]
DSkThreadedBMPDevice.cpp112 fQueue.push(drawBounds, [=](SkArenaAlloc*, const DrawState& ds, const SkIRect& tileBounds){ in drawPaint() argument
120 fQueue.push(drawBounds, [=](SkArenaAlloc*, const DrawState& ds, const SkIRect& tileBounds){ in drawPoints() argument
127 fQueue.push(drawBounds, [=](SkArenaAlloc*, const DrawState& ds, const SkIRect& tileBounds){ in drawRect() argument
142 fQueue.push(drawBounds, [=](SkArenaAlloc*, const DrawState& ds, const SkIRect& tileBounds){ in drawRRect()
152 fQueue.push(drawBounds, [=](SkArenaAlloc*, const DrawState& ds, const SkIRect& tileBounds) { in drawPath() argument
163 fQueue.push(drawBounds, [=](SkArenaAlloc*, const DrawState& ds, const SkIRect& tileBounds){ in drawBitmap() argument
170 fQueue.push(drawBounds, [=](SkArenaAlloc*, const DrawState& ds, const SkIRect& tileBounds){ in drawSprite() argument
178 fQueue.push(drawBounds, [=](SkArenaAlloc*, const DrawState& ds, const SkIRect& tileBounds){ in drawText() argument
187 fQueue.push(drawBounds, [=](SkArenaAlloc*, const DrawState& ds, const SkIRect& tileBounds){ in drawPosText() argument
196 fQueue.push(drawBounds, [=](SkArenaAlloc*, const DrawState& ds, const SkIRect& tileBounds){ in drawVertices() argument
[all …]
DSkArenaAlloc.h68 class SkArenaAlloc {
71 SkArenaAlloc(char* block, size_t size, size_t, Tracking tracking = kDontTrack);
73 SkArenaAlloc(size_t extraSize, Tracking tracking = kDontTrack)
74 : SkArenaAlloc(nullptr, 0, extraSize, tracking)
77 ~SkArenaAlloc();
232 class SkSTArenaAlloc : public SkArenaAlloc {
240 using INHERITED = SkArenaAlloc;
DSkRasterPipeline.h108 explicit SkRasterPipeline(SkArenaAlloc*);
139 void append_matrix(SkArenaAlloc*, const SkMatrix&);
143 void append_constant_color(SkArenaAlloc*, const float rgba[4]);
145 void append_constant_color(SkArenaAlloc* alloc, const SkPM4f& color) { in append_constant_color()
148 void append_constant_color(SkArenaAlloc* alloc, const SkColor4f& color) { in append_constant_color()
167 SkArenaAlloc* fAlloc;
DSkSpriteBlitter.h35 static SkSpriteBlitter* ChooseL32(const SkPixmap& source, const SkPaint&, SkArenaAlloc*);
36 static SkSpriteBlitter* ChooseL565(const SkPixmap& source, const SkPaint&, SkArenaAlloc*);
37 static SkSpriteBlitter* ChooseLA8(const SkPixmap& source, const SkPaint&, SkArenaAlloc*);
DSkRasterPipeline.cpp14 SkRasterPipeline::SkRasterPipeline(SkArenaAlloc* alloc) : fAlloc(alloc) { in SkRasterPipeline()
88 void SkRasterPipeline::append_constant_color(SkArenaAlloc* alloc, const float rgba[4]) { in append_constant_color()
127 void SkRasterPipeline::append_matrix(SkArenaAlloc* alloc, const SkMatrix& matrix) { in append_matrix()
/external/skqp/src/shaders/
DSkShaderBase.h23 class SkArenaAlloc; variable
131 Context* makeContext(const ContextRec&, SkArenaAlloc*) const;
140 Context* makeBurstPipelineContext(const ContextRec&, SkArenaAlloc*) const;
184 SkArenaAlloc* fAlloc;
222 virtual Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const { in onMakeContext() argument
229 virtual Context* onMakeBurstPipelineContext(const ContextRec&, SkArenaAlloc*) const { in onMakeBurstPipelineContext() argument
DSkPictureShader.h14 class SkArenaAlloc; variable
42 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
57 const SkPictureShader&, const ContextRec&, sk_sp<SkShader> bitmapShader, SkArenaAlloc*);
/external/skia/src/shaders/
DSkShaderBase.h23 class SkArenaAlloc; variable
131 Context* makeContext(const ContextRec&, SkArenaAlloc*) const;
140 Context* makeBurstPipelineContext(const ContextRec&, SkArenaAlloc*) const;
184 SkArenaAlloc* fAlloc;
222 virtual Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const { in onMakeContext() argument
229 virtual Context* onMakeBurstPipelineContext(const ContextRec&, SkArenaAlloc*) const { in onMakeBurstPipelineContext() argument
DSkPictureShader.h14 class SkArenaAlloc; variable
42 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
58 const SkPictureShader&, const ContextRec&, sk_sp<SkShader> bitmapShader, SkArenaAlloc*);
/external/skia/src/shaders/gradients/
DSkLinearGradient.h28 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
29 Context* onMakeBurstPipelineContext(const ContextRec&, SkArenaAlloc*) const override;
31 void appendGradientStages(SkArenaAlloc* alloc, SkRasterPipeline* tPipeline,
/external/skqp/src/shaders/gradients/
DSkLinearGradient.h28 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
29 Context* onMakeBurstPipelineContext(const ContextRec&, SkArenaAlloc*) const override;
31 void appendGradientStages(SkArenaAlloc* alloc, SkRasterPipeline* tPipeline,
/external/skqp/include/core/
DSkColorFilter.h19 class SkArenaAlloc; variable
67 void appendStages(SkRasterPipeline*, SkColorSpace*, SkArenaAlloc*, bool shaderIsOpaque) const;
168 virtual void onAppendStages(SkRasterPipeline*, SkColorSpace*, SkArenaAlloc*,
DSkDrawLooper.h18 class SkArenaAlloc; variable
67 virtual Context* makeContext(SkCanvas*, SkArenaAlloc*) const = 0;
/external/skia/include/core/
DSkColorFilter.h19 class SkArenaAlloc; variable
67 void appendStages(SkRasterPipeline*, SkColorSpace*, SkArenaAlloc*, bool shaderIsOpaque) const;
174 virtual void onAppendStages(SkRasterPipeline*, SkColorSpace*, SkArenaAlloc*,
DSkDrawLooper.h18 class SkArenaAlloc; variable
67 virtual Context* makeContext(SkCanvas*, SkArenaAlloc*) const = 0;
/external/skqp/src/gpu/
DGrTessellator.cpp493 void apply(VertexList* mesh, Comparator& c, SkArenaAlloc& alloc);
502 void create_event(Edge* e, EventList* events, SkArenaAlloc& alloc) { in create_event()
609 Poly* addEdge(Edge* e, Side side, SkArenaAlloc& alloc) { in addEdge()
679 Poly* new_poly(Poly** head, Vertex* v, int winding, SkArenaAlloc& alloc) { in new_poly()
686 void append_point_to_contour(const SkPoint& p, VertexList* contour, SkArenaAlloc& alloc) { in append_point_to_contour()
707 SkArenaAlloc& alloc) { in append_quadratic_to_contour()
736 SkArenaAlloc& alloc) { in generate_cubic_points()
762 VertexList* contours, SkArenaAlloc& alloc, bool *isLinear) { in path_to_contours()
840 Edge* new_edge(Vertex* prev, Vertex* next, Edge::Type type, Comparator& c, SkArenaAlloc& alloc) { in new_edge()
1076 SkArenaAlloc& alloc) { in split_edge()
[all …]

12345678