| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 GLsizei height); | 192 GLsizei height); |
| 193 typedef void(GL_BINDING_CALL* glCopyTexSubImage3DProc)(GLenum target, | 193 typedef void(GL_BINDING_CALL* glCopyTexSubImage3DProc)(GLenum target, |
| 194 GLint level, | 194 GLint level, |
| 195 GLint xoffset, | 195 GLint xoffset, |
| 196 GLint yoffset, | 196 GLint yoffset, |
| 197 GLint zoffset, | 197 GLint zoffset, |
| 198 GLint x, | 198 GLint x, |
| 199 GLint y, | 199 GLint y, |
| 200 GLsizei width, | 200 GLsizei width, |
| 201 GLsizei height); | 201 GLsizei height); |
| 202 typedef void(GL_BINDING_CALL* glCoverageModulationNVProc)(GLenum components); |
| 202 typedef void(GL_BINDING_CALL* glCoverFillPathInstancedNVProc)( | 203 typedef void(GL_BINDING_CALL* glCoverFillPathInstancedNVProc)( |
| 203 GLsizei numPaths, | 204 GLsizei numPaths, |
| 204 GLenum pathNameType, | 205 GLenum pathNameType, |
| 205 const void* paths, | 206 const void* paths, |
| 206 GLuint pathBase, | 207 GLuint pathBase, |
| 207 GLenum coverMode, | 208 GLenum coverMode, |
| 208 GLenum transformType, | 209 GLenum transformType, |
| 209 const GLfloat* transformValues); | 210 const GLfloat* transformValues); |
| 210 typedef void(GL_BINDING_CALL* glCoverFillPathNVProc)(GLuint path, | 211 typedef void(GL_BINDING_CALL* glCoverFillPathNVProc)(GLuint path, |
| 211 GLenum coverMode); | 212 GLenum coverMode); |
| (...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1063 bool b_GL_EXT_occlusion_query_boolean; | 1064 bool b_GL_EXT_occlusion_query_boolean; |
| 1064 bool b_GL_EXT_robustness; | 1065 bool b_GL_EXT_robustness; |
| 1065 bool b_GL_EXT_texture_storage; | 1066 bool b_GL_EXT_texture_storage; |
| 1066 bool b_GL_EXT_timer_query; | 1067 bool b_GL_EXT_timer_query; |
| 1067 bool b_GL_IMG_multisampled_render_to_texture; | 1068 bool b_GL_IMG_multisampled_render_to_texture; |
| 1068 bool b_GL_INTEL_framebuffer_CMAA; | 1069 bool b_GL_INTEL_framebuffer_CMAA; |
| 1069 bool b_GL_KHR_blend_equation_advanced; | 1070 bool b_GL_KHR_blend_equation_advanced; |
| 1070 bool b_GL_KHR_robustness; | 1071 bool b_GL_KHR_robustness; |
| 1071 bool b_GL_NV_blend_equation_advanced; | 1072 bool b_GL_NV_blend_equation_advanced; |
| 1072 bool b_GL_NV_fence; | 1073 bool b_GL_NV_fence; |
| 1074 bool b_GL_NV_framebuffer_mixed_samples; |
| 1073 bool b_GL_NV_path_rendering; | 1075 bool b_GL_NV_path_rendering; |
| 1074 bool b_GL_OES_EGL_image; | 1076 bool b_GL_OES_EGL_image; |
| 1075 bool b_GL_OES_get_program_binary; | 1077 bool b_GL_OES_get_program_binary; |
| 1076 bool b_GL_OES_mapbuffer; | 1078 bool b_GL_OES_mapbuffer; |
| 1077 bool b_GL_OES_vertex_array_object; | 1079 bool b_GL_OES_vertex_array_object; |
| 1078 }; | 1080 }; |
| 1079 | 1081 |
| 1080 struct ProcsGL { | 1082 struct ProcsGL { |
| 1081 glActiveTextureProc glActiveTextureFn; | 1083 glActiveTextureProc glActiveTextureFn; |
| 1082 glApplyFramebufferAttachmentCMAAINTELProc | 1084 glApplyFramebufferAttachmentCMAAINTELProc |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1121 glColorMaskProc glColorMaskFn; | 1123 glColorMaskProc glColorMaskFn; |
| 1122 glCompileShaderProc glCompileShaderFn; | 1124 glCompileShaderProc glCompileShaderFn; |
| 1123 glCompressedTexImage2DProc glCompressedTexImage2DFn; | 1125 glCompressedTexImage2DProc glCompressedTexImage2DFn; |
| 1124 glCompressedTexImage3DProc glCompressedTexImage3DFn; | 1126 glCompressedTexImage3DProc glCompressedTexImage3DFn; |
| 1125 glCompressedTexSubImage2DProc glCompressedTexSubImage2DFn; | 1127 glCompressedTexSubImage2DProc glCompressedTexSubImage2DFn; |
| 1126 glCompressedTexSubImage3DProc glCompressedTexSubImage3DFn; | 1128 glCompressedTexSubImage3DProc glCompressedTexSubImage3DFn; |
| 1127 glCopyBufferSubDataProc glCopyBufferSubDataFn; | 1129 glCopyBufferSubDataProc glCopyBufferSubDataFn; |
| 1128 glCopyTexImage2DProc glCopyTexImage2DFn; | 1130 glCopyTexImage2DProc glCopyTexImage2DFn; |
| 1129 glCopyTexSubImage2DProc glCopyTexSubImage2DFn; | 1131 glCopyTexSubImage2DProc glCopyTexSubImage2DFn; |
| 1130 glCopyTexSubImage3DProc glCopyTexSubImage3DFn; | 1132 glCopyTexSubImage3DProc glCopyTexSubImage3DFn; |
| 1133 glCoverageModulationNVProc glCoverageModulationNVFn; |
| 1131 glCoverFillPathInstancedNVProc glCoverFillPathInstancedNVFn; | 1134 glCoverFillPathInstancedNVProc glCoverFillPathInstancedNVFn; |
| 1132 glCoverFillPathNVProc glCoverFillPathNVFn; | 1135 glCoverFillPathNVProc glCoverFillPathNVFn; |
| 1133 glCoverStrokePathInstancedNVProc glCoverStrokePathInstancedNVFn; | 1136 glCoverStrokePathInstancedNVProc glCoverStrokePathInstancedNVFn; |
| 1134 glCoverStrokePathNVProc glCoverStrokePathNVFn; | 1137 glCoverStrokePathNVProc glCoverStrokePathNVFn; |
| 1135 glCreateProgramProc glCreateProgramFn; | 1138 glCreateProgramProc glCreateProgramFn; |
| 1136 glCreateShaderProc glCreateShaderFn; | 1139 glCreateShaderProc glCreateShaderFn; |
| 1137 glCullFaceProc glCullFaceFn; | 1140 glCullFaceProc glCullFaceFn; |
| 1138 glDeleteBuffersARBProc glDeleteBuffersARBFn; | 1141 glDeleteBuffersARBProc glDeleteBuffersARBFn; |
| 1139 glDeleteFencesAPPLEProc glDeleteFencesAPPLEFn; | 1142 glDeleteFencesAPPLEProc glDeleteFencesAPPLEFn; |
| 1140 glDeleteFencesNVProc glDeleteFencesNVFn; | 1143 glDeleteFencesNVProc glDeleteFencesNVFn; |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1575 GLsizei height) = 0; | 1578 GLsizei height) = 0; |
| 1576 virtual void glCopyTexSubImage3DFn(GLenum target, | 1579 virtual void glCopyTexSubImage3DFn(GLenum target, |
| 1577 GLint level, | 1580 GLint level, |
| 1578 GLint xoffset, | 1581 GLint xoffset, |
| 1579 GLint yoffset, | 1582 GLint yoffset, |
| 1580 GLint zoffset, | 1583 GLint zoffset, |
| 1581 GLint x, | 1584 GLint x, |
| 1582 GLint y, | 1585 GLint y, |
| 1583 GLsizei width, | 1586 GLsizei width, |
| 1584 GLsizei height) = 0; | 1587 GLsizei height) = 0; |
| 1588 virtual void glCoverageModulationNVFn(GLenum components) = 0; |
| 1585 virtual void glCoverFillPathInstancedNVFn(GLsizei numPaths, | 1589 virtual void glCoverFillPathInstancedNVFn(GLsizei numPaths, |
| 1586 GLenum pathNameType, | 1590 GLenum pathNameType, |
| 1587 const void* paths, | 1591 const void* paths, |
| 1588 GLuint pathBase, | 1592 GLuint pathBase, |
| 1589 GLenum coverMode, | 1593 GLenum coverMode, |
| 1590 GLenum transformType, | 1594 GLenum transformType, |
| 1591 const GLfloat* transformValues) = 0; | 1595 const GLfloat* transformValues) = 0; |
| 1592 virtual void glCoverFillPathNVFn(GLuint path, GLenum coverMode) = 0; | 1596 virtual void glCoverFillPathNVFn(GLuint path, GLenum coverMode) = 0; |
| 1593 virtual void glCoverStrokePathInstancedNVFn( | 1597 virtual void glCoverStrokePathInstancedNVFn( |
| 1594 GLsizei numPaths, | 1598 GLsizei numPaths, |
| (...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2355 #define glCompressedTexImage3D \ | 2359 #define glCompressedTexImage3D \ |
| 2356 ::gfx::g_current_gl_context->glCompressedTexImage3DFn | 2360 ::gfx::g_current_gl_context->glCompressedTexImage3DFn |
| 2357 #define glCompressedTexSubImage2D \ | 2361 #define glCompressedTexSubImage2D \ |
| 2358 ::gfx::g_current_gl_context->glCompressedTexSubImage2DFn | 2362 ::gfx::g_current_gl_context->glCompressedTexSubImage2DFn |
| 2359 #define glCompressedTexSubImage3D \ | 2363 #define glCompressedTexSubImage3D \ |
| 2360 ::gfx::g_current_gl_context->glCompressedTexSubImage3DFn | 2364 ::gfx::g_current_gl_context->glCompressedTexSubImage3DFn |
| 2361 #define glCopyBufferSubData ::gfx::g_current_gl_context->glCopyBufferSubDataFn | 2365 #define glCopyBufferSubData ::gfx::g_current_gl_context->glCopyBufferSubDataFn |
| 2362 #define glCopyTexImage2D ::gfx::g_current_gl_context->glCopyTexImage2DFn | 2366 #define glCopyTexImage2D ::gfx::g_current_gl_context->glCopyTexImage2DFn |
| 2363 #define glCopyTexSubImage2D ::gfx::g_current_gl_context->glCopyTexSubImage2DFn | 2367 #define glCopyTexSubImage2D ::gfx::g_current_gl_context->glCopyTexSubImage2DFn |
| 2364 #define glCopyTexSubImage3D ::gfx::g_current_gl_context->glCopyTexSubImage3DFn | 2368 #define glCopyTexSubImage3D ::gfx::g_current_gl_context->glCopyTexSubImage3DFn |
| 2369 #define glCoverageModulationNV \ |
| 2370 ::gfx::g_current_gl_context->glCoverageModulationNVFn |
| 2365 #define glCoverFillPathInstancedNV \ | 2371 #define glCoverFillPathInstancedNV \ |
| 2366 ::gfx::g_current_gl_context->glCoverFillPathInstancedNVFn | 2372 ::gfx::g_current_gl_context->glCoverFillPathInstancedNVFn |
| 2367 #define glCoverFillPathNV ::gfx::g_current_gl_context->glCoverFillPathNVFn | 2373 #define glCoverFillPathNV ::gfx::g_current_gl_context->glCoverFillPathNVFn |
| 2368 #define glCoverStrokePathInstancedNV \ | 2374 #define glCoverStrokePathInstancedNV \ |
| 2369 ::gfx::g_current_gl_context->glCoverStrokePathInstancedNVFn | 2375 ::gfx::g_current_gl_context->glCoverStrokePathInstancedNVFn |
| 2370 #define glCoverStrokePathNV ::gfx::g_current_gl_context->glCoverStrokePathNVFn | 2376 #define glCoverStrokePathNV ::gfx::g_current_gl_context->glCoverStrokePathNVFn |
| 2371 #define glCreateProgram ::gfx::g_current_gl_context->glCreateProgramFn | 2377 #define glCreateProgram ::gfx::g_current_gl_context->glCreateProgramFn |
| 2372 #define glCreateShader ::gfx::g_current_gl_context->glCreateShaderFn | 2378 #define glCreateShader ::gfx::g_current_gl_context->glCreateShaderFn |
| 2373 #define glCullFace ::gfx::g_current_gl_context->glCullFaceFn | 2379 #define glCullFace ::gfx::g_current_gl_context->glCullFaceFn |
| 2374 #define glDeleteBuffersARB ::gfx::g_current_gl_context->glDeleteBuffersARBFn | 2380 #define glDeleteBuffersARB ::gfx::g_current_gl_context->glDeleteBuffersARBFn |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2693 #define glVertexAttribI4ui ::gfx::g_current_gl_context->glVertexAttribI4uiFn | 2699 #define glVertexAttribI4ui ::gfx::g_current_gl_context->glVertexAttribI4uiFn |
| 2694 #define glVertexAttribI4uiv ::gfx::g_current_gl_context->glVertexAttribI4uivFn | 2700 #define glVertexAttribI4uiv ::gfx::g_current_gl_context->glVertexAttribI4uivFn |
| 2695 #define glVertexAttribIPointer \ | 2701 #define glVertexAttribIPointer \ |
| 2696 ::gfx::g_current_gl_context->glVertexAttribIPointerFn | 2702 ::gfx::g_current_gl_context->glVertexAttribIPointerFn |
| 2697 #define glVertexAttribPointer \ | 2703 #define glVertexAttribPointer \ |
| 2698 ::gfx::g_current_gl_context->glVertexAttribPointerFn | 2704 ::gfx::g_current_gl_context->glVertexAttribPointerFn |
| 2699 #define glViewport ::gfx::g_current_gl_context->glViewportFn | 2705 #define glViewport ::gfx::g_current_gl_context->glViewportFn |
| 2700 #define glWaitSync ::gfx::g_current_gl_context->glWaitSyncFn | 2706 #define glWaitSync ::gfx::g_current_gl_context->glWaitSyncFn |
| 2701 | 2707 |
| 2702 #endif // UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_ | 2708 #endif // UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_ |
| OLD | NEW |