| 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 1730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1741 } | 1741 } |
| 1742 void GL_APIENTRY GLES2SetDrawRectangleCHROMIUM(GLint x, | 1742 void GL_APIENTRY GLES2SetDrawRectangleCHROMIUM(GLint x, |
| 1743 GLint y, | 1743 GLint y, |
| 1744 GLint width, | 1744 GLint width, |
| 1745 GLint height) { | 1745 GLint height) { |
| 1746 gles2::GetGLContext()->SetDrawRectangleCHROMIUM(x, y, width, height); | 1746 gles2::GetGLContext()->SetDrawRectangleCHROMIUM(x, y, width, height); |
| 1747 } | 1747 } |
| 1748 void GL_APIENTRY GLES2SetEnableDCLayersCHROMIUM(GLboolean enabled) { | 1748 void GL_APIENTRY GLES2SetEnableDCLayersCHROMIUM(GLboolean enabled) { |
| 1749 gles2::GetGLContext()->SetEnableDCLayersCHROMIUM(enabled); | 1749 gles2::GetGLContext()->SetEnableDCLayersCHROMIUM(enabled); |
| 1750 } | 1750 } |
| 1751 void GL_APIENTRY GLES2InitializeDiscardableTextureCHROMIUM(GLuint texture_id) { |
| 1752 gles2::GetGLContext()->InitializeDiscardableTextureCHROMIUM(texture_id); |
| 1753 } |
| 1754 void GL_APIENTRY GLES2UnlockDiscardableTextureCHROMIUM(GLuint texture_id) { |
| 1755 gles2::GetGLContext()->UnlockDiscardableTextureCHROMIUM(texture_id); |
| 1756 } |
| 1757 bool GL_APIENTRY GLES2LockDiscardableTextureCHROMIUM(GLuint texture_id) { |
| 1758 return gles2::GetGLContext()->LockDiscardableTextureCHROMIUM(texture_id); |
| 1759 } |
| 1751 | 1760 |
| 1752 namespace gles2 { | 1761 namespace gles2 { |
| 1753 | 1762 |
| 1754 extern const NameToFunc g_gles2_function_table[] = { | 1763 extern const NameToFunc g_gles2_function_table[] = { |
| 1755 { | 1764 { |
| 1756 "glActiveTexture", | 1765 "glActiveTexture", |
| 1757 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), | 1766 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), |
| 1758 }, | 1767 }, |
| 1759 { | 1768 { |
| 1760 "glAttachShader", | 1769 "glAttachShader", |
| (...skipping 1300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3061 }, | 3070 }, |
| 3062 { | 3071 { |
| 3063 "glSetDrawRectangleCHROMIUM", | 3072 "glSetDrawRectangleCHROMIUM", |
| 3064 reinterpret_cast<GLES2FunctionPointer>(glSetDrawRectangleCHROMIUM), | 3073 reinterpret_cast<GLES2FunctionPointer>(glSetDrawRectangleCHROMIUM), |
| 3065 }, | 3074 }, |
| 3066 { | 3075 { |
| 3067 "glSetEnableDCLayersCHROMIUM", | 3076 "glSetEnableDCLayersCHROMIUM", |
| 3068 reinterpret_cast<GLES2FunctionPointer>(glSetEnableDCLayersCHROMIUM), | 3077 reinterpret_cast<GLES2FunctionPointer>(glSetEnableDCLayersCHROMIUM), |
| 3069 }, | 3078 }, |
| 3070 { | 3079 { |
| 3080 "glInitializeDiscardableTextureCHROMIUM", |
| 3081 reinterpret_cast<GLES2FunctionPointer>( |
| 3082 glInitializeDiscardableTextureCHROMIUM), |
| 3083 }, |
| 3084 { |
| 3085 "glUnlockDiscardableTextureCHROMIUM", |
| 3086 reinterpret_cast<GLES2FunctionPointer>( |
| 3087 glUnlockDiscardableTextureCHROMIUM), |
| 3088 }, |
| 3089 { |
| 3090 "glLockDiscardableTextureCHROMIUM", |
| 3091 reinterpret_cast<GLES2FunctionPointer>( |
| 3092 glLockDiscardableTextureCHROMIUM), |
| 3093 }, |
| 3094 { |
| 3071 NULL, NULL, | 3095 NULL, NULL, |
| 3072 }, | 3096 }, |
| 3073 }; | 3097 }; |
| 3074 | 3098 |
| 3075 } // namespace gles2 | 3099 } // namespace gles2 |
| 3076 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3100 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |