|
cc: Move LayerEvictionTileIterator to a separate file and make it a queue
In line with LayerRasterTileIterator patch, this patch removes
PictureLayerImpl::LayerEvictionTileIterator, moves it to a separate
file, renames it to TilingSetEvictionQueue, makes its functionality be
more queue-like instead of iterator-like and merges
PictureLayerTiling::TilingEvictionTileIterator into it (as those two
iterators were so tightly coupled).
Also, this patch adds a PLI::CreateEvictionQueue to get a eviction queue
for the layer.
This hides a bit more details of PLTS from PLI and avoid duplicating
eviction category handling in multiple different iterator classes.
Committed: https://crrev.com/ada8f5dae0fd99ef5a74fecdff1b91dacd7183b3
Cr-Commit-Position: refs/heads/master@{#305972}
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+351 lines, -555 lines) |
Patch |
|
M |
cc/BUILD.gn
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/cc.gyp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/layers/picture_layer_impl.h
|
View
|
|
2 chunks |
+4 lines, -29 lines |
0 comments
|
Download
|
|
M |
cc/layers/picture_layer_impl.cc
|
View
|
1
2
|
2 chunks |
+8 lines, -154 lines |
0 comments
|
Download
|
|
M |
cc/layers/picture_layer_impl_perftest.cc
|
View
|
|
7 chunks |
+19 lines, -19 lines |
0 comments
|
Download
|
|
M |
cc/layers/picture_layer_impl_unittest.cc
|
View
|
1
2
|
8 chunks |
+16 lines, -21 lines |
0 comments
|
Download
|
|
M |
cc/resources/eviction_tile_priority_queue.h
|
View
|
|
3 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
|
M |
cc/resources/eviction_tile_priority_queue.cc
|
View
|
|
4 chunks |
+43 lines, -48 lines |
0 comments
|
Download
|
|
M |
cc/resources/picture_layer_tiling.h
|
View
|
1
|
2 chunks |
+1 line, -19 lines |
0 comments
|
Download
|
|
M |
cc/resources/picture_layer_tiling.cc
|
View
|
1
|
1 chunk |
+0 lines, -46 lines |
0 comments
|
Download
|
|
M |
cc/resources/picture_layer_tiling_perftest.cc
|
View
|
1
|
2 chunks |
+0 lines, -113 lines |
0 comments
|
Download
|
|
M |
cc/resources/picture_layer_tiling_unittest.cc
|
View
|
1
|
1 chunk |
+0 lines, -96 lines |
0 comments
|
Download
|
|
A |
cc/resources/tiling_set_eviction_queue.h
|
View
|
1
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
|
A |
cc/resources/tiling_set_eviction_queue.cc
|
View
|
1
|
1 chunk |
+197 lines, -0 lines |
0 comments
|
Download
|
Total messages: 17 (2 generated)
|