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 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1314 gles2::GetGLContext()->DestroyImageCHROMIUM(image_id); | 1314 gles2::GetGLContext()->DestroyImageCHROMIUM(image_id); |
1315 } | 1315 } |
1316 GLuint GL_APIENTRY | 1316 GLuint GL_APIENTRY |
1317 GLES2CreateGpuMemoryBufferImageCHROMIUM(GLsizei width, | 1317 GLES2CreateGpuMemoryBufferImageCHROMIUM(GLsizei width, |
1318 GLsizei height, | 1318 GLsizei height, |
1319 GLenum internalformat, | 1319 GLenum internalformat, |
1320 GLenum usage) { | 1320 GLenum usage) { |
1321 return gles2::GetGLContext()->CreateGpuMemoryBufferImageCHROMIUM( | 1321 return gles2::GetGLContext()->CreateGpuMemoryBufferImageCHROMIUM( |
1322 width, height, internalformat, usage); | 1322 width, height, internalformat, usage); |
1323 } | 1323 } |
| 1324 GLuint GL_APIENTRY GLES2CreateFenceCHROMIUM(ClientFence fence) { |
| 1325 return gles2::GetGLContext()->CreateFenceCHROMIUM(fence); |
| 1326 } |
| 1327 void GL_APIENTRY GLES2DestroyFenceCHROMIUM(GLuint fence_id) { |
| 1328 gles2::GetGLContext()->DestroyFenceCHROMIUM(fence_id); |
| 1329 } |
1324 void GL_APIENTRY GLES2DescheduleUntilFinishedCHROMIUM() { | 1330 void GL_APIENTRY GLES2DescheduleUntilFinishedCHROMIUM() { |
1325 gles2::GetGLContext()->DescheduleUntilFinishedCHROMIUM(); | 1331 gles2::GetGLContext()->DescheduleUntilFinishedCHROMIUM(); |
1326 } | 1332 } |
1327 void GL_APIENTRY GLES2GetTranslatedShaderSourceANGLE(GLuint shader, | 1333 void GL_APIENTRY GLES2GetTranslatedShaderSourceANGLE(GLuint shader, |
1328 GLsizei bufsize, | 1334 GLsizei bufsize, |
1329 GLsizei* length, | 1335 GLsizei* length, |
1330 char* source) { | 1336 char* source) { |
1331 gles2::GetGLContext()->GetTranslatedShaderSourceANGLE(shader, bufsize, length, | 1337 gles2::GetGLContext()->GetTranslatedShaderSourceANGLE(shader, bufsize, length, |
1332 source); | 1338 source); |
1333 } | 1339 } |
(...skipping 1383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2717 { | 2723 { |
2718 "glDestroyImageCHROMIUM", | 2724 "glDestroyImageCHROMIUM", |
2719 reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM), | 2725 reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM), |
2720 }, | 2726 }, |
2721 { | 2727 { |
2722 "glCreateGpuMemoryBufferImageCHROMIUM", | 2728 "glCreateGpuMemoryBufferImageCHROMIUM", |
2723 reinterpret_cast<GLES2FunctionPointer>( | 2729 reinterpret_cast<GLES2FunctionPointer>( |
2724 glCreateGpuMemoryBufferImageCHROMIUM), | 2730 glCreateGpuMemoryBufferImageCHROMIUM), |
2725 }, | 2731 }, |
2726 { | 2732 { |
| 2733 "glCreateFenceCHROMIUM", |
| 2734 reinterpret_cast<GLES2FunctionPointer>(glCreateFenceCHROMIUM), |
| 2735 }, |
| 2736 { |
| 2737 "glDestroyFenceCHROMIUM", |
| 2738 reinterpret_cast<GLES2FunctionPointer>(glDestroyFenceCHROMIUM), |
| 2739 }, |
| 2740 { |
2727 "glDescheduleUntilFinishedCHROMIUM", | 2741 "glDescheduleUntilFinishedCHROMIUM", |
2728 reinterpret_cast<GLES2FunctionPointer>( | 2742 reinterpret_cast<GLES2FunctionPointer>( |
2729 glDescheduleUntilFinishedCHROMIUM), | 2743 glDescheduleUntilFinishedCHROMIUM), |
2730 }, | 2744 }, |
2731 { | 2745 { |
2732 "glGetTranslatedShaderSourceANGLE", | 2746 "glGetTranslatedShaderSourceANGLE", |
2733 reinterpret_cast<GLES2FunctionPointer>( | 2747 reinterpret_cast<GLES2FunctionPointer>( |
2734 glGetTranslatedShaderSourceANGLE), | 2748 glGetTranslatedShaderSourceANGLE), |
2735 }, | 2749 }, |
2736 { | 2750 { |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3018 "glSwapBuffersWithDamageCHROMIUM", | 3032 "glSwapBuffersWithDamageCHROMIUM", |
3019 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM), | 3033 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM), |
3020 }, | 3034 }, |
3021 { | 3035 { |
3022 NULL, NULL, | 3036 NULL, NULL, |
3023 }, | 3037 }, |
3024 }; | 3038 }; |
3025 | 3039 |
3026 } // namespace gles2 | 3040 } // namespace gles2 |
3027 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3041 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |