|
Don't clear render surfaces unnecessarily.
As an optimization, we used to clear render surfaces when they were
elided from the RenderSurfaceLayerList. It turns out that these surfaces
are still important from time to time; a scroll child will need to
access the transforms of these surfaces in order to put its clip in the
right space.
This CL retains the layer lists and it also updates RenderSurface to
own a LayerList rather than a RenderSurfaceLayerList (which was always
a bit of a kludge).
R=danakj@chromium.org
BUG= 366386
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266519
Total comments: 4
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+64 lines, -36 lines) |
Patch |
 |
M |
cc/layers/layer.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer.cc
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl.cc
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_iterator.h
|
View
|
|
4 chunks |
+12 lines, -7 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_iterator_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/layer_lists.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/render_surface.h
|
View
|
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/layers/render_surface.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_common.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_common.cc
|
View
|
1
2
3
|
10 chunks |
+24 lines, -22 lines |
1 comment
|
Download
|
 |
M |
cc/trees/layer_tree_host_common_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
Total messages: 38 (0 generated)
|