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 3 // found in the LICENSE file. 4 5 #ifndef MOJO_PUBLIC_C_GLES2_GLES2_TYPES_H_ 6 #define MOJO_PUBLIC_C_GLES2_GLES2_TYPES_H_ 7 8 // Note: This header should be compilable as C. 9 10 #include <stdint.h> 11 12 #include "mojo/public/c/gles2/gles2_export.h" 13 14 #ifdef __cplusplus 15 extern "C" { 16 #endif 17 18 typedef struct MojoGLES2ContextPrivate* MojoGLES2Context; 19 typedef void (*MojoGLES2ContextLost)(void* closure); 20 21 #ifdef __cplusplus 22 } // extern "C" 23 #endif 24 25 #endif // MOJO_PUBLIC_C_GLES2_GLES2_TYPES_H_ 26