| 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 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1113 } | 1113 } |
| 1114 void GLES2GetUniformsES3CHROMIUM(GLuint program, | 1114 void GLES2GetUniformsES3CHROMIUM(GLuint program, |
| 1115 GLsizei bufsize, | 1115 GLsizei bufsize, |
| 1116 GLsizei* size, | 1116 GLsizei* size, |
| 1117 void* info) { | 1117 void* info) { |
| 1118 gles2::GetGLContext()->GetUniformsES3CHROMIUM(program, bufsize, size, info); | 1118 gles2::GetGLContext()->GetUniformsES3CHROMIUM(program, bufsize, size, info); |
| 1119 } | 1119 } |
| 1120 GLuint GLES2CreateStreamTextureCHROMIUM(GLuint texture) { | 1120 GLuint GLES2CreateStreamTextureCHROMIUM(GLuint texture) { |
| 1121 return gles2::GetGLContext()->CreateStreamTextureCHROMIUM(texture); | 1121 return gles2::GetGLContext()->CreateStreamTextureCHROMIUM(texture); |
| 1122 } | 1122 } |
| 1123 GLuint GLES2CreateImageCHROMIUM(ClientBuffer buffer, | 1123 GLuint GLES2CreateImageCHROMIUM(ClientBuffer* buffers, |
| 1124 GLsizei width, | 1124 GLsizei width, |
| 1125 GLsizei height, | 1125 GLsizei height, |
| 1126 GLenum internalformat) { | 1126 GLenum internalformat) { |
| 1127 return gles2::GetGLContext()->CreateImageCHROMIUM(buffer, width, height, | 1127 return gles2::GetGLContext()->CreateImageCHROMIUM(buffers, width, height, |
| 1128 internalformat); | 1128 internalformat); |
| 1129 } | 1129 } |
| 1130 void GLES2DestroyImageCHROMIUM(GLuint image_id) { | 1130 void GLES2DestroyImageCHROMIUM(GLuint image_id) { |
| 1131 gles2::GetGLContext()->DestroyImageCHROMIUM(image_id); | 1131 gles2::GetGLContext()->DestroyImageCHROMIUM(image_id); |
| 1132 } | 1132 } |
| 1133 GLuint GLES2CreateGpuMemoryBufferImageCHROMIUM(GLsizei width, | 1133 GLuint GLES2CreateGpuMemoryBufferImageCHROMIUM(GLsizei width, |
| 1134 GLsizei height, | 1134 GLsizei height, |
| 1135 GLenum internalformat, | 1135 GLenum internalformat, |
| 1136 GLenum usage) { | 1136 GLenum usage) { |
| 1137 return gles2::GetGLContext()->CreateGpuMemoryBufferImageCHROMIUM( | 1137 return gles2::GetGLContext()->CreateGpuMemoryBufferImageCHROMIUM( |
| (...skipping 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2501 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2501 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
| 2502 }, | 2502 }, |
| 2503 { | 2503 { |
| 2504 NULL, | 2504 NULL, |
| 2505 NULL, | 2505 NULL, |
| 2506 }, | 2506 }, |
| 2507 }; | 2507 }; |
| 2508 | 2508 |
| 2509 } // namespace gles2 | 2509 } // namespace gles2 |
| 2510 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2510 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |