|
Pass dashing information to path rasterizers.
This is a WIP patch.
This changes the canDrawPath() and onDrawPath() virtuals to take a
GrStrokeInfo instead of an SkStrokeRec.
It also adds a SkPathEffect to GrStrokeInfo. Note that some of the existing
dashing-related fields in GrStrokeInfo may now be redundant, and could
probably be removed.
Note: this required losing the copy-on-write info in GrContext::internalDrawPath().
If this is required, we can figure out a way to make GrStrokeInfo copy-on-write,
since it isn't currently.
BUG=skia:
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+126 lines, -105 lines) |
Patch |
 |
M |
experimental/AndroidPathRenderer/GrAndroidPathRenderer.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
experimental/AndroidPathRenderer/GrAndroidPathRenderer.cpp
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
experimental/StrokePathRenderer/GrStrokePathRenderer.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
experimental/StrokePathRenderer/GrStrokePathRenderer.cpp
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
include/gpu/GrContext.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
include/gpu/GrPathRendererChain.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/gpu/GrAAConvexPathRenderer.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/gpu/GrAAConvexPathRenderer.cpp
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/gpu/GrAADistanceFieldPathRenderer.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/gpu/GrAADistanceFieldPathRenderer.cpp
|
View
|
|
5 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/gpu/GrAAHairLinePathRenderer.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/gpu/GrAAHairLinePathRenderer.cpp
|
View
|
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/gpu/GrClipMaskManager.cpp
|
View
|
|
6 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/gpu/GrContext.cpp
|
View
|
1
|
4 chunks |
+10 lines, -9 lines |
2 comments
|
Download
|
 |
M |
src/gpu/GrDefaultPathRenderer.h
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/gpu/GrDefaultPathRenderer.cpp
|
View
|
|
6 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/gpu/GrPathRenderer.h
|
View
|
|
7 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
src/gpu/GrPathRendererChain.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/gpu/GrSoftwarePathRenderer.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/gpu/GrSoftwarePathRenderer.cpp
|
View
|
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/gpu/GrStencilAndCoverPathRenderer.h
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/gpu/GrStencilAndCoverPathRenderer.cpp
|
View
|
|
5 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
src/gpu/GrStrokeInfo.h
|
View
|
|
3 chunks |
+15 lines, -5 lines |
2 comments
|
Download
|
 |
M |
src/gpu/GrTessellatingPathRenderer.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/gpu/GrTessellatingPathRenderer.cpp
|
View
|
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tests/TessellatingPathRendererTests.cpp
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
Total messages: 9 (3 generated)
|