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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 typedef void(GL_BINDING_CALL* glGetBooleanvProc)(GLenum pname, | 394 typedef void(GL_BINDING_CALL* glGetBooleanvProc)(GLenum pname, |
395 GLboolean* params); | 395 GLboolean* params); |
396 typedef void(GL_BINDING_CALL* glGetBufferParameterivProc)(GLenum target, | 396 typedef void(GL_BINDING_CALL* glGetBufferParameterivProc)(GLenum target, |
397 GLenum pname, | 397 GLenum pname, |
398 GLint* params); | 398 GLint* params); |
399 typedef GLenum(GL_BINDING_CALL* glGetErrorProc)(void); | 399 typedef GLenum(GL_BINDING_CALL* glGetErrorProc)(void); |
400 typedef void(GL_BINDING_CALL* glGetFenceivNVProc)(GLuint fence, | 400 typedef void(GL_BINDING_CALL* glGetFenceivNVProc)(GLuint fence, |
401 GLenum pname, | 401 GLenum pname, |
402 GLint* params); | 402 GLint* params); |
403 typedef void(GL_BINDING_CALL* glGetFloatvProc)(GLenum pname, GLfloat* params); | 403 typedef void(GL_BINDING_CALL* glGetFloatvProc)(GLenum pname, GLfloat* params); |
| 404 typedef GLint(GL_BINDING_CALL* glGetFragDataIndexProc)(GLuint program, |
| 405 const char* name); |
404 typedef GLint(GL_BINDING_CALL* glGetFragDataLocationProc)(GLuint program, | 406 typedef GLint(GL_BINDING_CALL* glGetFragDataLocationProc)(GLuint program, |
405 const char* name); | 407 const char* name); |
406 typedef void(GL_BINDING_CALL* glGetFramebufferAttachmentParameterivEXTProc)( | 408 typedef void(GL_BINDING_CALL* glGetFramebufferAttachmentParameterivEXTProc)( |
407 GLenum target, | 409 GLenum target, |
408 GLenum attachment, | 410 GLenum attachment, |
409 GLenum pname, | 411 GLenum pname, |
410 GLint* params); | 412 GLint* params); |
411 typedef GLenum(GL_BINDING_CALL* glGetGraphicsResetStatusARBProc)(void); | 413 typedef GLenum(GL_BINDING_CALL* glGetGraphicsResetStatusARBProc)(void); |
412 typedef void(GL_BINDING_CALL* glGetInteger64i_vProc)(GLenum target, | 414 typedef void(GL_BINDING_CALL* glGetInteger64i_vProc)(GLenum target, |
413 GLuint index, | 415 GLuint index, |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1024 GLbitfield flags, | 1026 GLbitfield flags, |
1025 GLuint64 timeout); | 1027 GLuint64 timeout); |
1026 | 1028 |
1027 struct ExtensionsGL { | 1029 struct ExtensionsGL { |
1028 bool b_GL_ANGLE_framebuffer_blit; | 1030 bool b_GL_ANGLE_framebuffer_blit; |
1029 bool b_GL_ANGLE_framebuffer_multisample; | 1031 bool b_GL_ANGLE_framebuffer_multisample; |
1030 bool b_GL_ANGLE_instanced_arrays; | 1032 bool b_GL_ANGLE_instanced_arrays; |
1031 bool b_GL_ANGLE_translated_shader_source; | 1033 bool b_GL_ANGLE_translated_shader_source; |
1032 bool b_GL_APPLE_fence; | 1034 bool b_GL_APPLE_fence; |
1033 bool b_GL_APPLE_vertex_array_object; | 1035 bool b_GL_APPLE_vertex_array_object; |
| 1036 bool b_GL_ARB_blend_func_extended; |
1034 bool b_GL_ARB_draw_buffers; | 1037 bool b_GL_ARB_draw_buffers; |
1035 bool b_GL_ARB_draw_instanced; | 1038 bool b_GL_ARB_draw_instanced; |
1036 bool b_GL_ARB_get_program_binary; | 1039 bool b_GL_ARB_get_program_binary; |
1037 bool b_GL_ARB_instanced_arrays; | 1040 bool b_GL_ARB_instanced_arrays; |
1038 bool b_GL_ARB_map_buffer_range; | 1041 bool b_GL_ARB_map_buffer_range; |
1039 bool b_GL_ARB_occlusion_query; | 1042 bool b_GL_ARB_occlusion_query; |
1040 bool b_GL_ARB_program_interface_query; | 1043 bool b_GL_ARB_program_interface_query; |
1041 bool b_GL_ARB_robustness; | 1044 bool b_GL_ARB_robustness; |
1042 bool b_GL_ARB_sync; | 1045 bool b_GL_ARB_sync; |
1043 bool b_GL_ARB_texture_storage; | 1046 bool b_GL_ARB_texture_storage; |
1044 bool b_GL_ARB_timer_query; | 1047 bool b_GL_ARB_timer_query; |
1045 bool b_GL_ARB_vertex_array_object; | 1048 bool b_GL_ARB_vertex_array_object; |
1046 bool b_GL_CHROMIUM_gles_depth_binding_hack; | 1049 bool b_GL_CHROMIUM_gles_depth_binding_hack; |
1047 bool b_GL_CHROMIUM_glgetstringi_hack; | 1050 bool b_GL_CHROMIUM_glgetstringi_hack; |
| 1051 bool b_GL_EXT_blend_func_extended; |
1048 bool b_GL_EXT_debug_marker; | 1052 bool b_GL_EXT_debug_marker; |
1049 bool b_GL_EXT_direct_state_access; | 1053 bool b_GL_EXT_direct_state_access; |
1050 bool b_GL_EXT_discard_framebuffer; | 1054 bool b_GL_EXT_discard_framebuffer; |
1051 bool b_GL_EXT_disjoint_timer_query; | 1055 bool b_GL_EXT_disjoint_timer_query; |
1052 bool b_GL_EXT_draw_buffers; | 1056 bool b_GL_EXT_draw_buffers; |
1053 bool b_GL_EXT_framebuffer_blit; | 1057 bool b_GL_EXT_framebuffer_blit; |
1054 bool b_GL_EXT_framebuffer_multisample; | 1058 bool b_GL_EXT_framebuffer_multisample; |
1055 bool b_GL_EXT_framebuffer_object; | 1059 bool b_GL_EXT_framebuffer_object; |
| 1060 bool b_GL_EXT_gpu_shader4; |
1056 bool b_GL_EXT_map_buffer_range; | 1061 bool b_GL_EXT_map_buffer_range; |
1057 bool b_GL_EXT_multisampled_render_to_texture; | 1062 bool b_GL_EXT_multisampled_render_to_texture; |
1058 bool b_GL_EXT_occlusion_query_boolean; | 1063 bool b_GL_EXT_occlusion_query_boolean; |
1059 bool b_GL_EXT_robustness; | 1064 bool b_GL_EXT_robustness; |
1060 bool b_GL_EXT_texture_storage; | 1065 bool b_GL_EXT_texture_storage; |
1061 bool b_GL_EXT_timer_query; | 1066 bool b_GL_EXT_timer_query; |
1062 bool b_GL_IMG_multisampled_render_to_texture; | 1067 bool b_GL_IMG_multisampled_render_to_texture; |
1063 bool b_GL_INTEL_framebuffer_CMAA; | 1068 bool b_GL_INTEL_framebuffer_CMAA; |
1064 bool b_GL_KHR_blend_equation_advanced; | 1069 bool b_GL_KHR_blend_equation_advanced; |
1065 bool b_GL_KHR_robustness; | 1070 bool b_GL_KHR_robustness; |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1197 glGetActiveUniformBlockivProc glGetActiveUniformBlockivFn; | 1202 glGetActiveUniformBlockivProc glGetActiveUniformBlockivFn; |
1198 glGetActiveUniformBlockNameProc glGetActiveUniformBlockNameFn; | 1203 glGetActiveUniformBlockNameProc glGetActiveUniformBlockNameFn; |
1199 glGetActiveUniformsivProc glGetActiveUniformsivFn; | 1204 glGetActiveUniformsivProc glGetActiveUniformsivFn; |
1200 glGetAttachedShadersProc glGetAttachedShadersFn; | 1205 glGetAttachedShadersProc glGetAttachedShadersFn; |
1201 glGetAttribLocationProc glGetAttribLocationFn; | 1206 glGetAttribLocationProc glGetAttribLocationFn; |
1202 glGetBooleanvProc glGetBooleanvFn; | 1207 glGetBooleanvProc glGetBooleanvFn; |
1203 glGetBufferParameterivProc glGetBufferParameterivFn; | 1208 glGetBufferParameterivProc glGetBufferParameterivFn; |
1204 glGetErrorProc glGetErrorFn; | 1209 glGetErrorProc glGetErrorFn; |
1205 glGetFenceivNVProc glGetFenceivNVFn; | 1210 glGetFenceivNVProc glGetFenceivNVFn; |
1206 glGetFloatvProc glGetFloatvFn; | 1211 glGetFloatvProc glGetFloatvFn; |
| 1212 glGetFragDataIndexProc glGetFragDataIndexFn; |
1207 glGetFragDataLocationProc glGetFragDataLocationFn; | 1213 glGetFragDataLocationProc glGetFragDataLocationFn; |
1208 glGetFramebufferAttachmentParameterivEXTProc | 1214 glGetFramebufferAttachmentParameterivEXTProc |
1209 glGetFramebufferAttachmentParameterivEXTFn; | 1215 glGetFramebufferAttachmentParameterivEXTFn; |
1210 glGetGraphicsResetStatusARBProc glGetGraphicsResetStatusARBFn; | 1216 glGetGraphicsResetStatusARBProc glGetGraphicsResetStatusARBFn; |
1211 glGetInteger64i_vProc glGetInteger64i_vFn; | 1217 glGetInteger64i_vProc glGetInteger64i_vFn; |
1212 glGetInteger64vProc glGetInteger64vFn; | 1218 glGetInteger64vProc glGetInteger64vFn; |
1213 glGetIntegeri_vProc glGetIntegeri_vFn; | 1219 glGetIntegeri_vProc glGetIntegeri_vFn; |
1214 glGetIntegervProc glGetIntegervFn; | 1220 glGetIntegervProc glGetIntegervFn; |
1215 glGetInternalformativProc glGetInternalformativFn; | 1221 glGetInternalformativProc glGetInternalformativFn; |
1216 glGetProgramBinaryProc glGetProgramBinaryFn; | 1222 glGetProgramBinaryProc glGetProgramBinaryFn; |
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1733 GLsizei* count, | 1739 GLsizei* count, |
1734 GLuint* shaders) = 0; | 1740 GLuint* shaders) = 0; |
1735 virtual GLint glGetAttribLocationFn(GLuint program, const char* name) = 0; | 1741 virtual GLint glGetAttribLocationFn(GLuint program, const char* name) = 0; |
1736 virtual void glGetBooleanvFn(GLenum pname, GLboolean* params) = 0; | 1742 virtual void glGetBooleanvFn(GLenum pname, GLboolean* params) = 0; |
1737 virtual void glGetBufferParameterivFn(GLenum target, | 1743 virtual void glGetBufferParameterivFn(GLenum target, |
1738 GLenum pname, | 1744 GLenum pname, |
1739 GLint* params) = 0; | 1745 GLint* params) = 0; |
1740 virtual GLenum glGetErrorFn(void) = 0; | 1746 virtual GLenum glGetErrorFn(void) = 0; |
1741 virtual void glGetFenceivNVFn(GLuint fence, GLenum pname, GLint* params) = 0; | 1747 virtual void glGetFenceivNVFn(GLuint fence, GLenum pname, GLint* params) = 0; |
1742 virtual void glGetFloatvFn(GLenum pname, GLfloat* params) = 0; | 1748 virtual void glGetFloatvFn(GLenum pname, GLfloat* params) = 0; |
| 1749 virtual GLint glGetFragDataIndexFn(GLuint program, const char* name) = 0; |
1743 virtual GLint glGetFragDataLocationFn(GLuint program, const char* name) = 0; | 1750 virtual GLint glGetFragDataLocationFn(GLuint program, const char* name) = 0; |
1744 virtual void glGetFramebufferAttachmentParameterivEXTFn(GLenum target, | 1751 virtual void glGetFramebufferAttachmentParameterivEXTFn(GLenum target, |
1745 GLenum attachment, | 1752 GLenum attachment, |
1746 GLenum pname, | 1753 GLenum pname, |
1747 GLint* params) = 0; | 1754 GLint* params) = 0; |
1748 virtual GLenum glGetGraphicsResetStatusARBFn(void) = 0; | 1755 virtual GLenum glGetGraphicsResetStatusARBFn(void) = 0; |
1749 virtual void glGetInteger64i_vFn(GLenum target, | 1756 virtual void glGetInteger64i_vFn(GLenum target, |
1750 GLuint index, | 1757 GLuint index, |
1751 GLint64* data) = 0; | 1758 GLint64* data) = 0; |
1752 virtual void glGetInteger64vFn(GLenum pname, GLint64* params) = 0; | 1759 virtual void glGetInteger64vFn(GLenum pname, GLint64* params) = 0; |
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2452 #define glGetActiveUniformsiv \ | 2459 #define glGetActiveUniformsiv \ |
2453 ::gfx::g_current_gl_context->glGetActiveUniformsivFn | 2460 ::gfx::g_current_gl_context->glGetActiveUniformsivFn |
2454 #define glGetAttachedShaders ::gfx::g_current_gl_context->glGetAttachedShadersFn | 2461 #define glGetAttachedShaders ::gfx::g_current_gl_context->glGetAttachedShadersFn |
2455 #define glGetAttribLocation ::gfx::g_current_gl_context->glGetAttribLocationFn | 2462 #define glGetAttribLocation ::gfx::g_current_gl_context->glGetAttribLocationFn |
2456 #define glGetBooleanv ::gfx::g_current_gl_context->glGetBooleanvFn | 2463 #define glGetBooleanv ::gfx::g_current_gl_context->glGetBooleanvFn |
2457 #define glGetBufferParameteriv \ | 2464 #define glGetBufferParameteriv \ |
2458 ::gfx::g_current_gl_context->glGetBufferParameterivFn | 2465 ::gfx::g_current_gl_context->glGetBufferParameterivFn |
2459 #define glGetError ::gfx::g_current_gl_context->glGetErrorFn | 2466 #define glGetError ::gfx::g_current_gl_context->glGetErrorFn |
2460 #define glGetFenceivNV ::gfx::g_current_gl_context->glGetFenceivNVFn | 2467 #define glGetFenceivNV ::gfx::g_current_gl_context->glGetFenceivNVFn |
2461 #define glGetFloatv ::gfx::g_current_gl_context->glGetFloatvFn | 2468 #define glGetFloatv ::gfx::g_current_gl_context->glGetFloatvFn |
| 2469 #define glGetFragDataIndex ::gfx::g_current_gl_context->glGetFragDataIndexFn |
2462 #define glGetFragDataLocation \ | 2470 #define glGetFragDataLocation \ |
2463 ::gfx::g_current_gl_context->glGetFragDataLocationFn | 2471 ::gfx::g_current_gl_context->glGetFragDataLocationFn |
2464 #define glGetFramebufferAttachmentParameterivEXT \ | 2472 #define glGetFramebufferAttachmentParameterivEXT \ |
2465 ::gfx::g_current_gl_context->glGetFramebufferAttachmentParameterivEXTFn | 2473 ::gfx::g_current_gl_context->glGetFramebufferAttachmentParameterivEXTFn |
2466 #define glGetGraphicsResetStatusARB \ | 2474 #define glGetGraphicsResetStatusARB \ |
2467 ::gfx::g_current_gl_context->glGetGraphicsResetStatusARBFn | 2475 ::gfx::g_current_gl_context->glGetGraphicsResetStatusARBFn |
2468 #define glGetInteger64i_v ::gfx::g_current_gl_context->glGetInteger64i_vFn | 2476 #define glGetInteger64i_v ::gfx::g_current_gl_context->glGetInteger64i_vFn |
2469 #define glGetInteger64v ::gfx::g_current_gl_context->glGetInteger64vFn | 2477 #define glGetInteger64v ::gfx::g_current_gl_context->glGetInteger64vFn |
2470 #define glGetIntegeri_v ::gfx::g_current_gl_context->glGetIntegeri_vFn | 2478 #define glGetIntegeri_v ::gfx::g_current_gl_context->glGetIntegeri_vFn |
2471 #define glGetIntegerv ::gfx::g_current_gl_context->glGetIntegervFn | 2479 #define glGetIntegerv ::gfx::g_current_gl_context->glGetIntegervFn |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2685 #define glVertexAttribI4ui ::gfx::g_current_gl_context->glVertexAttribI4uiFn | 2693 #define glVertexAttribI4ui ::gfx::g_current_gl_context->glVertexAttribI4uiFn |
2686 #define glVertexAttribI4uiv ::gfx::g_current_gl_context->glVertexAttribI4uivFn | 2694 #define glVertexAttribI4uiv ::gfx::g_current_gl_context->glVertexAttribI4uivFn |
2687 #define glVertexAttribIPointer \ | 2695 #define glVertexAttribIPointer \ |
2688 ::gfx::g_current_gl_context->glVertexAttribIPointerFn | 2696 ::gfx::g_current_gl_context->glVertexAttribIPointerFn |
2689 #define glVertexAttribPointer \ | 2697 #define glVertexAttribPointer \ |
2690 ::gfx::g_current_gl_context->glVertexAttribPointerFn | 2698 ::gfx::g_current_gl_context->glVertexAttribPointerFn |
2691 #define glViewport ::gfx::g_current_gl_context->glViewportFn | 2699 #define glViewport ::gfx::g_current_gl_context->glViewportFn |
2692 #define glWaitSync ::gfx::g_current_gl_context->glWaitSyncFn | 2700 #define glWaitSync ::gfx::g_current_gl_context->glWaitSyncFn |
2693 | 2701 |
2694 #endif // UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_ | 2702 #endif // UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_ |
OLD | NEW |