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

Side by Side Diff: components/mus/public/interfaces/gpu_service.mojom

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 months 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
(Empty)
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
3 // found in the LICENSE file.
4
5 module mus.mojom;
6
7 import "components/mus/public/interfaces/channel_handle.mojom";
8 import "components/mus/public/interfaces/gpu.mojom";
9 import "components/mus/public/interfaces/gpu_memory_buffer.mojom";
10 import "gpu/ipc/common/sync_token.mojom";
11 import "ui/gfx/geometry/mojo/geometry.mojom";
12
13 interface GpuService {
14 // Tells the GPU service to create a new channel for communication with a
15 // client. The GPU service responds with client ID, IPC handle and
16 // GPUInfo.
17 [Sync]
18 EstablishGpuChannel()
19 => (int32 client_id, ChannelHandle channel_handle, GpuInfo gpu_info);
20
21 // Tells the GPU service to create a new GPU memory buffer.
22 CreateGpuMemoryBuffer(GpuMemoryBufferId id,
23 gfx.mojom.Size size,
24 BufferFormat format,
25 BufferUsage usage,
26 uint64 surface_id)
27 => (GpuMemoryBufferHandle buffer_handle);
28
29 // Tells the GPU process to destroy GPU memory buffer.
30 DestroyGpuMemoryBuffer(GpuMemoryBufferId id,
31 gpu.mojom.SyncToken sync_token);
32 };
OLDNEW
« no previous file with comments | « components/mus/public/interfaces/gpu_memory_buffer.mojom ('k') | components/mus/public/interfaces/input_devices/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698