|
cc: Simplify picture layer tiling update tile priorities.
This patch simplifies the priority math calculation and moves it
into layers space. This makes the priority to be less correct,
since we're inverse transforming the viewport into layer space
instead of forward transforming tiles into screen space in all cases.
In particular, with perspective and rotated layers, we will be marking
more tiles as visible than before. This should be OK, since the amount
of those layers in practice is limited.
BUG= 339142
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251064
Total comments: 35
Total comments: 1
Total comments: 19
Total comments: 8
Total comments: 4
Total comments: 9
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+750 lines, -932 lines) |
Patch |
 |
M |
cc/cc_tests.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_impl.h
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+31 lines, -40 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_impl_unittest.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+13 lines, -14 lines |
0 comments
|
Download
|
 |
M |
cc/resources/managed_tile_state.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/resources/managed_tile_state.cc
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture_layer_tiling.h
|
View
|
1
2
3
4
5
|
4 chunks |
+16 lines, -13 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture_layer_tiling.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+126 lines, -195 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture_layer_tiling_perftest.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+26 lines, -40 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture_layer_tiling_set.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -13 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture_layer_tiling_set.cc
|
View
|
1
|
1 chunk |
+7 lines, -28 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture_layer_tiling_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
36 chunks |
+408 lines, -357 lines |
0 comments
|
Download
|
 |
M |
cc/resources/prioritized_tile_set.cc
|
View
|
|
1 chunk |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/resources/prioritized_tile_set_unittest.cc
|
View
|
|
1 chunk |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/resources/tile_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+9 lines, -30 lines |
0 comments
|
Download
|
 |
M |
cc/resources/tile_priority.h
|
View
|
1
2
3
4
|
3 chunks |
+26 lines, -25 lines |
0 comments
|
Download
|
 |
M |
cc/resources/tile_priority.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+18 lines, -86 lines |
0 comments
|
Download
|
 |
D |
cc/resources/tile_priority_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -53 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_picture_layer_impl.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_picture_layer_tiling_client.h
|
View
|
1
2
3
4
5
|
3 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_picture_layer_tiling_client.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+20 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/test_tile_priorities.cc
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_settings.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_settings.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
Total messages: 38 (0 generated)
|