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

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

Issue 2559183003: mus: More gpu-related renames. (Closed)
Patch Set: . 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";
11 import "ui/gfx/geometry/mojo/geometry.mojom"; 11 import "ui/gfx/geometry/mojo/geometry.mojom";
12 import "ui/gfx/mojo/buffer_types.mojom"; 12 import "ui/gfx/mojo/buffer_types.mojom";
13 13
14 interface GpuServiceInternal { 14 interface GpuService {
15 // Tells the GPU service to create a new channel for communication with a 15 // Tells the GPU service to create a new channel for communication with a
16 // client. The GPU service responds with an IPC handle. 16 // client. The GPU service responds with an IPC handle.
17 EstablishGpuChannel(int32 client_id, 17 EstablishGpuChannel(int32 client_id,
18 uint64 client_tracing_id, 18 uint64 client_tracing_id,
19 bool is_gpu_host) 19 bool is_gpu_host)
20 => (handle<message_pipe> channel_handle); 20 => (handle<message_pipe> channel_handle);
21 21
22 [Sync] 22 [Sync]
23 CreateGpuMemoryBuffer(gfx.mojom.GpuMemoryBufferId id, 23 CreateGpuMemoryBuffer(gfx.mojom.GpuMemoryBufferId id,
24 gfx.mojom.Size size, 24 gfx.mojom.Size size,
25 gfx.mojom.BufferFormat format, 25 gfx.mojom.BufferFormat format,
26 gfx.mojom.BufferUsage usage, 26 gfx.mojom.BufferUsage usage,
27 int32 client_id, 27 int32 client_id,
28 gpu.mojom.SurfaceHandle surface_handle) 28 gpu.mojom.SurfaceHandle surface_handle)
29 => (gfx.mojom.GpuMemoryBufferHandle buffer_handle); 29 => (gfx.mojom.GpuMemoryBufferHandle buffer_handle);
30 30
31 DestroyGpuMemoryBuffer(gfx.mojom.GpuMemoryBufferId id, 31 DestroyGpuMemoryBuffer(gfx.mojom.GpuMemoryBufferId id,
32 int32 client_id, 32 int32 client_id,
33 gpu.mojom.SyncToken sync_token); 33 gpu.mojom.SyncToken sync_token);
34 }; 34 };
OLDNEW
« no previous file with comments | « services/ui/gpu/interfaces/gpu_main.mojom ('k') | services/ui/gpu/interfaces/gpu_service_host.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698