Go to file
Florin Malita e659c7f36f [4fGradient] Relax interval checks
We're currently considering intervals open at one extremity, in order to
ensure that a given value is always contained in a single interval.

This creates problems with synthetic clamp intervals [1, +inf), for
t == +inf (no interval can contain it).

Treat intervals as closed at both extremities instead.  This introduces
some ambiguitiy for overlapping values (contained in both adjacent
intervals), but solves the more serious problem above.

BUG=skia:6213

Change-Id: I33064f762fa9c2b914615e27977115d6654b12f4
Reviewed-on: https://skia-review.googlesource.com/8270
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2017-02-09 19:21:35 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Remove double free in GM and Bench. 2017-02-08 17:14:39 +00:00
bin Clean up more references to GYP. 2017-02-06 17:55:35 +00:00
debugger Get Debugger app compiling again 2017-01-06 16:18:27 +00:00
dm SkColorSpace: remove named API, add gamut API 2017-02-07 19:33:37 +00:00
example bench, samples, etc: s/SkAutoTUnref/sk_sp/ 2016-11-07 15:17:32 +00:00
experimental Use SkArenaAlloc in the SkAutoBlitterChoose code. 2017-02-07 20:01:20 +00:00
fuzz Log fuzzer linear gradient params in verbose mode 2017-02-09 17:09:58 +00:00
gm Fix simple-magnification GM in "--preAbandonGpuContext" mode 2017-02-09 18:13:57 +00:00
gn SkColorSpace: remove named API, add gamut API 2017-02-07 19:33:37 +00:00
include Split custom font managers. 2017-02-09 14:50:05 +00:00
infra Reboot NexusPlayers with adb and shut them down if install fails 2017-02-09 15:42:14 +00:00
platform_tools Updates to viewer gradle scripts 2017-02-09 14:30:22 +00:00
resources Reland "Respect canvas size and frame offset in webp decoder" 2017-02-07 22:40:13 +00:00
samplecode Tweak shadow sample for demos. 2017-02-08 19:37:01 +00:00
site Clean up more references to GYP. 2017-02-06 17:55:35 +00:00
src [4fGradient] Relax interval checks 2017-02-09 19:21:35 +00:00
tests [4fGradient] Relax interval checks 2017-02-09 19:21:35 +00:00
third_party harfbuzz 1.3.0 → 1.4.2 2017-02-07 16:01:57 +00:00
tools Improve viewer stats collection and display 2017-02-09 17:26:09 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore Clean up more references to GYP. 2017-02-06 17:55:35 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fix typo in GrGLCaps 2016-11-18 23:20:51 +00:00
BUILD.gn Fix viewer on Android 2017-02-09 17:07:24 +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 harfbuzz 1.3.0 → 1.4.2 2017-02-07 16:01:57 +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 root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py Clean up more references to GYP. 2017-02-06 17:55:35 +00:00
public.bzl Split custom font managers. 2017-02-09 14:50: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 Fix whitespace.txt 2017-02-08 16:50:40 +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.