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 // This file is auto-generated from |
6 // ui/gl/generate_bindings.py | 6 // ui/gl/generate_bindings.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 |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 GLsizei height); | 199 GLsizei height); |
200 typedef void(GL_BINDING_CALL* glCopyTexSubImage3DProc)(GLenum target, | 200 typedef void(GL_BINDING_CALL* glCopyTexSubImage3DProc)(GLenum target, |
201 GLint level, | 201 GLint level, |
202 GLint xoffset, | 202 GLint xoffset, |
203 GLint yoffset, | 203 GLint yoffset, |
204 GLint zoffset, | 204 GLint zoffset, |
205 GLint x, | 205 GLint x, |
206 GLint y, | 206 GLint y, |
207 GLsizei width, | 207 GLsizei width, |
208 GLsizei height); | 208 GLsizei height); |
| 209 typedef void(GL_BINDING_CALL* glCoverageModulationNVProc)(GLenum components); |
209 typedef void(GL_BINDING_CALL* glCoverFillPathInstancedNVProc)( | 210 typedef void(GL_BINDING_CALL* glCoverFillPathInstancedNVProc)( |
210 GLsizei numPaths, | 211 GLsizei numPaths, |
211 GLenum pathNameType, | 212 GLenum pathNameType, |
212 const void* paths, | 213 const void* paths, |
213 GLuint pathBase, | 214 GLuint pathBase, |
214 GLenum coverMode, | 215 GLenum coverMode, |
215 GLenum transformType, | 216 GLenum transformType, |
216 const GLfloat* transformValues); | 217 const GLfloat* transformValues); |
217 typedef void(GL_BINDING_CALL* glCoverFillPathNVProc)(GLuint path, | 218 typedef void(GL_BINDING_CALL* glCoverFillPathNVProc)(GLuint path, |
218 GLenum coverMode); | 219 GLenum coverMode); |
(...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1073 bool b_GL_EXT_robustness; | 1074 bool b_GL_EXT_robustness; |
1074 bool b_GL_EXT_shader_image_load_store; | 1075 bool b_GL_EXT_shader_image_load_store; |
1075 bool b_GL_EXT_texture_storage; | 1076 bool b_GL_EXT_texture_storage; |
1076 bool b_GL_EXT_timer_query; | 1077 bool b_GL_EXT_timer_query; |
1077 bool b_GL_IMG_multisampled_render_to_texture; | 1078 bool b_GL_IMG_multisampled_render_to_texture; |
1078 bool b_GL_INTEL_framebuffer_CMAA; | 1079 bool b_GL_INTEL_framebuffer_CMAA; |
1079 bool b_GL_KHR_blend_equation_advanced; | 1080 bool b_GL_KHR_blend_equation_advanced; |
1080 bool b_GL_KHR_robustness; | 1081 bool b_GL_KHR_robustness; |
1081 bool b_GL_NV_blend_equation_advanced; | 1082 bool b_GL_NV_blend_equation_advanced; |
1082 bool b_GL_NV_fence; | 1083 bool b_GL_NV_fence; |
| 1084 bool b_GL_NV_framebuffer_mixed_samples; |
1083 bool b_GL_NV_path_rendering; | 1085 bool b_GL_NV_path_rendering; |
1084 bool b_GL_OES_EGL_image; | 1086 bool b_GL_OES_EGL_image; |
1085 bool b_GL_OES_get_program_binary; | 1087 bool b_GL_OES_get_program_binary; |
1086 bool b_GL_OES_mapbuffer; | 1088 bool b_GL_OES_mapbuffer; |
1087 bool b_GL_OES_vertex_array_object; | 1089 bool b_GL_OES_vertex_array_object; |
1088 }; | 1090 }; |
1089 | 1091 |
1090 struct ProcsGL { | 1092 struct ProcsGL { |
1091 glActiveTextureProc glActiveTextureFn; | 1093 glActiveTextureProc glActiveTextureFn; |
1092 glApplyFramebufferAttachmentCMAAINTELProc | 1094 glApplyFramebufferAttachmentCMAAINTELProc |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1132 glColorMaskProc glColorMaskFn; | 1134 glColorMaskProc glColorMaskFn; |
1133 glCompileShaderProc glCompileShaderFn; | 1135 glCompileShaderProc glCompileShaderFn; |
1134 glCompressedTexImage2DProc glCompressedTexImage2DFn; | 1136 glCompressedTexImage2DProc glCompressedTexImage2DFn; |
1135 glCompressedTexImage3DProc glCompressedTexImage3DFn; | 1137 glCompressedTexImage3DProc glCompressedTexImage3DFn; |
1136 glCompressedTexSubImage2DProc glCompressedTexSubImage2DFn; | 1138 glCompressedTexSubImage2DProc glCompressedTexSubImage2DFn; |
1137 glCompressedTexSubImage3DProc glCompressedTexSubImage3DFn; | 1139 glCompressedTexSubImage3DProc glCompressedTexSubImage3DFn; |
1138 glCopyBufferSubDataProc glCopyBufferSubDataFn; | 1140 glCopyBufferSubDataProc glCopyBufferSubDataFn; |
1139 glCopyTexImage2DProc glCopyTexImage2DFn; | 1141 glCopyTexImage2DProc glCopyTexImage2DFn; |
1140 glCopyTexSubImage2DProc glCopyTexSubImage2DFn; | 1142 glCopyTexSubImage2DProc glCopyTexSubImage2DFn; |
1141 glCopyTexSubImage3DProc glCopyTexSubImage3DFn; | 1143 glCopyTexSubImage3DProc glCopyTexSubImage3DFn; |
| 1144 glCoverageModulationNVProc glCoverageModulationNVFn; |
1142 glCoverFillPathInstancedNVProc glCoverFillPathInstancedNVFn; | 1145 glCoverFillPathInstancedNVProc glCoverFillPathInstancedNVFn; |
1143 glCoverFillPathNVProc glCoverFillPathNVFn; | 1146 glCoverFillPathNVProc glCoverFillPathNVFn; |
1144 glCoverStrokePathInstancedNVProc glCoverStrokePathInstancedNVFn; | 1147 glCoverStrokePathInstancedNVProc glCoverStrokePathInstancedNVFn; |
1145 glCoverStrokePathNVProc glCoverStrokePathNVFn; | 1148 glCoverStrokePathNVProc glCoverStrokePathNVFn; |
1146 glCreateProgramProc glCreateProgramFn; | 1149 glCreateProgramProc glCreateProgramFn; |
1147 glCreateShaderProc glCreateShaderFn; | 1150 glCreateShaderProc glCreateShaderFn; |
1148 glCullFaceProc glCullFaceFn; | 1151 glCullFaceProc glCullFaceFn; |
1149 glDeleteBuffersARBProc glDeleteBuffersARBFn; | 1152 glDeleteBuffersARBProc glDeleteBuffersARBFn; |
1150 glDeleteFencesAPPLEProc glDeleteFencesAPPLEFn; | 1153 glDeleteFencesAPPLEProc glDeleteFencesAPPLEFn; |
1151 glDeleteFencesNVProc glDeleteFencesNVFn; | 1154 glDeleteFencesNVProc glDeleteFencesNVFn; |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1594 GLsizei height) = 0; | 1597 GLsizei height) = 0; |
1595 virtual void glCopyTexSubImage3DFn(GLenum target, | 1598 virtual void glCopyTexSubImage3DFn(GLenum target, |
1596 GLint level, | 1599 GLint level, |
1597 GLint xoffset, | 1600 GLint xoffset, |
1598 GLint yoffset, | 1601 GLint yoffset, |
1599 GLint zoffset, | 1602 GLint zoffset, |
1600 GLint x, | 1603 GLint x, |
1601 GLint y, | 1604 GLint y, |
1602 GLsizei width, | 1605 GLsizei width, |
1603 GLsizei height) = 0; | 1606 GLsizei height) = 0; |
| 1607 virtual void glCoverageModulationNVFn(GLenum components) = 0; |
1604 virtual void glCoverFillPathInstancedNVFn(GLsizei numPaths, | 1608 virtual void glCoverFillPathInstancedNVFn(GLsizei numPaths, |
1605 GLenum pathNameType, | 1609 GLenum pathNameType, |
1606 const void* paths, | 1610 const void* paths, |
1607 GLuint pathBase, | 1611 GLuint pathBase, |
1608 GLenum coverMode, | 1612 GLenum coverMode, |
1609 GLenum transformType, | 1613 GLenum transformType, |
1610 const GLfloat* transformValues) = 0; | 1614 const GLfloat* transformValues) = 0; |
1611 virtual void glCoverFillPathNVFn(GLuint path, GLenum coverMode) = 0; | 1615 virtual void glCoverFillPathNVFn(GLuint path, GLenum coverMode) = 0; |
1612 virtual void glCoverStrokePathInstancedNVFn( | 1616 virtual void glCoverStrokePathInstancedNVFn( |
1613 GLsizei numPaths, | 1617 GLsizei numPaths, |
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2377 #define glCompressedTexImage3D \ | 2381 #define glCompressedTexImage3D \ |
2378 ::gfx::g_current_gl_context->glCompressedTexImage3DFn | 2382 ::gfx::g_current_gl_context->glCompressedTexImage3DFn |
2379 #define glCompressedTexSubImage2D \ | 2383 #define glCompressedTexSubImage2D \ |
2380 ::gfx::g_current_gl_context->glCompressedTexSubImage2DFn | 2384 ::gfx::g_current_gl_context->glCompressedTexSubImage2DFn |
2381 #define glCompressedTexSubImage3D \ | 2385 #define glCompressedTexSubImage3D \ |
2382 ::gfx::g_current_gl_context->glCompressedTexSubImage3DFn | 2386 ::gfx::g_current_gl_context->glCompressedTexSubImage3DFn |
2383 #define glCopyBufferSubData ::gfx::g_current_gl_context->glCopyBufferSubDataFn | 2387 #define glCopyBufferSubData ::gfx::g_current_gl_context->glCopyBufferSubDataFn |
2384 #define glCopyTexImage2D ::gfx::g_current_gl_context->glCopyTexImage2DFn | 2388 #define glCopyTexImage2D ::gfx::g_current_gl_context->glCopyTexImage2DFn |
2385 #define glCopyTexSubImage2D ::gfx::g_current_gl_context->glCopyTexSubImage2DFn | 2389 #define glCopyTexSubImage2D ::gfx::g_current_gl_context->glCopyTexSubImage2DFn |
2386 #define glCopyTexSubImage3D ::gfx::g_current_gl_context->glCopyTexSubImage3DFn | 2390 #define glCopyTexSubImage3D ::gfx::g_current_gl_context->glCopyTexSubImage3DFn |
| 2391 #define glCoverageModulationNV \ |
| 2392 ::gfx::g_current_gl_context->glCoverageModulationNVFn |
2387 #define glCoverFillPathInstancedNV \ | 2393 #define glCoverFillPathInstancedNV \ |
2388 ::gfx::g_current_gl_context->glCoverFillPathInstancedNVFn | 2394 ::gfx::g_current_gl_context->glCoverFillPathInstancedNVFn |
2389 #define glCoverFillPathNV ::gfx::g_current_gl_context->glCoverFillPathNVFn | 2395 #define glCoverFillPathNV ::gfx::g_current_gl_context->glCoverFillPathNVFn |
2390 #define glCoverStrokePathInstancedNV \ | 2396 #define glCoverStrokePathInstancedNV \ |
2391 ::gfx::g_current_gl_context->glCoverStrokePathInstancedNVFn | 2397 ::gfx::g_current_gl_context->glCoverStrokePathInstancedNVFn |
2392 #define glCoverStrokePathNV ::gfx::g_current_gl_context->glCoverStrokePathNVFn | 2398 #define glCoverStrokePathNV ::gfx::g_current_gl_context->glCoverStrokePathNVFn |
2393 #define glCreateProgram ::gfx::g_current_gl_context->glCreateProgramFn | 2399 #define glCreateProgram ::gfx::g_current_gl_context->glCreateProgramFn |
2394 #define glCreateShader ::gfx::g_current_gl_context->glCreateShaderFn | 2400 #define glCreateShader ::gfx::g_current_gl_context->glCreateShaderFn |
2395 #define glCullFace ::gfx::g_current_gl_context->glCullFaceFn | 2401 #define glCullFace ::gfx::g_current_gl_context->glCullFaceFn |
2396 #define glDeleteBuffersARB ::gfx::g_current_gl_context->glDeleteBuffersARBFn | 2402 #define glDeleteBuffersARB ::gfx::g_current_gl_context->glDeleteBuffersARBFn |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2716 #define glVertexAttribI4ui ::gfx::g_current_gl_context->glVertexAttribI4uiFn | 2722 #define glVertexAttribI4ui ::gfx::g_current_gl_context->glVertexAttribI4uiFn |
2717 #define glVertexAttribI4uiv ::gfx::g_current_gl_context->glVertexAttribI4uivFn | 2723 #define glVertexAttribI4uiv ::gfx::g_current_gl_context->glVertexAttribI4uivFn |
2718 #define glVertexAttribIPointer \ | 2724 #define glVertexAttribIPointer \ |
2719 ::gfx::g_current_gl_context->glVertexAttribIPointerFn | 2725 ::gfx::g_current_gl_context->glVertexAttribIPointerFn |
2720 #define glVertexAttribPointer \ | 2726 #define glVertexAttribPointer \ |
2721 ::gfx::g_current_gl_context->glVertexAttribPointerFn | 2727 ::gfx::g_current_gl_context->glVertexAttribPointerFn |
2722 #define glViewport ::gfx::g_current_gl_context->glViewportFn | 2728 #define glViewport ::gfx::g_current_gl_context->glViewportFn |
2723 #define glWaitSync ::gfx::g_current_gl_context->glWaitSyncFn | 2729 #define glWaitSync ::gfx::g_current_gl_context->glWaitSyncFn |
2724 | 2730 |
2725 #endif // UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_ | 2731 #endif // UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_ |
OLD | NEW |