aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/SurfaceTest.cpp
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-05-11 10:59:22 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-12 11:38:49 +0000
commit5c7960be57010bf61db3d4ce879a3194687b5af9 (patch)
tree9ccdfd2230214173d19db29f206d1af2197f2787 /tests/SurfaceTest.cpp
parentdf3a371c904c2e3e1d3d9201b7dfc0d080e5f12a (diff)
refactor gradient stage names
This is just a name refactor and I'm happy to delay it until we're done with the current wave of gradient CLs. The main ideas: - we use the "linear_gradient" stages for all gradients, so cut the "linear" and just call them "gradient"; - remind ourselves that the 2-stop stage requires even spacing, i.e. stops at 0 and 1. This name should harmonize with Herb's new general evenly spaced gradient stage, currently "evenly_spaced_linear_gradient", and after it lands and I rebase, "evenly_spaced_gradient" - remind ourselves which polar coordinate xy_to_polar_unit returns, the angle. Change-Id: I0fd0c8bd4c1ead7d2d0fff45a199d318b71f34ac Reviewed-on: https://skia-review.googlesource.com/16500 Commit-Queue: Mike Klein <mtklein@chromium.org> Reviewed-by: Mike Reed <reed@google.com>
Diffstat (limited to 'tests/SurfaceTest.cpp')
0 files changed, 0 insertions, 0 deletions