OLD | NEW |
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 mojo; | 5 module mojo; |
6 | 6 |
7 import "geometry/public/interfaces/geometry.mojom"; | |
8 import "gpu/public/interfaces/command_buffer.mojom"; | 7 import "gpu/public/interfaces/command_buffer.mojom"; |
9 import "gpu/public/interfaces/viewport_parameter_listener.mojom"; | |
10 | 8 |
11 interface Gpu { | 9 interface Gpu { |
12 CreateOnscreenGLES2Context(uint64 native_viewport_id, | 10 // Creates a new offscreen OpenGL ES 2.0 context. |
13 Size size, | |
14 CommandBuffer& gles2_client, | |
15 ViewportParameterListener? listener); | |
16 CreateOffscreenGLES2Context(CommandBuffer& gles2_client); | 11 CreateOffscreenGLES2Context(CommandBuffer& gles2_client); |
17 }; | 12 }; |
OLD | NEW |