| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 GLint level, | 174 GLint level, |
| 175 GLint xoffset, | 175 GLint xoffset, |
| 176 GLint yoffset, | 176 GLint yoffset, |
| 177 GLint x, | 177 GLint x, |
| 178 GLint y, | 178 GLint y, |
| 179 GLsizei width, | 179 GLsizei width, |
| 180 GLsizei height) { | 180 GLsizei height) { |
| 181 gles2::GetGLContext()->CopyTexSubImage2D(target, level, xoffset, yoffset, x, | 181 gles2::GetGLContext()->CopyTexSubImage2D(target, level, xoffset, yoffset, x, |
| 182 y, width, height); | 182 y, width, height); |
| 183 } | 183 } |
| 184 void GLES2CopyTexSubImage3D(GLenum target, |
| 185 GLint level, |
| 186 GLint xoffset, |
| 187 GLint yoffset, |
| 188 GLint zoffset, |
| 189 GLint x, |
| 190 GLint y, |
| 191 GLsizei width, |
| 192 GLsizei height) { |
| 193 gles2::GetGLContext()->CopyTexSubImage3D(target, level, xoffset, yoffset, |
| 194 zoffset, x, y, width, height); |
| 195 } |
| 184 GLuint GLES2CreateProgram() { | 196 GLuint GLES2CreateProgram() { |
| 185 return gles2::GetGLContext()->CreateProgram(); | 197 return gles2::GetGLContext()->CreateProgram(); |
| 186 } | 198 } |
| 187 GLuint GLES2CreateShader(GLenum type) { | 199 GLuint GLES2CreateShader(GLenum type) { |
| 188 return gles2::GetGLContext()->CreateShader(type); | 200 return gles2::GetGLContext()->CreateShader(type); |
| 189 } | 201 } |
| 190 void GLES2CullFace(GLenum mode) { | 202 void GLES2CullFace(GLenum mode) { |
| 191 gles2::GetGLContext()->CullFace(mode); | 203 gles2::GetGLContext()->CullFace(mode); |
| 192 } | 204 } |
| 193 void GLES2DeleteBuffers(GLsizei n, const GLuint* buffers) { | 205 void GLES2DeleteBuffers(GLsizei n, const GLuint* buffers) { |
| (...skipping 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1357 }, | 1369 }, |
| 1358 { | 1370 { |
| 1359 "glCopyTexImage2D", | 1371 "glCopyTexImage2D", |
| 1360 reinterpret_cast<GLES2FunctionPointer>(glCopyTexImage2D), | 1372 reinterpret_cast<GLES2FunctionPointer>(glCopyTexImage2D), |
| 1361 }, | 1373 }, |
| 1362 { | 1374 { |
| 1363 "glCopyTexSubImage2D", | 1375 "glCopyTexSubImage2D", |
| 1364 reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage2D), | 1376 reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage2D), |
| 1365 }, | 1377 }, |
| 1366 { | 1378 { |
| 1379 "glCopyTexSubImage3D", |
| 1380 reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage3D), |
| 1381 }, |
| 1382 { |
| 1367 "glCreateProgram", | 1383 "glCreateProgram", |
| 1368 reinterpret_cast<GLES2FunctionPointer>(glCreateProgram), | 1384 reinterpret_cast<GLES2FunctionPointer>(glCreateProgram), |
| 1369 }, | 1385 }, |
| 1370 { | 1386 { |
| 1371 "glCreateShader", | 1387 "glCreateShader", |
| 1372 reinterpret_cast<GLES2FunctionPointer>(glCreateShader), | 1388 reinterpret_cast<GLES2FunctionPointer>(glCreateShader), |
| 1373 }, | 1389 }, |
| 1374 { | 1390 { |
| 1375 "glCullFace", | 1391 "glCullFace", |
| 1376 reinterpret_cast<GLES2FunctionPointer>(glCullFace), | 1392 reinterpret_cast<GLES2FunctionPointer>(glCullFace), |
| (...skipping 961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2338 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2354 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
| 2339 }, | 2355 }, |
| 2340 { | 2356 { |
| 2341 NULL, | 2357 NULL, |
| 2342 NULL, | 2358 NULL, |
| 2343 }, | 2359 }, |
| 2344 }; | 2360 }; |
| 2345 | 2361 |
| 2346 } // namespace gles2 | 2362 } // namespace gles2 |
| 2347 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2363 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |