/third_party/skia/src/core/ |
H A D | SkArenaAlloc.cpp | 8 #include "src/core/SkArenaAlloc.h" 14 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 [all...] |
H A D | SkArenaAlloc.h | 66 // SkArenaAlloc allocates object and destroys the allocated objects when destroyed. It's designed 67 // to minimize the number of underlying block allocations. SkArenaAlloc allocates first out of an 70 // fits in the user-provided block, SkArenaAlloc never uses the heap, and if it fits in 77 // SkArenaAlloc arena(block, mostCasesSize); 82 // SkArenaAlloc arena(block.get(), mostCasesSize, almostAllCasesSize); 86 // SkArenaAlloc arena(nullptr, 0, almostAllCasesSize); 93 // SkArenaAlloc arena (storage, mostCasesSize); 106 class SK_API SkArenaAlloc { 108 SkArenaAlloc(char* block, size_t blockSize, size_t firstHeapAllocation); 110 explicit SkArenaAlloc(size_ [all...] |
H A D | SkVMBlitter.h | 11 #include "src/core/SkArenaAlloc.h" 21 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.
|
H A D | SkSpriteBlitter.h | 35 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*);
|
H A D | SkRasterPipeline.h | 18 #include "src/core/SkArenaAlloc.h" 197 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;
|
H A D | SkGlyph.h | 20 class SkArenaAlloc; 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);
|
H A D | SkGlyph.cpp | 10 #include "src/core/SkArenaAlloc.h" 70 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()
|
H A D | SkEffectPriv.h | 14 class SkArenaAlloc; 23 SkArenaAlloc* fAlloc;
|
H A D | SkColorFilterBase.h | 18 class SkArenaAlloc; 31 const SkColorInfo& dst, skvm::Uniforms*, SkArenaAlloc*) const; 85 const SkColorInfo& dst, skvm::Uniforms*, SkArenaAlloc*) const = 0;
|
/third_party/skia/modules/particles/include/ |
H A D | SkParticleBinding.h | 17 class SkArenaAlloc; 39 SkArenaAlloc* alloc) in SkParticleExternalFunction() 48 SkArenaAlloc* fAlloc; 61 SkArenaAlloc*) = 0;
|
/third_party/skia/src/shaders/ |
H A D | SkShaderBase.h | 26 class SkArenaAlloc; 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() 246 const SkColorInfo& dst, skvm::Uniforms*, SkArenaAlloc*) const = 0;
|
H A D | SkPictureShader.h | 15 class SkArenaAlloc; 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*);
|
H A D | SkImageShader.h | 44 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;
|
H A D | SkLocalMatrixShader.h | 16 class SkArenaAlloc; 44 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override; 53 skvm::Uniforms* uniforms, SkArenaAlloc*) const override;
|
H A D | SkEmptyShader.h | 25 Context* onMakeContext(const ContextRec&, SkArenaAlloc*) const override { 42 skvm::Uniforms*, SkArenaAlloc*) const override;
|
/third_party/skia/include/gpu/ |
H A D | GrRecordingContext.h | 33 class SkArenaAlloc; 103 Arenas(SkArenaAlloc*, GrSubRunAllocator*); 106 SkArenaAlloc* recordTimeAllocator() { return fRecordTimeAllocator; } in recordTimeAllocator() 112 SkArenaAlloc* fRecordTimeAllocator; 136 std::unique_ptr<SkArenaAlloc> fRecordTimeAllocator;
|
/third_party/skia/src/gpu/tessellate/shaders/ |
H A D | GrPathTessellationShader.h | 18 static GrPathTessellationShader* MakeSimpleTriangleShader(SkArenaAlloc*, 24 static GrPathTessellationShader* Make(SkArenaAlloc*, 48 SkArenaAlloc*, 57 static GrPathTessellationShader* MakeHardwareTessellationShader(SkArenaAlloc*,
|
/third_party/skia/src/gpu/ops/ |
H A D | GrSimpleMeshDrawOpHelper.h | 115 SkArenaAlloc*, 129 SkArenaAlloc*, 135 SkArenaAlloc*, 150 SkArenaAlloc*, 166 SkArenaAlloc*,
|
H A D | DrawAtlasPathOp.h | 22 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,
|
H A D | GrMeshDrawOp.h | 16 class SkArenaAlloc; 38 SkArenaAlloc* arena, in createProgramInfo() 111 SkArenaAlloc*,
|
H A D | AtlasTextOp.h | 63 SkArenaAlloc* alloc); 164 SkArenaAlloc*, 227 CombineResult onCombineIfPossible(GrOp* t, SkArenaAlloc*, const GrCaps& caps) override; 229 GrGeometryProcessor* setupDfProcessor(SkArenaAlloc*,
|
H A D | OpsTask.h | 19 #include "src/core/SkArenaAlloc.h" 189 bool prependChain(OpChain*, const GrCaps&, SkArenaAlloc* opsTaskArena, GrAuditTrail*); 195 const GrAppliedClip*, const GrCaps&, SkArenaAlloc* opsTaskArena, 229 const SkRect& bounds, const GrCaps&, SkArenaAlloc* opsTaskArena, 231 static List DoConcat(List, List, const GrCaps&, SkArenaAlloc* opsTaskArena, GrAuditTrail*);
|
/third_party/skia/experimental/graphite/src/geom/ |
H A D | IntersectionTree.h | 12 #include "src/core/SkArenaAlloc.h" 42 virtual Node* addNonIntersecting(Rect, SkArenaAlloc*) = 0; 56 SkArenaAlloc fArena{kLeafNodeSize + kTreeNodeSize + kPadSize*2};
|
/third_party/skia/src/shaders/gradients/ |
H A D | SkGradientShaderPriv.h | 16 #include "src/core/SkArenaAlloc.h" 84 skvm::Uniforms* uniforms, SkArenaAlloc* alloc) const override; 86 virtual void appendGradientStages(SkArenaAlloc* alloc, SkRasterPipeline* tPipeline, 94 static Context* CheckedMakeContext(SkArenaAlloc* alloc, Args&&... args) { in CheckedMakeContext()
|
/third_party/skia/src/gpu/effects/ |
H A D | GrDistanceFieldGeoProc.h | 11 #include "src/core/SkArenaAlloc.h" 65 static GrGeometryProcessor* Make(SkArenaAlloc* arena, in Make() 79 static GrGeometryProcessor* Make(SkArenaAlloc* arena, in Make() 151 static GrGeometryProcessor* Make(SkArenaAlloc* arena, const GrShaderCaps& caps, 228 static GrGeometryProcessor* Make(SkArenaAlloc* arena,
|