|
SkRecord: make culling work if SkRecordAnnotateCullingPairs is called.
- Allow stateful functors; allow visit()/mutate() at a given index; add count().
- Annotate cull push/pop pairs on the PushCull records. (tested)
- Use those annotations to skip ahead in SkRecordDraw. (not yet tested beyond dm --skr)
- Make SkRecordDraw a function, move its implementation to a .cpp.
BUG= skia:2378
Committed: http://code.google.com/p/skia/source/detail?r=14101
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+185 lines, -114 lines) |
Patch |
|
M |
dm/DMRecordTask.cpp
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
gyp/record.gyp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
gyp/tests.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/record/SkRecord.h
|
View
|
|
3 chunks |
+29 lines, -13 lines |
0 comments
|
Download
|
|
A |
src/record/SkRecordCulling.h
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/record/SkRecordCulling.cpp
|
View
|
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/record/SkRecordDraw.h
|
View
|
|
1 chunk |
+2 lines, -57 lines |
0 comments
|
Download
|
|
A + |
src/record/SkRecordDraw.cpp
|
View
|
1
|
2 chunks |
+30 lines, -17 lines |
0 comments
|
Download
|
|
M |
src/record/SkRecorder.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/record/SkRecords.h
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
A |
tests/RecordCullingTest.cpp
|
View
|
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/RecordTest.cpp
|
View
|
|
2 chunks |
+17 lines, -13 lines |
0 comments
|
Download
|
|
M |
tests/RecorderTest.cpp
|
View
|
1
2
|
2 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|