|
WIP: GPU-accelerated trapezoidal path renderer.
This approach is simpler than the earlier path: it emits trapezoids once
for every y scanline where an edge event happened (start, end,
intersection). This improves correctness and simplifies the code.
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+499 lines, -48 lines) |
Patch |
|
M |
gyp/gpu.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
samplecode/SampleApp.cpp
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
samplecode/SampleConcavePaths.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkEdge.h
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkEdge.cpp
|
View
|
1
2
3
4
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkScan.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkScan.cpp
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkScanPriv.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/core/SkScan_AntiPath.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/core/SkScan_Path.cpp
|
View
|
1
2
3
4
5
6
7
8
|
18 chunks |
+200 lines, -25 lines |
0 comments
|
Download
|
|
M |
src/core/SkStroke.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkStroke.cpp
|
View
|
1
2
3
4
5
6
7
8
|
11 chunks |
+39 lines, -20 lines |
0 comments
|
Download
|
|
A |
src/gpu/GrAAConcavePathRenderer.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/gpu/GrAAConcavePathRenderer.cpp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+145 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrPathRendererChain.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 1 (1 generated)
|