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 // 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 |
(...skipping 1661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1672 const GLfloat* coeffs) { | 1672 const GLfloat* coeffs) { |
1673 gles2::GetGLContext()->ProgramPathFragmentInputGenCHROMIUM( | 1673 gles2::GetGLContext()->ProgramPathFragmentInputGenCHROMIUM( |
1674 program, location, genMode, components, coeffs); | 1674 program, location, genMode, components, coeffs); |
1675 } | 1675 } |
1676 GLenum GL_APIENTRY GLES2GetGraphicsResetStatusKHR() { | 1676 GLenum GL_APIENTRY GLES2GetGraphicsResetStatusKHR() { |
1677 return gles2::GetGLContext()->GetGraphicsResetStatusKHR(); | 1677 return gles2::GetGLContext()->GetGraphicsResetStatusKHR(); |
1678 } | 1678 } |
1679 void GL_APIENTRY GLES2BlendBarrierKHR() { | 1679 void GL_APIENTRY GLES2BlendBarrierKHR() { |
1680 gles2::GetGLContext()->BlendBarrierKHR(); | 1680 gles2::GetGLContext()->BlendBarrierKHR(); |
1681 } | 1681 } |
| 1682 void GL_APIENTRY GLES2BindFragDataLocationIndexedEXT(GLuint program, |
| 1683 GLuint colorNumber, |
| 1684 GLuint index, |
| 1685 const char* name) { |
| 1686 gles2::GetGLContext()->BindFragDataLocationIndexedEXT(program, colorNumber, |
| 1687 index, name); |
| 1688 } |
| 1689 void GL_APIENTRY GLES2BindFragDataLocationEXT(GLuint program, |
| 1690 GLuint colorNumber, |
| 1691 const char* name) { |
| 1692 gles2::GetGLContext()->BindFragDataLocationEXT(program, colorNumber, name); |
| 1693 } |
| 1694 GLint GL_APIENTRY GLES2GetFragDataIndexEXT(GLuint program, const char* name) { |
| 1695 return gles2::GetGLContext()->GetFragDataIndexEXT(program, name); |
| 1696 } |
1682 | 1697 |
1683 namespace gles2 { | 1698 namespace gles2 { |
1684 | 1699 |
1685 extern const NameToFunc g_gles2_function_table[] = { | 1700 extern const NameToFunc g_gles2_function_table[] = { |
1686 { | 1701 { |
1687 "glActiveTexture", | 1702 "glActiveTexture", |
1688 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), | 1703 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), |
1689 }, | 1704 }, |
1690 { | 1705 { |
1691 "glAttachShader", | 1706 "glAttachShader", |
(...skipping 1249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2941 }, | 2956 }, |
2942 { | 2957 { |
2943 "glGetGraphicsResetStatusKHR", | 2958 "glGetGraphicsResetStatusKHR", |
2944 reinterpret_cast<GLES2FunctionPointer>(glGetGraphicsResetStatusKHR), | 2959 reinterpret_cast<GLES2FunctionPointer>(glGetGraphicsResetStatusKHR), |
2945 }, | 2960 }, |
2946 { | 2961 { |
2947 "glBlendBarrierKHR", | 2962 "glBlendBarrierKHR", |
2948 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2963 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
2949 }, | 2964 }, |
2950 { | 2965 { |
| 2966 "glBindFragDataLocationIndexedEXT", |
| 2967 reinterpret_cast<GLES2FunctionPointer>( |
| 2968 glBindFragDataLocationIndexedEXT), |
| 2969 }, |
| 2970 { |
| 2971 "glBindFragDataLocationEXT", |
| 2972 reinterpret_cast<GLES2FunctionPointer>(glBindFragDataLocationEXT), |
| 2973 }, |
| 2974 { |
| 2975 "glGetFragDataIndexEXT", |
| 2976 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), |
| 2977 }, |
| 2978 { |
2951 NULL, NULL, | 2979 NULL, NULL, |
2952 }, | 2980 }, |
2953 }; | 2981 }; |
2954 | 2982 |
2955 } // namespace gles2 | 2983 } // namespace gles2 |
2956 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2984 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |