|
SkCanvas::drawPatch param SkPoint[12]
drawPatch now receives as parameter const SkPoint cubics[12]
Adjusted derived classes and serialization.
Ajusted GM's and benches that take into account combinations of optional
parameters, the scale of the patch and 4 different types of patches.
Planning on adding the extra functionality of SkPatch in another CL.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/b3c9d1c33caf325aada244204215eb790c228c12
Total comments: 2
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1061 lines, -628 lines) |
Patch |
|
A |
bench/PatchBench.cpp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+325 lines, -0 lines |
0 comments
|
Download
|
|
M |
gm/patch.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+81 lines, -59 lines |
0 comments
|
Download
|
|
M |
gyp/bench.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
gyp/core.gypi
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
include/core/SkCanvas.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+15 lines, -6 lines |
0 comments
|
Download
|
|
M |
include/core/SkDevice.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
include/core/SkPatch.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -182 lines |
0 comments
|
Download
|
|
M |
include/core/SkReadBuffer.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
include/core/SkReader32.h
|
View
|
1
2
3
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
include/core/SkWriter32.h
|
View
|
1
2
3
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
include/utils/SkDeferredCanvas.h
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
include/utils/SkDumpCanvas.h
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
include/utils/SkNWayCanvas.h
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
include/utils/SkProxyCanvas.h
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/core/SkBBoxRecord.h
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/core/SkBBoxRecord.cpp
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/core/SkCanvas.cpp
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+14 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/core/SkDevice.cpp
|
View
|
1
2
3
|
1 chunk |
+7 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/core/SkPatch.cpp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -262 lines |
0 comments
|
Download
|
|
M |
src/core/SkPicturePlayback.cpp
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+23 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/core/SkPictureRecord.h
|
View
|
1
2
3
4
5
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/core/SkPictureRecord.cpp
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+43 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/core/SkReadBuffer.cpp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/core/SkRecordDraw.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/core/SkRecorder.h
|
View
|
1
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
src/core/SkRecorder.cpp
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/core/SkRecords.h
|
View
|
|
2 chunks |
+19 lines, -1 line |
0 comments
|
Download
|
|
M |
src/core/SkValidatingReadBuffer.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/core/SkValidatingReadBuffer.cpp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/pipe/SkGPipeRead.cpp
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+23 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/pipe/SkGPipeWrite.cpp
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+44 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/utils/SkDeferredCanvas.cpp
|
View
|
1
2
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/utils/SkDumpCanvas.cpp
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+17 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/utils/SkNWayCanvas.cpp
|
View
|
1
2
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/utils/SkPatchUtils.h
|
View
|
1
2
3
|
1 chunk |
+101 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/utils/SkPatchUtils.cpp
|
View
|
1
2
3
|
2 chunks |
+288 lines, -19 lines |
0 comments
|
Download
|
|
M |
src/utils/SkProxyCanvas.cpp
|
View
|
1
2
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
Total messages: 19 (0 generated)
|