Convert Sk4fGradientInterval to (bias, factor) format
authorFlorin Malita <fmalita@chromium.org>
Fri, 7 Apr 2017 18:56:14 +0000 (14:56 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Fri, 7 Apr 2017 19:48:39 +0000 (19:48 +0000)
commitcf20f7881cf6a546ecb369e2ced55608f6ddeaf3
treeffdbb0dbde0cc73b14c9e32d205ff6292cfae2c4
parentdd20e918bb3c92a7643a8cbd6760ac66c2694017
Convert Sk4fGradientInterval to (bias, factor) format

And rename some fileds:

 * p0, p1   -> t0, t1
 * fC0, fDc -> fCb, fCg

Change-Id: I94b520f83d8f21d62c9c24740b6d3e2dbc3a9ff7
Reviewed-on: https://skia-review.googlesource.com/11799
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
src/effects/gradients/Sk4fGradientBase.cpp
src/effects/gradients/Sk4fGradientBase.h
src/effects/gradients/Sk4fLinearGradient.cpp