diff options
Diffstat (limited to 'src/shaders/gradients/SkGradientShader.cpp')
-rw-r--r-- | src/shaders/gradients/SkGradientShader.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/shaders/gradients/SkGradientShader.cpp b/src/shaders/gradients/SkGradientShader.cpp index 114b7c58a1..82ae1294ca 100644 --- a/src/shaders/gradients/SkGradientShader.cpp +++ b/src/shaders/gradients/SkGradientShader.cpp @@ -419,13 +419,6 @@ bool SkGradientShaderBase::isOpaque() const { return fColorsAreOpaque && (this->getTileMode() != SkShader::kDecal_TileMode); } -bool SkGradientShaderBase::onIsRasterPipelineOnly(const SkMatrix& ctm) const { - if (this->getTileMode() == SkShader::kDecal_TileMode) { - return true; - } - return this->INHERITED::onIsRasterPipelineOnly(ctm); -} - static unsigned rounded_divide(unsigned numer, unsigned denom) { return (numer + (denom >> 1)) / denom; } |