Always use raster pipeline for radial gradients

Change-Id: Id4c9ed45c28becf0e25ed9ff1b3380c7ca65aa4b
Reviewed-on: https://skia-review.googlesource.com/25363
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
This commit is contained in:
Florin Malita 2017-07-20 16:49:06 -04:00 committed by Skia Commit-Bot
parent e23e55ef33
commit 5a5207ae67

View File

@ -367,8 +367,7 @@ bool SkRadialGradient::onIsRasterPipelineOnly() const {
#ifdef SK_SUPPORT_LEGACY_RADIAL_GRADIENT #ifdef SK_SUPPORT_LEGACY_RADIAL_GRADIENT
return false; return false;
#else #else
// We have a clamp fast path; everything else -> RP. return true;
return fTileMode != SkShader::kClamp_TileMode;
#endif #endif
} }