skia2/src
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
..
android Decode to sRGB on Android 2016-12-12 22:19:05 +00:00
c Revert[8] "replace SkXfermode obj with SkBlendMode enum in paints" 2016-10-05 17:33:03 -07:00
codec Reland "Respect canvas size and frame offset in webp decoder" 2017-02-07 22:40:13 +00:00
core SkRasterPipelineBlitter doesn't need an SkArenaAlloc. 2017-02-08 21:26:06 +00:00
effects [4fGradient] Relax interval checks 2017-02-09 19:21:35 +00:00
fonts Remove public APIs that use SkDataTable. 2017-01-23 17:09:37 +00:00
gpu Remove last use of ktx.h 2017-02-09 18:19:25 +00:00
image Revert "Remove asTextureRef from SkSpecialImage & update effects accordingly" 2017-02-08 12:49:16 +00:00
images Update SkJPEGImageEncoder 2017-01-28 01:59:09 +00:00
lazy remove discardablepixelref 2016-10-25 14:19:07 +00:00
opts SkRasterPipeline shader adapter 2017-01-31 14:14:13 +00:00
pathops Revert "offset angle check edge in common" 2017-01-23 15:31:25 +00:00
pdf Revert "move SkDevice.h and SkBitmapDevice.h contents in to src headers" 2017-01-13 22:43:33 +00:00
pipe SkTypes.h : move SkAutoMalloc into SkAutoMalloc.h 2017-01-11 18:55:34 +00:00
ports Include correct header in SkFontMgr_custom_empty_factory.cpp. 2017-02-09 10:06:49 -05:00
sfnt Move two skia arrays to read-only data segment 2017-01-03 00:11:53 +00:00
sksl Revert "skslc type constructor cleanups" 2017-02-09 17:04:41 +00:00
splicer SkSplicer: begin on sse2/sse4.1 support 2017-02-08 21:07:05 +00:00
svg Revert "move SkDevice.h and SkBitmapDevice.h contents in to src headers" 2017-01-13 22:43:33 +00:00
utils Remove exec bit from source files. 2017-02-08 20:21:18 +00:00
views SkColorSpace: remove named API, add gamut API 2017-02-07 19:33:37 +00:00
xml remove SkDebugWStream and other cleanups 2017-01-07 21:49:07 +00:00
xps SkXPS: new document API. 2017-02-06 19:00:28 +00:00