Bundle common arguments to GrGradientEffect creation
authorbrianosman <brianosman@google.com>
Thu, 15 Sep 2016 13:59:15 +0000 (06:59 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 15 Sep 2016 13:59:16 +0000 (06:59 -0700)
commit9557c273d8b10ad057b7932875828de204a5d00e
tree8e3d6cfe858f7fe6a5f3cb0bc9c367a40d613606
parent09b352f75f950ff514e97b9b495c73ee49498e22
Bundle common arguments to GrGradientEffect creation

I'm going to be adding more (to deal with color spaces), so trying to fix
this before it gets out of control.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2332213007

Committed: https://skia.googlesource.com/skia/+/f605c16a030d791a37f589e6bddd7158ba5d62cd
Review-Url: https://codereview.chromium.org/2332213007
src/effects/gradients/SkGradientShader.cpp
src/effects/gradients/SkGradientShaderPriv.h
src/effects/gradients/SkLinearGradient.cpp
src/effects/gradients/SkRadialGradient.cpp
src/effects/gradients/SkSweepGradient.cpp
src/effects/gradients/SkTwoPointConicalGradient.cpp
src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp
src/effects/gradients/SkTwoPointConicalGradient_gpu.h