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