OLD | NEW |
| (Empty) |
1 // Copyright 2015 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_CHROMIUM_EXTENSION_H_ | |
6 #define MOJO_PUBLIC_C_GLES2_CHROMIUM_EXTENSION_H_ | |
7 | |
8 // Note: This header should be compilable as C. | |
9 | |
10 #include <GLES2/gl2.h> | |
11 #include <stdint.h> | |
12 | |
13 #include "mojo/public/c/gles2/gles2_export.h" | |
14 #include "mojo/public/c/gles2/gles2_types.h" | |
15 #include "mojo/public/c/system/types.h" | |
16 | |
17 extern "C" typedef struct _ClientBuffer* ClientBuffer; | |
18 | |
19 #ifdef __cplusplus | |
20 extern "C" { | |
21 #endif | |
22 | |
23 #define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \ | |
24 MOJO_GLES2_EXPORT ReturnType GL_APIENTRY gl##Function PARAMETERS; | |
25 #include "mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h" | |
26 #undef VISIT_GL_CALL | |
27 | |
28 #ifdef __cplusplus | |
29 } // extern "C" | |
30 #endif | |
31 | |
32 #endif // MOJO_PUBLIC_C_GLES2_CHROMIUM_EXTENSION_H_ | |
OLD | NEW |