|
cc: Move RenderTarget Information to Effect Tree
Move render target related information to effect tree and clean up
render target logic.
This CL's major change includes:
1. Effect node's target_id is updated every frame
2. Effect node's target_id always points to closest ancestor that has a
render surface, and never points to itself.
3. LayerImpl's render target returns the RenderSurfaceImpl that the
layer contributes to. It is possible the LayerImpl owns that
RenderSurfaceImpl.
4. RenderSurfaceImpl's render target returns the RenderSurfaceImpl that
the render surface contributes to.
Resulting from this CL, effect tree can be walked upwards using
target_id, and render target information can be queried from effect
tree.
R=ajuma, enne
BUG= 504464, 594675
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/189c1a15ccd8cb50b9c1c21f786120b1e8ad1077
Cr-Commit-Position: refs/heads/master@{#386399}
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+208 lines, -204 lines) |
Patch |
 |
M |
cc/layers/draw_properties.h
|
View
|
|
2 chunks |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
cc/layers/draw_properties.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl.h
|
View
|
1
2
|
2 chunks |
+5 lines, -11 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl.cc
|
View
|
|
3 chunks |
+26 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/layers/nine_patch_layer_impl_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/render_surface_impl.h
|
View
|
|
2 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/render_surface_impl.cc
|
View
|
1
|
2 chunks |
+54 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layers/render_surface_unittest.cc
|
View
|
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/layers/solid_color_layer_impl_unittest.cc
|
View
|
|
3 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layers/ui_resource_layer_impl_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/damage_tracker_unittest.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/draw_property_utils.cc
|
View
|
1
2
|
5 chunks |
+25 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_common.h
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_common.cc
|
View
|
1
2
|
7 chunks |
+14 lines, -78 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_common_unittest.cc
|
View
|
1
2
|
9 chunks |
+35 lines, -58 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest_occlusion.cc
|
View
|
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_impl.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/occlusion_tracker.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/trees/occlusion_tracker.cc
|
View
|
|
6 chunks |
+19 lines, -16 lines |
0 comments
|
Download
|
 |
M |
cc/trees/property_tree.h
|
View
|
1
2
|
3 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/property_tree.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/trees/property_tree_builder.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 13 (5 generated)
|