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 RequestAnimationFrames(); |
| 10 void CancelAnimationFrames(); |
9 void Destroy(); | 11 void Destroy(); |
10 }; | 12 }; |
11 | 13 |
12 [Peer=GLES2] | 14 [Peer=GLES2] |
13 interface GLES2Client { | 15 interface GLES2Client { |
14 void DidCreateContext(uint64 encoded, uint32 width, uint32 height); | 16 void DidCreateContext(uint64 encoded, uint32 width, uint32 height); |
15 void ContextLost(); | 17 void ContextLost(); |
| 18 void DrawAnimationFrame(); |
16 }; | 19 }; |
17 | 20 |
18 } | 21 } |
OLD | NEW |