|
BBHs: void* data -> unsigned data
Now that the old backend's not using BBHs, we can specialize them for
SkRecord's needs. The only thing we really want to store is op index, which
should always be small enough to fit into an unsigned (unsigned also helps keep
it straight from other ints floating around).
This means we'll need half (32-bit) or a quarter (64-bit) the bytes in SkTileGrid,
because we don't have to store an extra int for ordering.
BUG= skia:2834
Committed: https://skia.googlesource.com/skia/+/6bd41969a0f2283a7a7320bb0025551353c241ec
Total comments: 20
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+115 lines, -361 lines) |
Patch |
|
M |
bench/RTreeBench.cpp
|
View
|
1
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
gyp/tests.gypi
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/core/SkBBoxHierarchy.h
|
View
|
1
2
|
3 chunks |
+7 lines, -37 lines |
0 comments
|
Download
|
|
M |
src/core/SkRTree.h
|
View
|
1
2
|
5 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/core/SkRTree.cpp
|
View
|
1
2
|
5 chunks |
+5 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/core/SkRecordDraw.cpp
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/core/SkTileGrid.h
|
View
|
1
2
|
2 chunks |
+7 lines, -14 lines |
0 comments
|
Download
|
|
M |
src/core/SkTileGrid.cpp
|
View
|
1
2
3
|
8 chunks |
+12 lines, -25 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrRecordReplaceDraw.cpp
|
View
|
|
5 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
|
M |
tests/BBoxHierarchyTest.cpp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -170 lines |
0 comments
|
Download
|
|
M |
tests/PictureTest.cpp
|
View
|
1
2
3
|
1 chunk |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
tests/RTreeTest.cpp
|
View
|
1
2
3
|
7 chunks |
+15 lines, -24 lines |
0 comments
|
Download
|
|
M |
tests/RecordDrawTest.cpp
|
View
|
1
2
3
|
4 chunks |
+19 lines, -20 lines |
0 comments
|
Download
|
|
M |
tests/TileGridTest.cpp
|
View
|
1
2
3
|
2 chunks |
+21 lines, -22 lines |
0 comments
|
Download
|
Total messages: 15 (5 generated)
|