Go to file
Stephen White 86cc841e23 AA GrTessellator: fix bevelling of acute angles.
The code to handle acute outer angles in generated geometry was pretty
broken: it did a simple runnning average of consecutive acute vertices,
and didn't handle acute angles between the last and first edges.
Replaced it with something simpler that does proper bevelling for
angles less than 2.5 degrees.

This revealed a bug with thin path segments, exposed by the thinconcavepaths
test. This will be fixed by upcoming changes, but I've also dded a few more
test cases to make it clearer.

Change-Id: I23a628ab2e16acaab798c746a5fd87842cacbfab
Reviewed-on: https://skia-review.googlesource.com/7660
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Stephan White <senorblanco@chromium.org>
2017-01-27 21:06:55 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Generate Android build targets for dm and nanobench 2017-01-27 20:02:23 +00:00
bin bin/sync : call tools/git-sync-deps now 2017-01-27 16:03:35 +00:00
debugger Get Debugger app compiling again 2017-01-06 16:18:27 +00:00
dm Keep valgrind happen by purging caches. 2017-01-26 22:38:50 +00:00
example bench, samples, etc: s/SkAutoTUnref/sk_sp/ 2016-11-07 15:17:32 +00:00
experimental experimental/documentation/gerrit.md 2017-01-27 20:39:59 +00:00
fuzz Remove SkColorCubeFilter. It is unused. 2017-01-21 15:09:31 +00:00
gm AA GrTessellator: fix bevelling of acute angles. 2017-01-27 21:06:55 +00:00
gn Generate Android build targets for dm and nanobench 2017-01-27 20:02:23 +00:00
gyp Generate Android build targets for dm and nanobench 2017-01-27 20:02:23 +00:00
include Add geometric version of spot shadow 2017-01-27 19:53:18 +00:00
infra Roll recipe DEPS 2017-01-25 16:03:50 +00:00
platform_tools Remove old generator code 2017-01-27 19:10:49 +00:00
resources Use fixed size buffer for RLE bmps 2017-01-19 14:21:02 +00:00
samplecode Move SkGammaColorFilter to tools, limit to sRGB 2017-01-26 15:27:49 +00:00
site bin/sync : call tools/git-sync-deps now 2017-01-27 16:03:35 +00:00
src AA GrTessellator: fix bevelling of acute angles. 2017-01-27 21:06:55 +00:00
tests Generate Android build targets for dm and nanobench 2017-01-27 20:02:23 +00:00
third_party Generate Android build targets for dm and nanobench 2017-01-27 20:02:23 +00:00
tools Generate Android build targets for dm and nanobench 2017-01-27 20:02:23 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore drop depot_tools dependency in bin/fetch-gn 2017-01-12 19:54:50 +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 Android roll 2017-01-13 21:17:05 +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 Revert "Update libwebp to 0.6.0-pre" 2017-01-23 20:47:46 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
gyp_skia Make Win runtime DLLs writeable before overwriting 2016-03-18 08:33:38 -07:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +00: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 Add hcm@ to public API owners 2017-01-19 17:36:06 +00:00
public.bzl Reland "remove clipbounds flag" 2017-01-26 21:40:12 +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
skia.gyp Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
whitespace.txt Marker for IntelIris540 driver change. 2017-01-20 14:30:51 +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.