Go to file
Cary Clark 44c1b111c7 path hang
In release, path hangs because buffers overflow.
Debug shows that the clipped cubic generates 34 points although
a maximum of 32 are expected.

The path has very small numbers that fool MaxCurvature into
thinking that there are more places to break the cubic than
are necessary.

To make this bullet-proof, increase the verbs and points.

Allow (1 line + 1 cubic) * (3 x-pieces) * (3 y-pieces) == 18 verbs.
Allow (6 points for line + cubic + line) * 9 pieces    == 54 points.

R=reed@google.com,liyuqian@google.com
BUG=698714

Change-Id: I04fad10c151c79d0c53465a2b658aa4dd59f1c98
Reviewed-on: https://skia-review.googlesource.com/9983
Reviewed-by: Yuqian Li <liyuqian@google.com>
Commit-Queue: Cary Clark <caryclark@google.com>
2017-03-22 16:32:45 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00
bin bin/fetch-clang-format 2017-03-08 16:43:49 +00:00
debugger Get Debugger app compiling again 2017-01-06 16:18:27 +00:00
dm Eager or Lazy evaluation of sub-drawings for SkDeferredCanvas. 2017-03-20 15:15:33 +00:00
example Add the ability to enable/disable GPU path renderers 2017-02-22 20:29:56 +00:00
experimental Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00
fuzz FuzzCanvas: NullGL & DebugGL 2017-03-21 20:30:38 +00:00
gm Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00
gn Revert "Remove Android-specific SK_SUPPORT_LEGACY_IMG_SNAPSHOT flag" 2017-03-22 14:18:15 +00:00
include Support premul/unpremul of F16 during read/writePixels 2017-03-22 16:31:39 +00:00
infra Further widen nondeterministic processor testing 2017-03-22 16:27:18 +00:00
platform_tools One-liner fix that allows Viewer to switch between Raster and OpenGL 2017-02-23 22:33:36 +00:00
resources Set a limit on the size for BMP images 2017-02-24 21:25:44 +00:00
samplecode Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00
site Add docs for iOS simulator build. 2017-03-21 17:12:46 +00:00
src path hang 2017-03-22 16:32:45 +00:00
tests path hang 2017-03-22 16:32:45 +00:00
third_party fixed missing dependency in spirv-tools/BUILD.gn 2017-03-16 16:58:48 +00:00
tools Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore bin/fetch-clang-format 2017-03-08 16:43:49 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Added support for building for tvOS 2017-03-14 22:55:04 +00:00
BUILD.gn Enable dng testing on windows 2017-03-21 17:28:21 +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 Update build tools to newer gn. 2017-03-17 17:38: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
PRESUBMIT.py Clean up more references to GYP. 2017-02-06 17:55:35 +00:00
public.bzl remove SK_SUPPORT_LEGACY_DRAWVERTICES_VIRTUAL flag 2017-03-21 10:11:35 +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 Skia Gerrit 10k! 2017-03-22 14:37:06 +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.