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

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

Issue 2295923002: gfx: Struct traits for GpuMemoryBufferId and GpuMemoryBufferType. (Closed)
Patch Set: fix build Created 4 years, 3 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
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 "gpu/ipc/common/gpu_info.mojom"; 7 import "gpu/ipc/common/gpu_info.mojom";
8 import "ui/gfx/geometry/mojo/geometry.mojom";
9 import "ui/gfx/mojo/buffer_types.mojom";
8 10
9 interface GpuServiceInternal { 11 interface GpuServiceInternal {
10 Initialize() => (gpu.mojom.GpuInfo gpu_info); 12 Initialize() => (gpu.mojom.GpuInfo gpu_info);
11 13
12 // Tells the GPU service to create a new channel for communication with a 14 // Tells the GPU service to create a new channel for communication with a
13 // client. The GPU service responds with an IPC handle. 15 // client. The GPU service responds with an IPC handle.
14 EstablishGpuChannel(int32 client_id, 16 EstablishGpuChannel(int32 client_id,
15 uint64 client_tracing_id, 17 uint64 client_tracing_id,
16 bool is_gpu_host) 18 bool is_gpu_host)
17 => (handle<message_pipe> channel_handle); 19 => (handle<message_pipe> channel_handle);
18 }; 20 };
OLDNEW
« no previous file with comments | « services/ui/common/gpu_type_converters_unittest.cc ('k') | services/ui/public/interfaces/gpu_memory_buffer.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698