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

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

Issue 2133833002: gpu::GPUInfo::GPUDevice struct traits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unnecessary changes 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "services/ui/public/interfaces/command_buffer.mojom"; 7 import "services/ui/public/interfaces/command_buffer.mojom";
8 8 import "gpu/ipc/common/gpu_info.mojom";
9 struct GpuInfo {
10 uint32 vendor_id;
11 uint32 device_id;
12 string vendor_info;
13 string renderer_info;
14 string driver_version;
15 };
16 9
17 interface Gpu { 10 interface Gpu {
18 // Creates a new offscreen OpenGL ES 2.0 context. 11 // Creates a new offscreen OpenGL ES 2.0 context.
19 CreateOffscreenGLES2Context(CommandBuffer& gles2_client); 12 CreateOffscreenGLES2Context(CommandBuffer& gles2_client);
20 13
21 // Query Gpu information 14 // Query Gpu information
22 GetGpuInfo() => (GpuInfo gpu_info); 15 GetGpuInfo() => (gpu.mojom.GpuInfo gpu_info);
23 }; 16 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698