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 // This file is auto-generated from | 5 /* From dev/ppb_opengles2ext_dev.idl modified Fri Sep 5 14:52:51 2014. */ |
6 // gpu/command_buffer/build_gles2_cmd_buffer.py | |
7 // It's formatted by clang-format using chromium coding style: | |
8 // clang-format -i -style=chromium filename | |
9 // DO NOT EDIT! | |
10 | 6 |
11 // OpenGL ES interface. | |
12 #ifndef PPAPI_C_DEV_PPB_OPENGLES2EXT_DEV_H_ | 7 #ifndef PPAPI_C_DEV_PPB_OPENGLES2EXT_DEV_H_ |
13 #define PPAPI_C_DEV_PPB_OPENGLES2EXT_DEV_H_ | 8 #define PPAPI_C_DEV_PPB_OPENGLES2EXT_DEV_H_ |
14 | 9 |
| 10 #include "ppapi/c/pp_macros.h" |
| 11 #include "ppapi/c/pp_resource.h" |
| 12 #include "ppapi/c/pp_stdint.h" |
| 13 #include "ppapi/c/ppb_opengles2.h" |
| 14 |
| 15 #define PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE_1_0 \ |
| 16 "PPB_OpenGLES2DrawBuffers(Dev);1.0" |
| 17 #define PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE \ |
| 18 PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE_1_0 |
| 19 |
| 20 /** |
| 21 * @file |
| 22 * This file is auto-generated from |
| 23 * gpu/command_buffer/build_gles2_cmd_buffer.py |
| 24 * It's formatted by clang-format using chromium coding style: |
| 25 * clang-format -i -style=chromium filename |
| 26 * DO NOT EDIT! */ |
| 27 |
| 28 |
15 #include "ppapi/c/pp_resource.h" | 29 #include "ppapi/c/pp_resource.h" |
16 #include "ppapi/c/ppb_opengles2.h" | 30 #include "ppapi/c/ppb_opengles2.h" |
17 | 31 |
18 #define PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE_1_0 \ | 32 |
19 "PPB_OpenGLES2DrawBuffers(Dev);1.0" | 33 /** |
20 #define PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE \ | 34 * @addtogroup Interfaces |
21 PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE_1_0 | 35 * @{ |
| 36 */ |
| 37 struct PPB_OpenGLES2DrawBuffers_Dev_1_0 { |
| 38 void (*DrawBuffersEXT)(PP_Resource context, |
| 39 GLsizei count, |
| 40 const GLenum* bufs); |
| 41 }; |
22 | 42 |
23 struct PPB_OpenGLES2DrawBuffers_Dev { | 43 struct PPB_OpenGLES2DrawBuffers_Dev { |
24 void (*DrawBuffersEXT)(PP_Resource context, | 44 void (*DrawBuffersEXT)(PP_Resource context, |
25 GLsizei count, | 45 GLsizei count, |
26 const GLenum* bufs); | 46 const GLenum* bufs); |
27 }; | 47 }; |
| 48 /** |
| 49 * @} |
| 50 */ |
28 | 51 |
29 #endif // PPAPI_C_DEV_PPB_OPENGLES2EXT_DEV_H_ | 52 #endif /* PPAPI_C_DEV_PPB_OPENGLES2EXT_DEV_H_ */ |
| 53 |
OLD | NEW |