|
services/ui: Split GpuServiceInternal into gpu vs. ws pieces.
Notable changes:
. MusGpuMemoryBufferManager is meant to be used by the gpu host
(i.e. GpuServiceProxy). So move it into ws. It still has a
temporary dependency on GpuServiceInternal. It will converted
to communicate with it over mojom API instead.
. Convert GpuServiceProxy (which is the gpu-host, running in the
window server) into GpuChannelHostFactory, and responsible for
managing the gpu-channel for the host.
. Introduce a |privileged| parameter in GpuServiceInternal API.
This privileged channel is created only for the host (and by
the host).
. Move ownership of GpuServiceProxy into WindowServer. It makes it
easier for GpuServiceProxy to notify when the gpu-channel has
been established through a Delegate interface.
. DisplayCompositor instance is now created in the window server
after the gpu-channel has been established. The gpu channel is
passed through PlatformDisplay and FrameGenerator from
WindowServer.
BUG= 613366
Committed: https://crrev.com/212f35700eeb17abc2c5e2e1a54e08c70c13ed23
Cr-Commit-Position: refs/heads/master@{#414901}
Total comments: 15
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+245 lines, -326 lines) |
Patch |
 |
M |
services/ui/gpu/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
services/ui/gpu/DEPS
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -14 lines |
0 comments
|
Download
|
 |
M |
services/ui/gpu/gpu_service_internal.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
7 chunks |
+17 lines, -36 lines |
0 comments
|
Download
|
 |
M |
services/ui/gpu/gpu_service_internal.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
7 chunks |
+6 lines, -45 lines |
0 comments
|
Download
|
 |
M |
services/ui/gpu/interfaces/gpu_service_internal.mojom
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/gpu/mus_gpu_memory_buffer_manager.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -57 lines |
0 comments
|
Download
|
 |
M |
services/ui/gpu/mus_gpu_memory_buffer_manager.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -116 lines |
0 comments
|
Download
|
 |
M |
services/ui/public/cpp/gpu_service.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
services/ui/service.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
services/ui/service.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/DEPS
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/frame_generator.h
|
View
|
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/frame_generator.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
4 chunks |
+18 lines, -7 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/gpu_service_proxy.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+32 lines, -5 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/gpu_service_proxy.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+60 lines, -3 lines |
0 comments
|
Download
|
 |
A |
services/ui/ws/gpu_service_proxy_delegate.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
services/ui/ws/mus_gpu_memory_buffer_manager.h
|
View
|
1
2
3
4
5
|
4 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
services/ui/ws/mus_gpu_memory_buffer_manager.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+10 lines, -20 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/platform_display.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/platform_display.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/test_utils.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_server.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
6 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/ws/window_server.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
Total messages: 49 (40 generated)
|