Upstream version 7.35.144.0
[platform/framework/web/crosswalk.git] / src / mojo / public / gles2 / gles2_types.h
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_GLES2_GLES2_TYPES_H_
6 #define MOJO_PUBLIC_GLES2_GLES2_TYPES_H_
7
8 // Note: This header should be compilable as C.
9
10 #include <stdint.h>
11
12 #include "mojo/public/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 typedef void (*MojoGLES2DrawAnimationFrame)(void* closure);
21
22 #ifdef __cplusplus
23 }  // extern "C"
24 #endif
25
26 #endif  // MOJO_PUBLIC_GLES2_GLES2_TYPES_H_