OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 module ui.mojom; | 5 module ui.mojom; |
6 | 6 |
7 import "cc/ipc/display_compositor.mojom"; | 7 import "cc/ipc/display_compositor.mojom"; |
| 8 import "gpu/ipc/common/gpu_preferences.mojom"; |
8 import "services/ui/gpu/interfaces/gpu_host.mojom"; | 9 import "services/ui/gpu/interfaces/gpu_host.mojom"; |
9 import "services/ui/gpu/interfaces/gpu_service.mojom"; | 10 import "services/ui/gpu/interfaces/gpu_service.mojom"; |
10 | 11 |
11 // This is the primordial interface used to (re)start the mus-gpu bundle | 12 // This is the primordial interface used to (re)start the mus-gpu bundle |
12 // of services. | 13 // of services. |
13 interface GpuMain { | 14 interface GpuMain { |
14 CreateDisplayCompositor( | 15 CreateDisplayCompositor( |
15 cc.mojom.DisplayCompositor& display_compositor, | 16 cc.mojom.DisplayCompositor& display_compositor, |
16 cc.mojom.DisplayCompositorClient display_compositor_client); | 17 cc.mojom.DisplayCompositorClient display_compositor_client); |
17 | 18 |
18 CreateGpuService(GpuService& gpu_service, | 19 CreateGpuService(GpuService& gpu_service, |
19 GpuHost gpu_host); | 20 GpuHost gpu_host, |
| 21 gpu.mojom.GpuPreferences preferences); |
20 }; | 22 }; |
OLD | NEW |