|
cc: Calculate "can use lcd text" on the compositor thread
Property trees don't calculate lcd text settings on the main thread, so
to move to them, these calculations need to move to the compositor
thread.
There's nothing tied to the main thread, other than only changing lcd
text during a commit. This restriction avoids the pitfall of tile
versions (i.e. changing out content in place with different settings) by
only changing content and invalidating during a commit, which already
waits for rasterization to occur before displaying that content.
That restriction is satisfied by only updating lcd text on picture
layers during an update on the sync tree on new frame numbers.
Committed: https://crrev.com/af5bda38151cf75f19bb8434b4aa0653bdfccc7e
Cr-Commit-Position: refs/heads/master@{#316955}
Total comments: 15
Total comments: 2
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+337 lines, -308 lines) |
Patch |
 |
M |
cc/layers/content_layer.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/layers/content_layer.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer.h
|
View
|
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer.h
|
View
|
|
3 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer.cc
|
View
|
|
5 chunks |
+6 lines, -22 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_impl.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_impl.cc
|
View
|
1
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_impl_perftest.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_impl_unittest.cc
|
View
|
1
2
3
|
25 chunks |
+44 lines, -30 lines |
0 comments
|
Download
|
 |
M |
cc/resources/display_list_raster_source.h
|
View
|
1
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/resources/display_list_raster_source.cc
|
View
|
|
4 chunks |
+32 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/resources/display_list_recording_source.h
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/resources/display_list_recording_source.cc
|
View
|
|
4 chunks |
+4 lines, -11 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture_pile.h
|
View
|
|
3 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture_pile.cc
|
View
|
|
5 chunks |
+6 lines, -20 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture_pile_impl.h
|
View
|
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture_pile_impl.cc
|
View
|
|
4 chunks |
+33 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture_pile_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/resources/raster_source.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/resources/recording_source.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/resources/tile_manager_perftest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/resources/tile_manager_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_layer_tree_host_impl.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/test/fake_picture_pile.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/test/fake_picture_pile.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/test/fake_picture_pile_impl.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host.h
|
View
|
1
|
1 chunk |
+0 lines, -14 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host.cc
|
View
|
1
|
3 chunks |
+0 lines, -36 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_common_unittest.cc
|
View
|
1
2
3
4
5
6
|
13 chunks |
+50 lines, -46 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.cc
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest.cc
|
View
|
|
5 chunks |
+17 lines, -52 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_impl.h
|
View
|
1
2
3
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_impl.cc
|
View
|
1
2
3
4
|
6 chunks |
+30 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/trees/occlusion_tracker_perftest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/single_thread_proxy.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/thread_proxy.cc
|
View
|
1
2
3
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 35 (8 generated)
|