|
fuzzer fixes
Fix path bugs exposed by the path fuzzer.
Changes to existing gm and samplecode files defer their calls to construct
SkPath objects until the first draw instead of at test initialization.
Add an experimental call to SkPath to validate the internal SkPathRef.
Fix SkPath::addPoly to set the last moveto after adding a close verb.
Fix stroke to handle failures when computing the unit normal.
Add a unit test for the unit normal failure.
R=reed@google.com
Committed: https://skia.googlesource.com/skia/+/63c684a8a609d39da11b4a656223cebf52ca85dc
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+765 lines, -58 lines) |
Patch |
|
M |
gm/bitmapshader.cpp
|
View
|
1
2
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
gm/circularclips.cpp
|
View
|
1
2
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
gm/complexclip2.cpp
|
View
|
1
2
3
|
4 chunks |
+15 lines, -8 lines |
0 comments
|
Download
|
|
M |
gm/picture.cpp
|
View
|
1
2
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
gm/pictureshader.cpp
|
View
|
1
2
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
gm/shadows.cpp
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
gm/simpleaaclip.cpp
|
View
|
1
2
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
gm/strokes.cpp
|
View
|
1
2
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
gyp/SampleApp.gyp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
include/core/SkPath.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
samplecode/SampleApp.cpp
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
samplecode/SampleCode.h
|
View
|
1
2
|
3 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
samplecode/SamplePathEffects.cpp
|
View
|
1
2
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
A |
samplecode/SamplePathFuzz.cpp
|
View
|
1
|
1 chunk |
+651 lines, -0 lines |
0 comments
|
Download
|
|
M |
samplecode/SampleStrokePath.cpp
|
View
|
1
2
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
samplecode/SampleTextOnPath.cpp
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/core/SkPath.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkStroke.cpp
|
View
|
|
8 chunks |
+27 lines, -26 lines |
0 comments
|
Download
|
|
M |
tests/StrokeTest.cpp
|
View
|
|
2 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
Total messages: 18 (7 generated)
|