OLD | NEW |
1 // Copyright (c) 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 // This file is auto-generated from |
6 // gpu/command_buffer/build_gles2_cmd_buffer.py | 6 // gpu/command_buffer/build_gles2_cmd_buffer.py |
7 // It's formatted by clang-format using chromium coding style: | 7 // It's formatted by clang-format using chromium coding style: |
8 // clang-format -i -style=chromium filename | 8 // clang-format -i -style=chromium filename |
9 // DO NOT EDIT! | 9 // DO NOT EDIT! |
10 | 10 |
11 // OpenGL ES interface. | 11 // OpenGL ES interface. |
12 #ifndef PPAPI_C_DEV_PPB_OPENGLES2EXT_DEV_H_ | 12 #ifndef PPAPI_C_DEV_PPB_OPENGLES2EXT_DEV_H_ |
13 #define PPAPI_C_DEV_PPB_OPENGLES2EXT_DEV_H_ | 13 #define PPAPI_C_DEV_PPB_OPENGLES2EXT_DEV_H_ |
14 | 14 |
15 #include "ppapi/c/pp_resource.h" | 15 #include "ppapi/c/pp_resource.h" |
16 #include "ppapi/c/ppb_opengles2.h" | 16 #include "ppapi/c/ppb_opengles2.h" |
17 | 17 |
18 #define PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE_1_0 \ | 18 #define PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE_1_0 \ |
19 "PPB_OpenGLES2DrawBuffers(Dev);1.0" | 19 "PPB_OpenGLES2DrawBuffers(Dev);1.0" |
20 #define PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE \ | 20 #define PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE \ |
21 PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE_1_0 | 21 PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE_1_0 |
22 | 22 |
23 struct PPB_OpenGLES2DrawBuffers_Dev { | 23 struct PPB_OpenGLES2DrawBuffers_Dev { |
24 void (*DrawBuffersEXT)(PP_Resource context, | 24 void (*DrawBuffersEXT)(PP_Resource context, |
25 GLsizei count, | 25 GLsizei count, |
26 const GLenum* bufs); | 26 const GLenum* bufs); |
27 }; | 27 }; |
28 | 28 |
29 #endif // PPAPI_C_DEV_PPB_OPENGLES2EXT_DEV_H_ | 29 #endif // PPAPI_C_DEV_PPB_OPENGLES2EXT_DEV_H_ |
OLD | NEW |