| 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 1295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1306 GLuint GL_APIENTRY GLES2CreateImageCHROMIUM(ClientBuffer buffer, | 1306 GLuint GL_APIENTRY GLES2CreateImageCHROMIUM(ClientBuffer buffer, |
| 1307 GLsizei width, | 1307 GLsizei width, |
| 1308 GLsizei height, | 1308 GLsizei height, |
| 1309 GLenum internalformat) { | 1309 GLenum internalformat) { |
| 1310 return gles2::GetGLContext()->CreateImageCHROMIUM(buffer, width, height, | 1310 return gles2::GetGLContext()->CreateImageCHROMIUM(buffer, width, height, |
| 1311 internalformat); | 1311 internalformat); |
| 1312 } | 1312 } |
| 1313 void GL_APIENTRY GLES2DestroyImageCHROMIUM(GLuint image_id) { | 1313 void GL_APIENTRY GLES2DestroyImageCHROMIUM(GLuint image_id) { |
| 1314 gles2::GetGLContext()->DestroyImageCHROMIUM(image_id); | 1314 gles2::GetGLContext()->DestroyImageCHROMIUM(image_id); |
| 1315 } | 1315 } |
| 1316 GLuint GL_APIENTRY | |
| 1317 GLES2CreateGpuMemoryBufferImageCHROMIUM(GLsizei width, | |
| 1318 GLsizei height, | |
| 1319 GLenum internalformat, | |
| 1320 GLenum usage) { | |
| 1321 return gles2::GetGLContext()->CreateGpuMemoryBufferImageCHROMIUM( | |
| 1322 width, height, internalformat, usage); | |
| 1323 } | |
| 1324 void GL_APIENTRY GLES2DescheduleUntilFinishedCHROMIUM() { | 1316 void GL_APIENTRY GLES2DescheduleUntilFinishedCHROMIUM() { |
| 1325 gles2::GetGLContext()->DescheduleUntilFinishedCHROMIUM(); | 1317 gles2::GetGLContext()->DescheduleUntilFinishedCHROMIUM(); |
| 1326 } | 1318 } |
| 1327 void GL_APIENTRY GLES2GetTranslatedShaderSourceANGLE(GLuint shader, | 1319 void GL_APIENTRY GLES2GetTranslatedShaderSourceANGLE(GLuint shader, |
| 1328 GLsizei bufsize, | 1320 GLsizei bufsize, |
| 1329 GLsizei* length, | 1321 GLsizei* length, |
| 1330 char* source) { | 1322 char* source) { |
| 1331 gles2::GetGLContext()->GetTranslatedShaderSourceANGLE(shader, bufsize, length, | 1323 gles2::GetGLContext()->GetTranslatedShaderSourceANGLE(shader, bufsize, length, |
| 1332 source); | 1324 source); |
| 1333 } | 1325 } |
| (...skipping 1391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2725 }, | 2717 }, |
| 2726 { | 2718 { |
| 2727 "glCreateImageCHROMIUM", | 2719 "glCreateImageCHROMIUM", |
| 2728 reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM), | 2720 reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM), |
| 2729 }, | 2721 }, |
| 2730 { | 2722 { |
| 2731 "glDestroyImageCHROMIUM", | 2723 "glDestroyImageCHROMIUM", |
| 2732 reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM), | 2724 reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM), |
| 2733 }, | 2725 }, |
| 2734 { | 2726 { |
| 2735 "glCreateGpuMemoryBufferImageCHROMIUM", | |
| 2736 reinterpret_cast<GLES2FunctionPointer>( | |
| 2737 glCreateGpuMemoryBufferImageCHROMIUM), | |
| 2738 }, | |
| 2739 { | |
| 2740 "glDescheduleUntilFinishedCHROMIUM", | 2727 "glDescheduleUntilFinishedCHROMIUM", |
| 2741 reinterpret_cast<GLES2FunctionPointer>( | 2728 reinterpret_cast<GLES2FunctionPointer>( |
| 2742 glDescheduleUntilFinishedCHROMIUM), | 2729 glDescheduleUntilFinishedCHROMIUM), |
| 2743 }, | 2730 }, |
| 2744 { | 2731 { |
| 2745 "glGetTranslatedShaderSourceANGLE", | 2732 "glGetTranslatedShaderSourceANGLE", |
| 2746 reinterpret_cast<GLES2FunctionPointer>( | 2733 reinterpret_cast<GLES2FunctionPointer>( |
| 2747 glGetTranslatedShaderSourceANGLE), | 2734 glGetTranslatedShaderSourceANGLE), |
| 2748 }, | 2735 }, |
| 2749 { | 2736 { |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3035 "glSwapBuffersWithBoundsCHROMIUM", | 3022 "glSwapBuffersWithBoundsCHROMIUM", |
| 3036 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithBoundsCHROMIUM), | 3023 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithBoundsCHROMIUM), |
| 3037 }, | 3024 }, |
| 3038 { | 3025 { |
| 3039 NULL, NULL, | 3026 NULL, NULL, |
| 3040 }, | 3027 }, |
| 3041 }; | 3028 }; |
| 3042 | 3029 |
| 3043 } // namespace gles2 | 3030 } // namespace gles2 |
| 3044 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3031 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |