| 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 1686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1697 } | 1697 } |
| 1698 GLenum GL_APIENTRY GLES2GetGraphicsResetStatusKHR() { | 1698 GLenum GL_APIENTRY GLES2GetGraphicsResetStatusKHR() { |
| 1699 return gles2::GetGLContext()->GetGraphicsResetStatusKHR(); | 1699 return gles2::GetGLContext()->GetGraphicsResetStatusKHR(); |
| 1700 } | 1700 } |
| 1701 void GL_APIENTRY GLES2BlendBarrierKHR() { | 1701 void GL_APIENTRY GLES2BlendBarrierKHR() { |
| 1702 gles2::GetGLContext()->BlendBarrierKHR(); | 1702 gles2::GetGLContext()->BlendBarrierKHR(); |
| 1703 } | 1703 } |
| 1704 void GL_APIENTRY GLES2ApplyScreenSpaceAntialiasingCHROMIUM() { | 1704 void GL_APIENTRY GLES2ApplyScreenSpaceAntialiasingCHROMIUM() { |
| 1705 gles2::GetGLContext()->ApplyScreenSpaceAntialiasingCHROMIUM(); | 1705 gles2::GetGLContext()->ApplyScreenSpaceAntialiasingCHROMIUM(); |
| 1706 } | 1706 } |
| 1707 void GL_APIENTRY GLES2BindFragDataLocationIndexedEXT(GLuint program, |
| 1708 GLuint colorNumber, |
| 1709 GLuint index, |
| 1710 const char* name) { |
| 1711 gles2::GetGLContext()->BindFragDataLocationIndexedEXT(program, colorNumber, |
| 1712 index, name); |
| 1713 } |
| 1714 void GL_APIENTRY GLES2BindFragDataLocationEXT(GLuint program, |
| 1715 GLuint colorNumber, |
| 1716 const char* name) { |
| 1717 gles2::GetGLContext()->BindFragDataLocationEXT(program, colorNumber, name); |
| 1718 } |
| 1719 GLint GL_APIENTRY GLES2GetFragDataIndexEXT(GLuint program, const char* name) { |
| 1720 return gles2::GetGLContext()->GetFragDataIndexEXT(program, name); |
| 1721 } |
| 1707 | 1722 |
| 1708 namespace gles2 { | 1723 namespace gles2 { |
| 1709 | 1724 |
| 1710 extern const NameToFunc g_gles2_function_table[] = { | 1725 extern const NameToFunc g_gles2_function_table[] = { |
| 1711 { | 1726 { |
| 1712 "glActiveTexture", | 1727 "glActiveTexture", |
| 1713 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), | 1728 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), |
| 1714 }, | 1729 }, |
| 1715 { | 1730 { |
| 1716 "glAttachShader", | 1731 "glAttachShader", |
| (...skipping 1270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2987 { | 3002 { |
| 2988 "glBlendBarrierKHR", | 3003 "glBlendBarrierKHR", |
| 2989 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 3004 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
| 2990 }, | 3005 }, |
| 2991 { | 3006 { |
| 2992 "glApplyScreenSpaceAntialiasingCHROMIUM", | 3007 "glApplyScreenSpaceAntialiasingCHROMIUM", |
| 2993 reinterpret_cast<GLES2FunctionPointer>( | 3008 reinterpret_cast<GLES2FunctionPointer>( |
| 2994 glApplyScreenSpaceAntialiasingCHROMIUM), | 3009 glApplyScreenSpaceAntialiasingCHROMIUM), |
| 2995 }, | 3010 }, |
| 2996 { | 3011 { |
| 3012 "glBindFragDataLocationIndexedEXT", |
| 3013 reinterpret_cast<GLES2FunctionPointer>( |
| 3014 glBindFragDataLocationIndexedEXT), |
| 3015 }, |
| 3016 { |
| 3017 "glBindFragDataLocationEXT", |
| 3018 reinterpret_cast<GLES2FunctionPointer>(glBindFragDataLocationEXT), |
| 3019 }, |
| 3020 { |
| 3021 "glGetFragDataIndexEXT", |
| 3022 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), |
| 3023 }, |
| 3024 { |
| 2997 NULL, NULL, | 3025 NULL, NULL, |
| 2998 }, | 3026 }, |
| 2999 }; | 3027 }; |
| 3000 | 3028 |
| 3001 } // namespace gles2 | 3029 } // namespace gles2 |
| 3002 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3030 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |