Home
last modified time | relevance | path

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

12345678

/third_party/skia/src/core/
DSkArenaAlloc.cpp14 SkArenaAlloc::SkArenaAlloc(char* block, size_t size, size_t firstHeapAllocation) in SkArenaAlloc() function in SkArenaAlloc
29 SkArenaAlloc::~SkArenaAlloc() { in ~SkArenaAlloc()
33 void SkArenaAlloc::installFooter(FooterAction* action, uint32_t padding) { in installFooter()
40 char* SkArenaAlloc::SkipPod(char* footerEnd) { in SkipPod()
47 void SkArenaAlloc::RunDtorsOnBlock(char* footerEnd) { in RunDtorsOnBlock()
59 char* SkArenaAlloc::NextBlock(char* footerEnd) { in NextBlock()
69 void SkArenaAlloc::ensureSpace(uint32_t size, uint32_t alignment) { in ensureSpace()
101 char* SkArenaAlloc::allocObjectWithFooter(uint32_t sizeIncludingFooter, uint32_t alignment) { in allocObjectWithFooter()
141 : SkArenaAlloc(block, size, firstHeapAllocation) in SkArenaAllocWithReset()
DSkArenaAlloc.h106 class SkArenaAlloc {
108 SkArenaAlloc(char* block, size_t blockSize, size_t firstHeapAllocation);
110 explicit SkArenaAlloc(size_t firstHeapAllocation) in SkArenaAlloc() function
111 : SkArenaAlloc(nullptr, 0, firstHeapAllocation) {} in SkArenaAlloc()
113 SkArenaAlloc(const SkArenaAlloc&) = delete;
114 SkArenaAlloc& operator=(const SkArenaAlloc&) = delete;
115 SkArenaAlloc(SkArenaAlloc&&) = delete;
116 SkArenaAlloc& operator=(SkArenaAlloc&&) = delete;
118 ~SkArenaAlloc();
285 class SkArenaAllocWithReset : public SkArenaAlloc {
[all …]
DSkVMBlitter.h21 SkArenaAlloc*,
28 SkArenaAlloc*,
80 skvm::Uniforms* uniforms, SkArenaAlloc* alloc);
82 skvm::Uniforms* uniforms, SkArenaAlloc* alloc, bool* ok);
99 SkArenaAlloc fAlloc{2*sizeof(void*)}; // but a few effects need to ref large content.
DSkGlyph.cpp70 size_t SkGlyph::allocImage(SkArenaAlloc* alloc) { in allocImage()
78 bool SkGlyph::setImage(SkArenaAlloc* alloc, SkScalerContext* scalerContext) { in setImage()
91 bool SkGlyph::setImage(SkArenaAlloc* alloc, const void* image) { in setImage()
100 size_t SkGlyph::setMetricsAndImage(SkArenaAlloc* alloc, const SkGlyph& from) { in setMetricsAndImage()
144 void SkGlyph::installPath(SkArenaAlloc* alloc, const SkPath* path) { in installPath()
156 bool SkGlyph::setPath(SkArenaAlloc* alloc, SkScalerContext* scalerContext) { in setPath()
170 bool SkGlyph::setPath(SkArenaAlloc* alloc, const SkPath* path) { in setPath()
289 SkScalar* array, int* count, SkArenaAlloc* alloc) { in ensureIntercepts()
DSkGlyph.h20 class SkArenaAlloc; variable
262 bool setImage(SkArenaAlloc* alloc, SkScalerContext* scalerContext);
263 bool setImage(SkArenaAlloc* alloc, const void* image);
268 size_t setMetricsAndImage(SkArenaAlloc* alloc, const SkGlyph& from);
293 bool setPath(SkArenaAlloc* alloc, SkScalerContext* scalerContext);
294 bool setPath(SkArenaAlloc* alloc, const SkPath* path);
334 SkScalar* array, int* count, SkArenaAlloc* alloc);
376 size_t allocImage(SkArenaAlloc* alloc);
379 void installPath(SkArenaAlloc* alloc, const SkPath* path);
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.h197 explicit SkRasterPipeline(SkArenaAlloc*);
229 void append_matrix(SkArenaAlloc*, const SkMatrix&);
233 void append_constant_color(SkArenaAlloc*, const float rgba[4]);
235 void append_constant_color(SkArenaAlloc* alloc, const SkColor4f& color) { in append_constant_color()
240 void append_set_rgb(SkArenaAlloc*, const float rgb[3]);
242 void append_set_rgb(SkArenaAlloc* alloc, const SkColor4f& color) { in append_set_rgb()
269 SkArenaAlloc* fAlloc;
DSkColorFilterBase.h18 class SkArenaAlloc; variable
31 const SkColorInfo& dst, skvm::Uniforms*, SkArenaAlloc*) const;
85 const SkColorInfo& dst, skvm::Uniforms*, SkArenaAlloc*) const = 0;
DSkEffectPriv.h14 class SkArenaAlloc; variable
23 SkArenaAlloc* fAlloc;
/third_party/skia/src/shaders/
DSkShaderBase.h26 class SkArenaAlloc; variable
135 Context* makeContext(const ContextRec&, SkArenaAlloc*) const;
200 SkUpdatableShader* updatableShader(SkArenaAlloc* alloc) const;
201 virtual SkUpdatableShader* onUpdatableShader(SkArenaAlloc* alloc) const;
210 skvm::Uniforms* uniforms, SkArenaAlloc* alloc) const;
222 virtual Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const { in onMakeContext() argument
246 const SkColorInfo& dst, skvm::Uniforms*, SkArenaAlloc*) const = 0;
DSkPictureShader.h15 class SkArenaAlloc; variable
40 skvm::Uniforms* uniforms, SkArenaAlloc* alloc) const override;
43 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
58 const SkPictureShader&, const ContextRec&, sk_sp<SkShader> bitmapShader, SkArenaAlloc*);
DSkImageShader.h44 Context* onMakeContext(const ContextRec&, SkArenaAlloc* storage) const override;
51 SkUpdatableShader* onUpdatableShader(SkArenaAlloc* alloc) const override;
55 skvm::Uniforms* uniforms, SkArenaAlloc*) const override;
61 skvm::Uniforms* uniforms, const TransformShader* coordShader, SkArenaAlloc*) const;
DSkLocalMatrixShader.h16 class SkArenaAlloc; variable
44 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override;
53 skvm::Uniforms* uniforms, SkArenaAlloc*) const override;
DSkEmptyShader.h25 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override { in onMakeContext() argument
42 skvm::Uniforms*, SkArenaAlloc*) const override;
DSkShader.cpp79 SkShaderBase::Context* SkShaderBase::makeContext(const ContextRec& rec, SkArenaAlloc* alloc) const { in makeContext()
139 SkUpdatableShader* SkShaderBase::updatableShader(SkArenaAlloc* alloc) const { in updatableShader()
147 SkUpdatableShader* SkShaderBase::onUpdatableShader(SkArenaAlloc* alloc) const { in onUpdatableShader()
215 skvm::Uniforms* uniforms, SkArenaAlloc* alloc) const { in program()
282 skvm::Uniforms*, SkArenaAlloc*) const { in onProgram()
/third_party/skia/modules/particles/include/
DSkParticleBinding.h17 class SkArenaAlloc; variable
39 SkArenaAlloc* alloc) in SkParticleExternalFunction()
48 SkArenaAlloc* fAlloc;
61 SkArenaAlloc*) = 0;
/third_party/skia/src/gpu/tessellate/shaders/
DGrPathTessellationShader.h18 static GrPathTessellationShader* MakeSimpleTriangleShader(SkArenaAlloc*,
24 static GrPathTessellationShader* Make(SkArenaAlloc*,
48 SkArenaAlloc*,
57 static GrPathTessellationShader* MakeHardwareTessellationShader(SkArenaAlloc*,
/third_party/skia/include/gpu/
DGrRecordingContext.h33 class SkArenaAlloc; variable
103 Arenas(SkArenaAlloc*, GrSubRunAllocator*);
106 SkArenaAlloc* recordTimeAllocator() { return fRecordTimeAllocator; } in recordTimeAllocator()
112 SkArenaAlloc* fRecordTimeAllocator;
133 std::unique_ptr<SkArenaAlloc> fRecordTimeAllocator;
/third_party/skia/src/gpu/ops/
DGrSimpleMeshDrawOpHelper.h115 SkArenaAlloc*,
129 SkArenaAlloc*,
135 SkArenaAlloc*,
150 SkArenaAlloc*,
166 SkArenaAlloc*,
DFillRRectOp.cpp41 SkArenaAlloc*,
59 CombineResult onCombineIfPossible(GrOp*, SkArenaAlloc*, const GrCaps&) override;
93 SkArenaAlloc*,
103 SkArenaAlloc*,
148 SkArenaAlloc* arena, in Make()
188 SkArenaAlloc* arena, in FillRRectOpImpl()
320 SkArenaAlloc*, in onCombineIfPossible() argument
336 static GrGeometryProcessor* Make(SkArenaAlloc* arena, GrAAType aaType, ProcessorFlags flags) { in Make()
763 SkArenaAlloc* arena, in onCreateProgramInfo()
854 SkArenaAlloc* arena, in Make()
[all …]
DGrSimpleMeshDrawOpHelper.cpp109 SkArenaAlloc* arena, in CreatePipeline()
152 SkArenaAlloc* arena, in createPipeline()
167 SkArenaAlloc* arena, in CreateProgramInfo()
192 SkArenaAlloc* arena, in CreateProgramInfo()
216 SkArenaAlloc* arena, in createProgramInfo()
DGrMeshDrawOp.h16 class SkArenaAlloc; variable
38 SkArenaAlloc* arena, in createProgramInfo()
111 SkArenaAlloc*,
DDrawAtlasPathOp.h22 DrawAtlasPathOp(SkArenaAlloc* arena, const SkIRect& fillBounds, const SkMatrix& localToDevice, in DrawAtlasPathOp()
45 CombineResult onCombineIfPossible(GrOp*, SkArenaAlloc*, const GrCaps&) override;
53 void prepareProgram(const GrCaps&, SkArenaAlloc*, const GrSurfaceProxyView& writeView,
/third_party/skia/modules/particles/src/
DSkParticleBinding.cpp53 SkArenaAlloc* alloc) in SkPathExternalFunction()
101 SkArenaAlloc* alloc) override { in toFunction()
140 SkArenaAlloc* alloc) override { in toFunction()
171 SkArenaAlloc* alloc) in SkShaderExternalFunction()
222 SkArenaAlloc* alloc) override { in toFunction()
/third_party/skia/src/pathops/
DSkPathOpsTSect.h90 SkTSpan(const SkTCurve& curve, SkArenaAlloc& heap) { in SkTSpan()
94 void addBounded(SkTSpan* , SkArenaAlloc* );
98 void debugInit(const SkTCurve& curve, SkArenaAlloc& heap) { in debugInit()
195 bool split(SkTSpan* work, SkArenaAlloc* heap) { in split()
199 bool splitAt(SkTSpan* work, double t, SkArenaAlloc* heap);

12345678