diff options
author | Herb Derby <herb@google.com> | 2017-01-11 21:16:11 +0000 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-01-11 21:47:44 +0000 |
commit | 8d80bb5f20d899fb7da58b0be0c1218db420891a (patch) | |
tree | 6d6df7e6119e33ee698e481a9f750463a3f3e00c /src/core/SkLinearBitmapPipeline.h | |
parent | d1c8e56423f4d1a879f3a7bcd24e2725d9b690a7 (diff) |
Revert "Introduce SkArenaAlloc - should be fast for POD types and RAII for types with dtors."
This reverts commit 6ff51aedda6f3b4873c292d7e03e47ad656543f8.
Reason for revert: breaks win2k8 and PDFium
Change-Id: Ib1e2db8e523d5d321836ce00e3773def3db8be2f
Reviewed-on: https://skia-review.googlesource.com/6898
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Herb Derby <herb@google.com>
Diffstat (limited to 'src/core/SkLinearBitmapPipeline.h')
-rw-r--r-- | src/core/SkLinearBitmapPipeline.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/core/SkLinearBitmapPipeline.h b/src/core/SkLinearBitmapPipeline.h index 237a1658ba..62d22013b4 100644 --- a/src/core/SkLinearBitmapPipeline.h +++ b/src/core/SkLinearBitmapPipeline.h @@ -34,14 +34,14 @@ public: SkShader::TileMode xTile, SkShader::TileMode yTile, SkColor paintColor, const SkPixmap& srcPixmap, - SkArenaAlloc* allocator); + SkFallbackAlloc* allocator); SkLinearBitmapPipeline( const SkLinearBitmapPipeline& pipeline, const SkPixmap& srcPixmap, SkBlendMode, const SkImageInfo& dstInfo, - SkArenaAlloc* allocator); + SkFallbackAlloc* allocator); static SkLinearBitmapPipeline* ClonePipelineForBlitting( const SkLinearBitmapPipeline& pipeline, @@ -51,7 +51,7 @@ public: float finalAlpha, SkBlendMode, const SkImageInfo& dstInfo, - SkArenaAlloc* allocator); + SkFallbackAlloc* allocator); ~SkLinearBitmapPipeline(); @@ -65,23 +65,23 @@ public: class PixelAccessorInterface; using MatrixCloner = - std::function<PointProcessorInterface* (PointProcessorInterface*, SkArenaAlloc*)>; + std::function<PointProcessorInterface* (PointProcessorInterface*, SkFallbackAlloc*)>; using TilerCloner = - std::function<PointProcessorInterface* (SampleProcessorInterface*, SkArenaAlloc*)>; + std::function<PointProcessorInterface* (SampleProcessorInterface*, SkFallbackAlloc*)>; PointProcessorInterface* chooseMatrix( PointProcessorInterface* next, const SkMatrix& inverse, - SkArenaAlloc* allocator); + SkFallbackAlloc* allocator); template <typename Tiler> PointProcessorInterface* createTiler(SampleProcessorInterface* next, SkISize dimensions, - SkArenaAlloc* allocator); + SkFallbackAlloc* allocator); template <typename XStrategy> PointProcessorInterface* chooseTilerYMode( SampleProcessorInterface* next, SkShader::TileMode yMode, SkISize dimensions, - SkArenaAlloc* allocator); + SkFallbackAlloc* allocator); PointProcessorInterface* chooseTiler( SampleProcessorInterface* next, @@ -89,16 +89,16 @@ public: SkShader::TileMode xMode, SkShader::TileMode yMode, SkFilterQuality filterQuality, SkScalar dx, - SkArenaAlloc* allocator); + SkFallbackAlloc* allocator); template <SkColorType colorType> PixelAccessorInterface* chooseSpecificAccessor(const SkPixmap& srcPixmap, - SkArenaAlloc* allocator); + SkFallbackAlloc* allocator); PixelAccessorInterface* choosePixelAccessor( const SkPixmap& srcPixmap, const SkColor A8TintColor, - SkArenaAlloc* allocator); + SkFallbackAlloc* allocator); SampleProcessorInterface* chooseSampler( BlendProcessorInterface* next, @@ -106,12 +106,12 @@ public: SkShader::TileMode xTile, SkShader::TileMode yTile, const SkPixmap& srcPixmap, const SkColor A8TintColor, - SkArenaAlloc* allocator); + SkFallbackAlloc* allocator); BlendProcessorInterface* chooseBlenderForShading( SkAlphaType alphaType, float postAlpha, - SkArenaAlloc* allocator); + SkFallbackAlloc* allocator); PointProcessorInterface* fFirstStage; MatrixCloner fMatrixStageCloner; |