|
ash: Clean up system background layer.
This adds a SystemBackgroundController class that's
responsible for a ui::Layer that's stacked underneath all
other layers.
I'm also adding an --ash-copy-host-background-at-boot flag
that can be set to instruct the controller to copy the host
window's content into the system background layer at
startup; otherwise, we display the same background color
used by Chrome OS's boot splash screen.
I suspect that there's a small performance hit from copying
(I've seen the XGetImage() take between 25 and 170 ms
depending on hardware), although it seems to be hidden in
the noise of our total boot times. Regardless, I figure
that we should only turn this on right now for systems that
need it (to hide an even-longer delay where the compositor
is drawing but the login background images hasn't been
loaded).
In any case, once the login background is visible, the
system background layer is reset to display the black
background that's needed for fullscreen animations that
manipulate the desktop background (for the workspace or
power button).
BUG= 152309
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164704
Total comments: 1
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+555 lines, -409 lines) |
Patch |
 |
M |
ash/ash.gyp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/ash_switches.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ash/ash_switches.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/root_window_controller.h
|
View
|
|
3 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ash/root_window_controller.cc
|
View
|
|
6 chunks |
+22 lines, -25 lines |
0 comments
|
Download
|
 |
M |
ash/shell_unittest.cc
|
View
|
|
2 chunks |
+0 lines, -41 lines |
0 comments
|
Download
|
 |
M |
ash/shell_window_ids.h
|
View
|
1
2
|
2 chunks |
+19 lines, -26 lines |
0 comments
|
Download
|
 |
|
ash/wm/power_button_controller_unittest.cc
|
View
|
|
23 chunks |
+2 lines, -65 lines |
0 comments
|
Download
|
 |
M |
ash/wm/session_state_animator.h
|
View
|
1
2
3
4
|
5 chunks |
+1 line, -40 lines |
0 comments
|
Download
|
 |
M |
ash/wm/session_state_animator.cc
|
View
|
1
2
3
4
|
4 chunks |
+0 lines, -51 lines |
0 comments
|
Download
|
 |
M |
ash/wm/session_state_controller_impl.cc
|
View
|
1
2
3
4
|
10 chunks |
+0 lines, -16 lines |
0 comments
|
Download
|
 |
A |
ash/wm/system_background_controller.h
|
View
|
1
2
3
|
1 chunk |
+97 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/wm/system_background_controller.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+133 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/colored_window_controller.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ui/aura/remote_root_window_host_win.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/remote_root_window_host_win.cc
|
View
|
1
2
3
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/root_window.h
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/root_window.cc
|
View
|
1
2
3
4
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/root_window_host.h
|
View
|
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/root_window_host_linux.h
|
View
|
1
2
3
|
4 chunks |
+15 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ui/aura/root_window_host_linux.cc
|
View
|
1
2
3
4
|
7 chunks |
+178 lines, -126 lines |
0 comments
|
Download
|
 |
|
ui/aura/root_window_host_mac.mm
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/root_window_host_win.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
|
ui/aura/root_window_host_win.cc
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_root_window_host_linux.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_root_window_host_linux.cc
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_root_window_host_win.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_root_window_host_win.cc
|
View
|
1
2
3
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|