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