|
cc: Refactor how picture layers are exposed to the tile manager.
This moves the vector of registered picture layers from
the tile manager to LTHI. Allows layers to be registered
in ctor and unregistered in dtor instead of having to
unregister them from the tile manager and then re-register
them as needed.
The picture layer vector is exposed to the tile manager
using a client function and this vector will include all
existing PictureLayerImpl instances. Whether it makes
sense for the tile manager to use a layer or not depends
on the return value of
PictureLayerImpl::HasValidTilePriorities().
BUG=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276665
Total comments: 11
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+99 lines, -257 lines) |
Patch |
 |
M |
cc/layers/picture_layer_impl.h
|
View
|
1
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_impl.cc
|
View
|
1
2
|
3 chunks |
+10 lines, -15 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_impl_unittest.cc
|
View
|
1
2
|
2 chunks |
+0 lines, -160 lines |
0 comments
|
Download
|
 |
M |
cc/resources/tile_manager.h
|
View
|
|
4 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/resources/tile_manager.cc
|
View
|
1
|
6 chunks |
+16 lines, -44 lines |
0 comments
|
Download
|
 |
M |
cc/resources/tile_manager_perftest.cc
|
View
|
1
2
3
|
3 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
cc/resources/tile_manager_unittest.cc
|
View
|
1
|
7 chunks |
+11 lines, -21 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_tile_manager_client.h
|
View
|
1
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/test/fake_tile_manager_client.cc
|
View
|
1
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.h
|
View
|
|
4 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.cc
|
View
|
1
2
|
2 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_impl.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_impl.cc
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
Total messages: 19 (0 generated)
|