Go to file
Cary Clark ea2a6323bc fix pathops unsortable angles
Pathops determines which edges are kept and discarded
by sorting intersections counterclockwise. An edge
may be unsortable if it is too close to a neighbor to
clearly be on its left or right.

If a pair of lines is unsortable, they are probably
nearly coincident, but just far enough apart to escape
the coincident test.

The current code correctly marks the lines as unsortable,
but returned a guess at the sorting order anyway. Instead,
preserve the unsorted-ness (unsorted mess?) and let
the decision of what to keep defer til later.

This triggered a couple of asserts that needed rewriting
or disabling, but fixes the bug in question and does not
regress the extended tests in debug or release.

Also, fix a debugging routine that bit-rotted.

TBR=reed@google.com

Bug: skia:8228
Change-Id: Ifab90c65837ed9656bb572c385fcc5c916348778
Reviewed-on: https://skia-review.googlesource.com/149620
Commit-Queue: Cary Clark <caryclark@skia.org>
Auto-Submit: Cary Clark <caryclark@skia.org>
Reviewed-by: Cary Clark <caryclark@skia.org>
2018-08-27 18:00:06 +00:00
animations
bench Revert "Stop conflating F16 with linear gamma" 2018-08-23 01:57:13 +00:00
bin bin/droid script: fix wierd mkdir error on my device 2018-08-23 14:46:19 +00:00
dm Revert "Stop conflating F16 with linear gamma" 2018-08-23 01:57:13 +00:00
docker Use a larger machine for our cloud build. 2018-07-31 20:40:33 +00:00
docs fix SkPath documentation 2018-08-15 19:57:32 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental [PathKit] Write more complete docs and clean up API to be consistent 2018-08-24 16:30:00 +00:00
fuzz IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
gm Revert "Stop conflating F16 with linear gamma" 2018-08-23 01:57:13 +00:00
gn Reland "Switch SkCodec to use skcms plus fixes"" 2018-08-27 16:16:14 +00:00
include Reland "Switch SkCodec to use skcms plus fixes"" 2018-08-27 16:16:14 +00:00
infra Add a renderer key to lottie gold digests 2018-08-27 15:15:04 +00:00
modules [skottie] Add support for keyframed text nodes 2018-08-27 14:37:47 +00:00
platform_tools [skottie] Plumb external SkFontMgr 2018-08-23 13:13:30 +00:00
resources Reland "Switch SkCodec to use skcms plus fixes"" 2018-08-27 16:16:14 +00:00
samplecode IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
site remove SkIPoint16 from documentation -- it is private 2018-08-27 11:33:19 +00:00
src fix pathops unsortable angles 2018-08-27 18:00:06 +00:00
tests fix pathops unsortable angles 2018-08-27 18:00:06 +00:00
third_party Ignore PLTE chunks in non-palette PNGs 2018-08-27 15:05:47 +00:00
tools fix pathops unsortable angles 2018-08-27 18:00:06 +00:00
.clang-format Update .clang-format to handle Objective-C files 2018-07-27 21:33:30 +00:00
.gitignore Add OpenCL build. 2018-06-29 13:06:57 +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 Reland "Switch SkCodec to use skcms plus fixes"" 2018-08-27 16:16:14 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING
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/angle2 8707af516c46..89664843c656 (1 commits) 2018-08-27 15:59:30 +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 Make CR and trailing whitespace errors. 2018-07-11 20:48:38 +00:00
public.bzl also set Wno-implicit-fallthrough for Android 2018-08-22 22:01:11 +00:00
README
README.chromium
whitespace.txt Whitespace change to trigger flutter roller 2018-06-22 01:18:46 +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.