| OLD | NEW |
| 1 /* Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2010 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 #ifndef PPAPI_C_DEV_PPP_GRAPHICS_3D_DEV_H_ | 5 #ifndef PPAPI_C_DEV_PPP_GRAPHICS_3D_DEV_H_ |
| 6 #define PPAPI_C_DEV_PPP_GRAPHICS_3D_DEV_H_ | 6 #define PPAPI_C_DEV_PPP_GRAPHICS_3D_DEV_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/pp_instance.h" | 8 #include "ppapi/c/pp_instance.h" |
| 9 | 9 |
| 10 #define PPP_GRAPHICS_3D_DEV_INTERFACE "PPP_Graphics_3D(Dev);0.1" | 10 #define PPP_GRAPHICS_3D_DEV_INTERFACE "PPP_Graphics_3D(Dev);0.2" |
| 11 | 11 |
| 12 struct PPP_Graphics3D_Dev { | 12 struct PPP_Graphics3D_Dev { |
| 13 // Called when the OpenGL ES window is invalidated and needs to be repainted. | 13 // Called when the OpenGL ES window is invalidated and needs to be repainted. |
| 14 void (*Graphics3DContextLost)(PP_Instance instance); | 14 void (*Graphics3DContextLost)(PP_Instance instance); |
| 15 }; | 15 }; |
| 16 | 16 |
| 17 #endif /* PPAPI_C_DEV_PPP_GRAPHICS_3D_DEV_H_ */ | 17 #endif /* PPAPI_C_DEV_PPP_GRAPHICS_3D_DEV_H_ */ |
| 18 | 18 |
| OLD | NEW |