|
Add GPU support for axis-aligned ovals:
- Add drawOval base function to SkDevice, and override in SkGpuDevice
- Move isSimilarityTransform to SkMatrix (renamed to mapsCircleToCircle to match mapsRectToRect)
- Since both SkGpuDevice::drawOval() and GrContext::drawPath() can try to draw ovals, added GrContext::canDrawOval()
- Hooked in axis-aligned oval fill shader
Total comments: 38
Total comments: 1
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+281 lines, -147 lines) |
Patch |
|
M |
bench/PathBench.cpp
|
View
|
1
2
3
4
|
6 chunks |
+16 lines, -4 lines |
0 comments
|
Download
|
|
M |
include/core/SkDevice.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/core/SkDrawFilter.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
include/core/SkMatrix.h
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/gpu/GrContext.h
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
include/gpu/SkGpuDevice.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkCanvas.cpp
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -4 lines |
1 comment
|
Download
|
|
M |
src/core/SkDevice.cpp
|
View
|
1
2
3
4
|
1 chunk |
+11 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/core/SkMatrix.cpp
|
View
|
1
2
3
4
|
1 chunk |
+38 lines, -0 lines |
2 comments
|
Download
|
|
M |
src/gpu/GrContext.cpp
|
View
|
1
2
3
4
|
4 chunks |
+129 lines, -75 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrDrawState.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/gpu/SkGpuDevice.cpp
|
View
|
1
2
3
4
|
2 chunks |
+30 lines, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLProgram.cpp
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/MatrixTest.cpp
|
View
|
1
2
3
4
|
4 chunks |
+23 lines, -53 lines |
0 comments
|
Download
|
Total messages: 9
|