|
|
cc: Move occlusion debug rects into the debug layer borders.
Previously we had 2 command line flags to show opaque and non-opaque
rects. These were only available by command line and AFAIK are not ever
used.
Once upon a time, in a ui compositor far far away, the layer border
color encoded if the layer was marked as contents_opaque(). This was a
useful feature for chrome developers. When the border drawing code was
removed from the ui compositor and consolidated into cc, this feature
was destroyed since cc had many more layer colors to support.
The opaque/non-opaque rect drawing is a lot of lines of code and hacked
into weird places, that get in the way of removing the occlusion
tracker from the draw loop. So, just remove it, and instead have the
layer borders show opaqueness again. We do so by having a translucent
larger layer inside the normal layer for opaque windows. (For the
DelegatedRendererLayerImpl, since it's a special rainbow window, it
does a fill over its contents of awesomeness.)
R=ajuma, enne, vmpstr
BUG= 446751
Committed: https://crrev.com/069ac12bec702497d2fdad632397ac652eecc2d1
Cr-Commit-Position: refs/heads/master@{#315896}
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+160 lines, -332 lines) |
Patch |
 |
M |
cc/base/switches.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/base/switches.cc
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
cc/debug/debug_colors.h
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/debug/debug_colors.cc
|
View
|
|
1 chunk |
+0 lines, -18 lines |
0 comments
|
Download
|
 |
M |
cc/debug/debug_rect_history.h
|
View
|
|
3 chunks |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
M |
cc/debug/debug_rect_history.cc
|
View
|
|
3 chunks |
+0 lines, -22 lines |
0 comments
|
Download
|
 |
M |
cc/debug/layer_tree_debug_state.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/debug/layer_tree_debug_state.cc
|
View
|
|
4 chunks |
+1 line, -8 lines |
0 comments
|
Download
|
 |
M |
cc/layers/delegated_renderer_layer_impl.cc
|
View
|
1
|
1 chunk |
+26 lines, -12 lines |
0 comments
|
Download
|
 |
M |
cc/layers/heads_up_display_layer_impl.cc
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl.cc
|
View
|
1
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/render_surface_impl.h
|
View
|
1
|
3 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/layers/render_surface_impl.cc
|
View
|
1
|
3 chunks |
+34 lines, -49 lines |
0 comments
|
Download
|
 |
M |
cc/layers/render_surface_unittest.cc
|
View
|
1
|
1 chunk |
+2 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/test/layer_test_common.h
|
View
|
1
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/layer_test_common.cc
|
View
|
1
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.cc
|
View
|
1
|
3 chunks |
+33 lines, -23 lines |
0 comments
|
Download
|
 |
M |
cc/trees/occlusion_tracker.h
|
View
|
1
|
4 chunks |
+2 lines, -21 lines |
0 comments
|
Download
|
 |
M |
cc/trees/occlusion_tracker.cc
|
View
|
1
|
4 chunks |
+26 lines, -97 lines |
0 comments
|
Download
|
 |
M |
cc/trees/occlusion_tracker_unittest.cc
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/chrome_restart_request.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/gpu/render_widget_compositor.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/compositor.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
Total messages: 15 (3 generated)
|