|
cc: Refactor content scale/bounds into draw properties
This change allows layer impls to manipulate their content scale. This will
allow PictureLayerImpl to pick some contents scale based on the scales of their
tilings, rather than being stuck at the contents scale of its PictureLayer.
This also de-virtualizes all of the content scale/bounds functions and instead
allows a layer to manipulate its draw properties in response to a bounds or
contents scale change.
BUG= 155209
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173365
Total comments: 10
Total comments: 10
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+197 lines, -136 lines) |
Patch |
|
M |
cc/contents_scaling_layer.h
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
cc/contents_scaling_layer.cc
|
View
|
1
2
3
4
|
1 chunk |
+15 lines, -17 lines |
0 comments
|
Download
|
|
M |
cc/contents_scaling_layer_unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+12 lines, -18 lines |
0 comments
|
Download
|
|
M |
cc/draw_properties.h
|
View
|
1
2
3
4
5
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/image_layer.h
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
cc/image_layer.cc
|
View
|
1
2
3
4
|
2 chunks |
+12 lines, -6 lines |
0 comments
|
Download
|
|
M |
cc/layer.h
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
|
M |
cc/layer.cc
|
View
|
1
2
3
4
|
3 chunks |
+15 lines, -12 lines |
0 comments
|
Download
|
|
M |
cc/layer_impl.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
|
M |
cc/layer_impl.cc
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
|
M |
cc/layer_tree_host_common.cc
|
View
|
1
2
3
4
|
2 chunks |
+22 lines, -5 lines |
0 comments
|
Download
|
|
M |
cc/layer_tree_host_common_unittest.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+12 lines, -19 lines |
0 comments
|
Download
|
|
M |
cc/layer_tree_host_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+12 lines, -3 lines |
0 comments
|
Download
|
|
M |
cc/scrollbar_layer.h
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
cc/scrollbar_layer.cc
|
View
|
1
2
3
4
|
1 chunk |
+13 lines, -5 lines |
0 comments
|
Download
|
|
M |
cc/scrollbar_layer_unittest.cc
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
cc/test/tiled_layer_test_common.h
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
|
M |
cc/test/tiled_layer_test_common.cc
|
View
|
1
2
3
4
|
1 chunk |
+21 lines, -10 lines |
0 comments
|
Download
|
|
M |
cc/tiled_layer_unittest.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|