| 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 1319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1330 char* source) { | 1330 char* source) { |
| 1331 gles2::GetGLContext()->GetTranslatedShaderSourceANGLE(shader, bufsize, length, | 1331 gles2::GetGLContext()->GetTranslatedShaderSourceANGLE(shader, bufsize, length, |
| 1332 source); | 1332 source); |
| 1333 } | 1333 } |
| 1334 void GL_APIENTRY GLES2PostSubBufferCHROMIUM(GLint x, | 1334 void GL_APIENTRY GLES2PostSubBufferCHROMIUM(GLint x, |
| 1335 GLint y, | 1335 GLint y, |
| 1336 GLint width, | 1336 GLint width, |
| 1337 GLint height) { | 1337 GLint height) { |
| 1338 gles2::GetGLContext()->PostSubBufferCHROMIUM(x, y, width, height); | 1338 gles2::GetGLContext()->PostSubBufferCHROMIUM(x, y, width, height); |
| 1339 } | 1339 } |
| 1340 void GL_APIENTRY GLES2TexImageIOSurface2DCHROMIUM(GLenum target, | |
| 1341 GLsizei width, | |
| 1342 GLsizei height, | |
| 1343 GLuint ioSurfaceId, | |
| 1344 GLuint plane) { | |
| 1345 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM(target, width, height, | |
| 1346 ioSurfaceId, plane); | |
| 1347 } | |
| 1348 void GL_APIENTRY GLES2CopyTextureCHROMIUM(GLenum source_id, | 1340 void GL_APIENTRY GLES2CopyTextureCHROMIUM(GLenum source_id, |
| 1349 GLenum dest_id, | 1341 GLenum dest_id, |
| 1350 GLint internalformat, | 1342 GLint internalformat, |
| 1351 GLenum dest_type, | 1343 GLenum dest_type, |
| 1352 GLboolean unpack_flip_y, | 1344 GLboolean unpack_flip_y, |
| 1353 GLboolean unpack_premultiply_alpha, | 1345 GLboolean unpack_premultiply_alpha, |
| 1354 GLboolean unpack_unmultiply_alpha) { | 1346 GLboolean unpack_unmultiply_alpha) { |
| 1355 gles2::GetGLContext()->CopyTextureCHROMIUM( | 1347 gles2::GetGLContext()->CopyTextureCHROMIUM( |
| 1356 source_id, dest_id, internalformat, dest_type, unpack_flip_y, | 1348 source_id, dest_id, internalformat, dest_type, unpack_flip_y, |
| 1357 unpack_premultiply_alpha, unpack_unmultiply_alpha); | 1349 unpack_premultiply_alpha, unpack_unmultiply_alpha); |
| (...skipping 1362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2720 { | 2712 { |
| 2721 "glGetTranslatedShaderSourceANGLE", | 2713 "glGetTranslatedShaderSourceANGLE", |
| 2722 reinterpret_cast<GLES2FunctionPointer>( | 2714 reinterpret_cast<GLES2FunctionPointer>( |
| 2723 glGetTranslatedShaderSourceANGLE), | 2715 glGetTranslatedShaderSourceANGLE), |
| 2724 }, | 2716 }, |
| 2725 { | 2717 { |
| 2726 "glPostSubBufferCHROMIUM", | 2718 "glPostSubBufferCHROMIUM", |
| 2727 reinterpret_cast<GLES2FunctionPointer>(glPostSubBufferCHROMIUM), | 2719 reinterpret_cast<GLES2FunctionPointer>(glPostSubBufferCHROMIUM), |
| 2728 }, | 2720 }, |
| 2729 { | 2721 { |
| 2730 "glTexImageIOSurface2DCHROMIUM", | |
| 2731 reinterpret_cast<GLES2FunctionPointer>(glTexImageIOSurface2DCHROMIUM), | |
| 2732 }, | |
| 2733 { | |
| 2734 "glCopyTextureCHROMIUM", | 2722 "glCopyTextureCHROMIUM", |
| 2735 reinterpret_cast<GLES2FunctionPointer>(glCopyTextureCHROMIUM), | 2723 reinterpret_cast<GLES2FunctionPointer>(glCopyTextureCHROMIUM), |
| 2736 }, | 2724 }, |
| 2737 { | 2725 { |
| 2738 "glCopySubTextureCHROMIUM", | 2726 "glCopySubTextureCHROMIUM", |
| 2739 reinterpret_cast<GLES2FunctionPointer>(glCopySubTextureCHROMIUM), | 2727 reinterpret_cast<GLES2FunctionPointer>(glCopySubTextureCHROMIUM), |
| 2740 }, | 2728 }, |
| 2741 { | 2729 { |
| 2742 "glCompressedCopyTextureCHROMIUM", | 2730 "glCompressedCopyTextureCHROMIUM", |
| 2743 reinterpret_cast<GLES2FunctionPointer>(glCompressedCopyTextureCHROMIUM), | 2731 reinterpret_cast<GLES2FunctionPointer>(glCompressedCopyTextureCHROMIUM), |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2993 reinterpret_cast<GLES2FunctionPointer>( | 2981 reinterpret_cast<GLES2FunctionPointer>( |
| 2994 glUniformMatrix4fvStreamTextureMatrixCHROMIUM), | 2982 glUniformMatrix4fvStreamTextureMatrixCHROMIUM), |
| 2995 }, | 2983 }, |
| 2996 { | 2984 { |
| 2997 NULL, NULL, | 2985 NULL, NULL, |
| 2998 }, | 2986 }, |
| 2999 }; | 2987 }; |
| 3000 | 2988 |
| 3001 } // namespace gles2 | 2989 } // namespace gles2 |
| 3002 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2990 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |