commit | 3d1a6bc5f3124dd5cd237ccc39ead26fe4b3355f | [log] [tgz] |
---|---|---|
author | Florin Malita <[email protected]> | Thu Feb 09 15:05:15 2017 -0500 |
committer | Skia Commit-Bot <[email protected]> | Thu Feb 09 20:44:47 2017 +0000 |
tree | 9a6ad5636a2aa941dbf9f143119cb53a3eb34bc0 | |
parent | 4b698cb6c09467e74599d652b036b42c84099c95 [diff] [blame] |
[4fGradient] Relax interval checks for SkGradientShaderBase also Similar to https://skia-review.googlesource.com/8270, treat intervals as closed at both extremities in the 4f gradient fallback impl also. BUG=skia:6212 Change-Id: I7f164868202ae6a0f76cbcdbcbf8e62db12a1bd4 Reviewed-on: https://skia-review.googlesource.com/8277 Commit-Queue: Florin Malita <[email protected]> Reviewed-by: Mike Reed <[email protected]>
diff --git a/fuzz/FuzzGradients.cpp b/fuzz/FuzzGradients.cpp index 8539f5a..88f3429 100644 --- a/fuzz/FuzzGradients.cpp +++ b/fuzz/FuzzGradients.cpp
@@ -75,7 +75,7 @@ } SkDebugf("--- fuzzLinearGradient ---\n"); - SkDebugf(" pts:\t\t[ (%f %f) (%f %f) ]\n", + SkDebugf(" pts:\t\t[ (%.9g %.9g) (%.9g %.9g) ]\n", pts[0].x(), pts[0].y(), pts[1].x(), pts[1].y()); SkDebugf(" colors:\t[ "); for (auto color : colors) {