Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Side by Side Diff: services/ui/gpu/interfaces/gpu_service_internal.mojom

Issue 2539893002: Mus: Implement GpuMain mojo interface (Closed)
Patch Set: Cleanup of naming some more Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_info.mojom"; 8 import "gpu/ipc/common/gpu_info.mojom";
9 import "gpu/ipc/common/surface_handle.mojom"; 9 import "gpu/ipc/common/surface_handle.mojom";
10 import "gpu/ipc/common/sync_token.mojom"; 10 import "gpu/ipc/common/sync_token.mojom";
(...skipping 15 matching lines...) Expand all
26 gfx.mojom.Size size, 26 gfx.mojom.Size size,
27 gfx.mojom.BufferFormat format, 27 gfx.mojom.BufferFormat format,
28 gfx.mojom.BufferUsage usage, 28 gfx.mojom.BufferUsage usage,
29 int32 client_id, 29 int32 client_id,
30 gpu.mojom.SurfaceHandle surface_handle) 30 gpu.mojom.SurfaceHandle surface_handle)
31 => (gfx.mojom.GpuMemoryBufferHandle buffer_handle); 31 => (gfx.mojom.GpuMemoryBufferHandle buffer_handle);
32 32
33 DestroyGpuMemoryBuffer(gfx.mojom.GpuMemoryBufferId id, 33 DestroyGpuMemoryBuffer(gfx.mojom.GpuMemoryBufferId id,
34 int32 client_id, 34 int32 client_id,
35 gpu.mojom.SyncToken sync_token); 35 gpu.mojom.SyncToken sync_token);
36
37 // Tells the GPU process to create a display compositor.
38 CreateDisplayCompositor(
39 cc.mojom.DisplayCompositor& display_compositor,
40 cc.mojom.DisplayCompositorClient display_compositor_client);
41 }; 36 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698