OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 [Peer=GLES2Client] | 7 [Peer=GLES2Client] |
8 interface GLES2 { | 8 interface GLES2 { |
9 void SwapBuffers(); | 9 void Destroy(); |
10 }; | 10 }; |
11 | 11 |
12 [Peer=GLES2] | 12 [Peer=GLES2] |
13 interface GLES2Client { | 13 interface GLES2Client { |
14 void DidCreateContext(uint64 encoded, uint32 width, uint32 height); | 14 void DidCreateContext(uint64 encoded, uint32 width, uint32 height); |
15 void ContextLost(); | 15 void ContextLost(); |
16 }; | 16 }; |
17 | 17 |
18 } | 18 } |
OLD | NEW |