OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 | 5 |
6 /** | 6 /** |
7 * Defines the <code>PPP_Graphics3D</code> struct representing a 3D graphics | 7 * Defines the <code>PPP_Graphics3D</code> struct representing a 3D graphics |
8 * context within the browser. | 8 * context within the browser. |
9 */ | 9 */ |
10 | 10 |
11 label Chrome { | 11 label Chrome { |
12 M15 = 1.0 | 12 M15 = 1.0 |
13 }; | 13 }; |
14 | 14 |
15 /** | 15 /** |
16 * <code>PPP_Graphics3D</code> defines the notification interface for a 3D | 16 * <code>PPP_Graphics3D</code> defines the notification interface for a 3D |
17 * graphics context. | 17 * graphics context. |
18 */ | 18 */ |
19 [macro="PPP_GRAPHICS_3D_INTERFACE"] | 19 [macro="PPP_GRAPHICS_3D_INTERFACE", iname="PPP_Graphics_3D"] |
20 interface PPP_Graphics3D { | 20 interface PPP_Graphics3D { |
21 /** | 21 /** |
22 * Called when the OpenGL ES window is invalidated and needs to be repainted. | 22 * Called when the OpenGL ES window is invalidated and needs to be repainted. |
23 */ | 23 */ |
24 void Graphics3DContextLost(PP_Instance instance); | 24 void Graphics3DContextLost(PP_Instance instance); |
25 }; | 25 }; |
OLD | NEW |