| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MOJO_PUBLIC_GLES2_GLES2_TYPES_H_ | 5 #ifndef MOJO_PUBLIC_C_GLES2_GLES2_TYPES_H_ |
| 6 #define MOJO_PUBLIC_GLES2_GLES2_TYPES_H_ | 6 #define MOJO_PUBLIC_C_GLES2_GLES2_TYPES_H_ |
| 7 | 7 |
| 8 // Note: This header should be compilable as C. | 8 // Note: This header should be compilable as C. |
| 9 | 9 |
| 10 #include <stdint.h> | 10 #include <stdint.h> |
| 11 | 11 |
| 12 #include "mojo/public/gles2/gles2_export.h" | 12 #include "mojo/public/c/gles2/gles2_export.h" |
| 13 | 13 |
| 14 #ifdef __cplusplus | 14 #ifdef __cplusplus |
| 15 extern "C" { | 15 extern "C" { |
| 16 #endif | 16 #endif |
| 17 | 17 |
| 18 typedef struct MojoGLES2ContextPrivate *MojoGLES2Context; | 18 typedef struct MojoGLES2ContextPrivate* MojoGLES2Context; |
| 19 typedef void (*MojoGLES2ContextLost)(void* closure); | 19 typedef void (*MojoGLES2ContextLost)(void* closure); |
| 20 typedef void (*MojoGLES2DrawAnimationFrame)(void* closure); | 20 typedef void (*MojoGLES2DrawAnimationFrame)(void* closure); |
| 21 | 21 |
| 22 #ifdef __cplusplus | 22 #ifdef __cplusplus |
| 23 } // extern "C" | 23 } // extern "C" |
| 24 #endif | 24 #endif |
| 25 | 25 |
| 26 #endif // MOJO_PUBLIC_GLES2_GLES2_TYPES_H_ | 26 #endif // MOJO_PUBLIC_C_GLES2_GLES2_TYPES_H_ |
| OLD | NEW |