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 "mojo/services/geometry/public/interfaces/geometry.mojom"; | 7 import "mojo/services/geometry/public/interfaces/geometry.mojom"; |
8 import "mojo/services/gpu/public/interfaces/command_buffer.mojom"; | 8 import "mojo/services/gpu/public/interfaces/command_buffer.mojom"; |
9 import "mojo/services/gpu/public/interfaces/viewport_parameter_listener.mojom"; | 9 import "mojo/services/gpu/public/interfaces/viewport_parameter_listener.mojom"; |
10 | 10 |
11 interface Gpu { | 11 interface Gpu { |
12 CreateOnscreenGLES2Context(uint64 native_viewport_id, | 12 CreateOnscreenGLES2Context(uint64 native_viewport_id, |
13 Size? size, | 13 Size size, |
14 CommandBuffer&? gles2_client, | 14 CommandBuffer& gles2_client, |
15 ViewportParameterListener? listener); | 15 ViewportParameterListener listener); |
jamesr
2015/01/08 23:16:29
this broke mojo:sample_app. This field is valid to
| |
16 CreateOffscreenGLES2Context(CommandBuffer&? gles2_client); | 16 CreateOffscreenGLES2Context(CommandBuffer& gles2_client); |
17 }; | 17 }; |
OLD | NEW |