| Index: src/core/SkLinearBitmapPipeline.h
|
| diff --git a/src/core/SkLinearBitmapPipeline.h b/src/core/SkLinearBitmapPipeline.h
|
| index 548302ef9acdade777548960e62dc9d35035e538..a6a84b5c8c983c40f6f747896e8ae2ce46339f95 100644
|
| --- a/src/core/SkLinearBitmapPipeline.h
|
| +++ b/src/core/SkLinearBitmapPipeline.h
|
| @@ -21,9 +21,25 @@ public:
|
| SkShader::TileMode xTile, SkShader::TileMode yTile,
|
| float postAlpha,
|
| const SkPixmap& srcPixmap);
|
| +
|
| +
|
| +
|
| + static bool ClonePipelineForBlitting(
|
| + void* blitterStorage,
|
| + const SkLinearBitmapPipeline& pipeline,
|
| + SkMatrix::TypeMask matrixMask,
|
| + SkShader::TileMode xTileMode,
|
| + SkShader::TileMode yTileMode,
|
| + SkFilterQuality filterQuality,
|
| + const SkPixmap& srcPixmap,
|
| + float finalAlpha,
|
| + SkXfermode::Mode xferMode,
|
| + const SkImageInfo& dstInfo);
|
| +
|
| ~SkLinearBitmapPipeline();
|
|
|
| void shadeSpan4f(int x, int y, SkPM4f* dst, int count);
|
| + void blitSpan(int32_t x, int32_t y, void* dst, int count);
|
|
|
| template<typename Base, size_t kSize, typename Next = void>
|
| class Stage {
|
| @@ -65,12 +81,18 @@ public:
|
| class DestinationInterface;
|
|
|
| // These values were generated by the assert above in Stage::init{Sink|Stage}.
|
| - using MatrixStage = Stage<PointProcessorInterface, 160, PointProcessorInterface>;
|
| - using TileStage = Stage<PointProcessorInterface, 160, SampleProcessorInterface>;
|
| + using MatrixStage = Stage<PointProcessorInterface, 160, PointProcessorInterface>;
|
| + using TileStage = Stage<PointProcessorInterface, 160, SampleProcessorInterface>;
|
| using SampleStage = Stage<SampleProcessorInterface, 100, BlendProcessorInterface>;
|
| - using BlenderStage = Stage<BlendProcessorInterface, 80>;
|
| + using BlenderStage = Stage<BlendProcessorInterface, 40>;
|
|
|
| private:
|
| + SkLinearBitmapPipeline(
|
| + const SkLinearBitmapPipeline& pipeline,
|
| + const SkPixmap& srcPixmap,
|
| + SkXfermode::Mode xferMode,
|
| + const SkImageInfo& dstInfo);
|
| +
|
| PointProcessorInterface* fFirstStage;
|
| MatrixStage fMatrixStage;
|
| TileStage fTileStage;
|
|
|