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 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1119 } | 1119 } |
1120 void GLES2GetUniformsES3CHROMIUM(GLuint program, | 1120 void GLES2GetUniformsES3CHROMIUM(GLuint program, |
1121 GLsizei bufsize, | 1121 GLsizei bufsize, |
1122 GLsizei* size, | 1122 GLsizei* size, |
1123 void* info) { | 1123 void* info) { |
1124 gles2::GetGLContext()->GetUniformsES3CHROMIUM(program, bufsize, size, info); | 1124 gles2::GetGLContext()->GetUniformsES3CHROMIUM(program, bufsize, size, info); |
1125 } | 1125 } |
1126 GLuint GLES2CreateStreamTextureCHROMIUM(GLuint texture) { | 1126 GLuint GLES2CreateStreamTextureCHROMIUM(GLuint texture) { |
1127 return gles2::GetGLContext()->CreateStreamTextureCHROMIUM(texture); | 1127 return gles2::GetGLContext()->CreateStreamTextureCHROMIUM(texture); |
1128 } | 1128 } |
1129 GLuint GLES2CreateImageCHROMIUM(ClientBuffer buffer, | 1129 GLuint GLES2CreateImageCHROMIUM(ClientBuffer* buffers, |
1130 GLsizei width, | 1130 GLsizei width, |
1131 GLsizei height, | 1131 GLsizei height, |
1132 GLenum internalformat) { | 1132 GLenum internalformat) { |
1133 return gles2::GetGLContext()->CreateImageCHROMIUM(buffer, width, height, | 1133 return gles2::GetGLContext()->CreateImageCHROMIUM(buffers, width, height, |
1134 internalformat); | 1134 internalformat); |
1135 } | 1135 } |
1136 void GLES2DestroyImageCHROMIUM(GLuint image_id) { | 1136 void GLES2DestroyImageCHROMIUM(GLuint image_id) { |
1137 gles2::GetGLContext()->DestroyImageCHROMIUM(image_id); | 1137 gles2::GetGLContext()->DestroyImageCHROMIUM(image_id); |
1138 } | 1138 } |
1139 GLuint GLES2CreateGpuMemoryBufferImageCHROMIUM(GLsizei width, | 1139 GLuint GLES2CreateGpuMemoryBufferImageCHROMIUM(GLsizei width, |
1140 GLsizei height, | 1140 GLsizei height, |
1141 GLenum internalformat, | 1141 GLenum internalformat, |
1142 GLenum usage) { | 1142 GLenum usage) { |
1143 return gles2::GetGLContext()->CreateGpuMemoryBufferImageCHROMIUM( | 1143 return gles2::GetGLContext()->CreateGpuMemoryBufferImageCHROMIUM( |
(...skipping 1378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2522 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2522 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
2523 }, | 2523 }, |
2524 { | 2524 { |
2525 NULL, | 2525 NULL, |
2526 NULL, | 2526 NULL, |
2527 }, | 2527 }, |
2528 }; | 2528 }; |
2529 | 2529 |
2530 } // namespace gles2 | 2530 } // namespace gles2 |
2531 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2531 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |