diff options
Diffstat (limited to 'src/shaders')
-rw-r--r-- | src/shaders/SkImageShader.cpp | 2 | ||||
-rw-r--r-- | src/shaders/SkShader.cpp | 2 | ||||
-rw-r--r-- | src/shaders/gradients/SkGradientShader.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/shaders/SkImageShader.cpp b/src/shaders/SkImageShader.cpp index a76edc053c..c3e6931baf 100644 --- a/src/shaders/SkImageShader.cpp +++ b/src/shaders/SkImageShader.cpp @@ -341,7 +341,7 @@ bool SkImageShader::onAppendStages(const StageRec& rec) const { } } - p->append_seed_shader(); + p->append(SkRasterPipeline::seed_shader); struct MiscCtx { std::unique_ptr<SkBitmapController::State> state; diff --git a/src/shaders/SkShader.cpp b/src/shaders/SkShader.cpp index 17b56a2e27..2dcba94983 100644 --- a/src/shaders/SkShader.cpp +++ b/src/shaders/SkShader.cpp @@ -232,7 +232,7 @@ bool SkShaderBase::onAppendStages(const StageRec& rec) const { }; if (cb->ctx) { - rec.fPipeline->append_seed_shader(); + rec.fPipeline->append(SkRasterPipeline::seed_shader); rec.fPipeline->append(SkRasterPipeline::callback, cb); return true; } diff --git a/src/shaders/gradients/SkGradientShader.cpp b/src/shaders/gradients/SkGradientShader.cpp index e5f0c7f33c..a6fb4e94bd 100644 --- a/src/shaders/gradients/SkGradientShader.cpp +++ b/src/shaders/gradients/SkGradientShader.cpp @@ -289,7 +289,7 @@ bool SkGradientShaderBase::onAppendStages(const StageRec& rec) const { SkRasterPipeline_<256> postPipeline; - p->append_seed_shader(); + p->append(SkRasterPipeline::seed_shader); p->append_matrix(alloc, matrix); this->appendGradientStages(alloc, p, &postPipeline); |