Go to file
Stephen White bfb2a05af1 GrTessellator: fix for ping-pong split fuzzer hang.
Change 3b5a3fa8b1 introduced support for
splitting on out-of-range intersections. However, this is only necessary
for correctness when the edge is nearly-flat (the top and bottom
points only differ by 1/2 machine epsilon in the primary sort criterion).
In other cases, it can cause repeated splitting and re-merging of edges,
as the intersection code (being approximate and not exact) may produce a
ping-pong set of intersections.

The fix is to support out-of-range intersections only if they differ by
1/2 machine epsilon. This also generalizes the
out_of_range_and_collinear() check, so it was removed.

Bug: 838978
Change-Id: I134f7eff3f15707e0d68de11c55f7fadce4ff8e7
Reviewed-on: https://skia-review.googlesource.com/130448
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2018-05-29 17:10:16 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Remove ColorCodecBench 2018-05-23 15:20:21 +00:00
bin Update gn 2018-05-23 12:11:06 +00:00
dm Use skcms for ICC parsing in HP codec test 2018-05-23 16:18:41 +00:00
docker Fix Dockerfile so args.gn actually applies, also drop debug symbols. 2018-05-28 18:58:45 +00:00
docs Move SkYUVAIndex and SkImageSourceChannel to SkImageInfoPriv.h until used in public API 2018-05-24 14:14:43 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental [skottie] Relocate to modules/skottie 2018-05-27 02:21:33 +00:00
fuzz Fix fuzz+Skottie integration 2018-05-29 13:46:45 +00:00
gm Reland "Add support for SkCanvas::kStrict_SrcRectConstraint to GrTextureOp." 2018-05-26 18:33:39 +00:00
gn Add some missing includes to sources. 2018-05-26 14:16:50 +00:00
include Reland "Turn off domain in GrTextureOp when src rect contains entire proxy" 2018-05-26 18:36:12 +00:00
infra Upgrade node to 8.11.2 2018-05-29 12:54:05 +00:00
modules Clean up modules/skottie/BUILD.gn 2018-05-29 14:50:05 +00:00
platform_tools Remove "/" from the generated jUnit method names. 2018-05-23 15:12:41 +00:00
resources update ColorSpaceTest.cpp to remove MakeICC 2018-05-23 17:11:11 +00:00
samplecode "Modularize" SkSG 2018-05-25 17:11:52 +00:00
site Update markdown files 2018-05-29 06:57:45 +00:00
src GrTessellator: fix for ping-pong split fuzzer hang. 2018-05-29 17:10:16 +00:00
tests GrTessellator: fix for ping-pong split fuzzer hang. 2018-05-29 17:10:16 +00:00
third_party [skottie] Relocate to modules/skottie 2018-05-27 02:21:33 +00:00
tools Added drawAtlas support to SkDebugCanvas 2018-05-29 15:44:35 +00:00
.clang-format Revert "Update clang-format matching more of Chromium" 2018-05-24 13:27:25 +00:00
.gitignore [lottiecap] Moved over from buildbot repo. 2018-03-20 13:25:23 +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 [skottie] Relocate to modules/skottie 2018-05-27 02:21:33 +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/angle2 bcf467f..1e91374 (1 commits) 2018-05-29 15:04:15 +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 Revert "Update docs preview URL in presubmit" 2018-05-22 15:29:15 +00:00
public.bzl Remove SK_SUPPORT_LEGACY_BACKEND_OBJECTS from public.bzl. 2018-05-03 18:14:41 +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 Reland "Whitespace change" 2018-04-14 01:24:11 +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.