|
|
Mus+Ash: propagate Surface ID to parents
Currently, in Mus+Ash, the window server is responsible for positioning
windows and generating SurfaceDrawQuads for them. This CL propagates surface
IDs for child windows to their parents so that parents can embed them directly
via CompositorFrames. This will happen in a subsequent patch.
A SurfaceSequence is allocated for the surface ID that is propagated up the
window hierarchy. As long as the parent holds on to the SurfaceSequence,
then the surface ID will be preserved. Once the parent is informed of a
new surface ID then it will return the SurfaceSequence back to the window
server for reclamation (mus-gpu in the future). If a window is destroyed then
it will also return its SurfaceSequence.
BUG= 647852
Committed: https://crrev.com/065bde79d4e511f613ae89a2fc535029dae26100
Committed: https://crrev.com/433690106161ad7467d59901c469762f160fa4a2
Cr-Original-Commit-Position: refs/heads/master@{#425556}
Cr-Commit-Position: refs/heads/master@{#425566}
Total comments: 2
Total comments: 2
Total comments: 8
Total comments: 6
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+399 lines, -14 lines) |
Patch |
 |
M |
services/ui/public/cpp/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
services/ui/public/cpp/surface_id_handler.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/public/cpp/tests/test_window_tree.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/public/cpp/tests/test_window_tree.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/public/cpp/window.h
|
View
|
1
2
3
4
5
6
7
8
9
|
6 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/public/cpp/window.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/public/cpp/window_private.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/public/cpp/window_tree_client.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/public/cpp/window_tree_client.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/public/interfaces/window_tree.mojom
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/surfaces/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/surfaces/display_compositor.h
|
View
|
|
2 chunks |
+17 lines, -6 lines |
0 comments
|
Download
|
 |
M |
services/ui/surfaces/display_compositor.cc
|
View
|
|
1 chunk |
+27 lines, -3 lines |
0 comments
|
Download
|
 |
A |
services/ui/surfaces/display_compositor_client.h
|
View
|
1
2
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/frame_generator_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/server_window_surface.h
|
View
|
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/server_window_surface.cc
|
View
|
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/test_change_tracker.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/test_change_tracker.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/test_server_window_delegate.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/test_utils.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/test_utils.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_server.h
|
View
|
|
4 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_server.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+23 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_tree.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_tree.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_tree_client_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+59 lines, -0 lines |
0 comments
|
Download
|
Total messages: 53 (24 generated)
|