blob: 643443d2822127319bc8eac9b882bbbf9b37bfe6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module mus.mojom;
import "components/mus/public/interfaces/command_buffer.mojom";
struct GpuInfo {
uint32 vendor_id;
uint32 device_id;
string vendor_info;
string renderer_info;
string driver_version;
};
interface Gpu {
// Creates a new offscreen OpenGL ES 2.0 context.
CreateOffscreenGLES2Context(CommandBuffer& gles2_client);
// Query Gpu information
GetGpuInfo() => (GpuInfo gpu_info);
};
|