Go to file
Michael Ludwig 083bc1576a Update parameter generation for randomized gradient tests
Previously, randomized gradients used layout parameters between 0 and 1.
However, that means when the ProcessorOptimizationValidationTest renders the
generated gradients, the sub-pixel gradients are stretched a lot. This may
be the source of instability in the test, if we are reaching precision issues
due to the small values scaled up so much when actually rendered.

Here is an example of a valid 2 point conical gradient produced by the original
parameter generation: https://drive.google.com/file/d/1CMc69AHcWBjLu2Ir2ty0qw29T-Vd1cOg
Here is a very similar case, rendered on another device, that also has corruption: https://drive.google.com/open?id=1K2HPXCSda2bWoGwV-x_iKwu9_xLENBt-
Here is the equivalent 2 point conical gradient from the first link, generated using the new parameters from this CL: https://drive.google.com/open?id=1Z_M0xJ2h-o-bPb5Il7-P5X4z703nWt5R

Bug: skia:
Change-Id: I89f5ef0e91fa9ff5664079936f97e90a8dbfcd19
Reviewed-on: https://skia-review.googlesource.com/158561
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2018-10-01 22:59:00 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Remove SkPM4fPriv.h includes, then IWYU 2018-09-28 15:17:04 +00:00
bin Add script to pull svgs to svgs/ and add to .gitignore 2018-08-31 20:02:24 +00:00
dm Add input/output image logging to processor tests 2018-10-01 18:30:06 +00:00
docker Use new build targets in continuous build of skottie and debugger. 2018-09-20 15:26:18 +00:00
docs delete textonpath code -- not used anywhere 2018-10-01 16:52:32 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental move skpipe to experimental 2018-09-21 17:20:25 +00:00
fuzz delete textonpath code -- not used anywhere 2018-10-01 16:52:32 +00:00
gm delete textonpath code -- not used anywhere 2018-10-01 16:52:32 +00:00
gn delete textonpath code -- not used anywhere 2018-10-01 16:52:32 +00:00
include Towards removing GrColor4f 2018-10-01 18:32:56 +00:00
infra Open non-perf Quadro bots to rack 2 2018-10-01 14:25:25 +00:00
modules [skottie] External font loader tweaks 2018-09-27 16:22:25 +00:00
platform_tools [skottie] Plumb external SkFontMgr 2018-08-23 13:13:30 +00:00
resources [skottie] Add a property setter sample/GM 2018-09-26 16:43:49 +00:00
samplecode delete textonpath code -- not used anywhere 2018-10-01 16:52:32 +00:00
site Docs: update to docs from a4daf19319 2018-09-21 20:01:25 +00:00
src Update parameter generation for randomized gradient tests 2018-10-01 22:59:00 +00:00
tests Towards removing GrColor4f 2018-10-01 18:32:56 +00:00
third_party Roll skia/third_party/skcms 1c1d5560df11..dfd5b3a4a61f (1 commits) 2018-09-27 19:18:41 +00:00
tools Accept processor test seed from command line 2018-10-01 13:42:27 +00:00
.clang-format Update .clang-format to handle Objective-C files 2018-07-27 21:33:30 +00:00
.gitignore Add script to pull svgs to svgs/ and add to .gitignore 2018-08-31 20:02:24 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fixed SkVertices crashing on Windows DLL builds 2018-04-22 14:42:01 +00:00
BUILD.gn Fix error at run time to load skottie_android.so 2018-10-01 20:46:50 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll third_party/externals/swiftshader 810f3db8264a..f1d777c71f03 (1 commits) 2018-10-01 20:31:58 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py Add new autoroll service accounts to AUTHORS check bypass 2018-09-07 18:49:23 +00:00
public.bzl Remove more SkColorSpaceXform (and friends) 2018-09-26 22:30:05 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
whitespace.txt [infra] Marker for IntelBayTrail BIOS update. 2018-09-17 16:47:35 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.