| 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 1664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 GLES2ApplyScreenSpaceAntialiasingCHROMIUM() { | 1682 void GL_APIENTRY GLES2ApplyScreenSpaceAntialiasingCHROMIUM() { |
| 1683 gles2::GetGLContext()->ApplyScreenSpaceAntialiasingCHROMIUM(); | 1683 gles2::GetGLContext()->ApplyScreenSpaceAntialiasingCHROMIUM(); |
| 1684 } | 1684 } |
| 1685 void GL_APIENTRY GLES2BindFragDataLocationIndexedEXT(GLuint program, |
| 1686 GLuint colorNumber, |
| 1687 GLuint index, |
| 1688 const char* name) { |
| 1689 gles2::GetGLContext()->BindFragDataLocationIndexedEXT(program, colorNumber, |
| 1690 index, name); |
| 1691 } |
| 1692 void GL_APIENTRY GLES2BindFragDataLocationEXT(GLuint program, |
| 1693 GLuint colorNumber, |
| 1694 const char* name) { |
| 1695 gles2::GetGLContext()->BindFragDataLocationEXT(program, colorNumber, name); |
| 1696 } |
| 1697 GLint GL_APIENTRY GLES2GetFragDataIndexEXT(GLuint program, const char* name) { |
| 1698 return gles2::GetGLContext()->GetFragDataIndexEXT(program, name); |
| 1699 } |
| 1685 | 1700 |
| 1686 namespace gles2 { | 1701 namespace gles2 { |
| 1687 | 1702 |
| 1688 extern const NameToFunc g_gles2_function_table[] = { | 1703 extern const NameToFunc g_gles2_function_table[] = { |
| 1689 { | 1704 { |
| 1690 "glActiveTexture", | 1705 "glActiveTexture", |
| 1691 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), | 1706 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), |
| 1692 }, | 1707 }, |
| 1693 { | 1708 { |
| 1694 "glAttachShader", | 1709 "glAttachShader", |
| (...skipping 1254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2949 { | 2964 { |
| 2950 "glBlendBarrierKHR", | 2965 "glBlendBarrierKHR", |
| 2951 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2966 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
| 2952 }, | 2967 }, |
| 2953 { | 2968 { |
| 2954 "glApplyScreenSpaceAntialiasingCHROMIUM", | 2969 "glApplyScreenSpaceAntialiasingCHROMIUM", |
| 2955 reinterpret_cast<GLES2FunctionPointer>( | 2970 reinterpret_cast<GLES2FunctionPointer>( |
| 2956 glApplyScreenSpaceAntialiasingCHROMIUM), | 2971 glApplyScreenSpaceAntialiasingCHROMIUM), |
| 2957 }, | 2972 }, |
| 2958 { | 2973 { |
| 2974 "glBindFragDataLocationIndexedEXT", |
| 2975 reinterpret_cast<GLES2FunctionPointer>( |
| 2976 glBindFragDataLocationIndexedEXT), |
| 2977 }, |
| 2978 { |
| 2979 "glBindFragDataLocationEXT", |
| 2980 reinterpret_cast<GLES2FunctionPointer>(glBindFragDataLocationEXT), |
| 2981 }, |
| 2982 { |
| 2983 "glGetFragDataIndexEXT", |
| 2984 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), |
| 2985 }, |
| 2986 { |
| 2959 NULL, NULL, | 2987 NULL, NULL, |
| 2960 }, | 2988 }, |
| 2961 }; | 2989 }; |
| 2962 | 2990 |
| 2963 } // namespace gles2 | 2991 } // namespace gles2 |
| 2964 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2992 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |