| 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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 GLint y, | 352 GLint y, |
| 353 GLsizei width, | 353 GLsizei width, |
| 354 GLsizei height) { | 354 GLsizei height) { |
| 355 gles2::cmds::CopyTexSubImage2D* c = | 355 gles2::cmds::CopyTexSubImage2D* c = |
| 356 GetCmdSpace<gles2::cmds::CopyTexSubImage2D>(); | 356 GetCmdSpace<gles2::cmds::CopyTexSubImage2D>(); |
| 357 if (c) { | 357 if (c) { |
| 358 c->Init(target, level, xoffset, yoffset, x, y, width, height); | 358 c->Init(target, level, xoffset, yoffset, x, y, width, height); |
| 359 } | 359 } |
| 360 } | 360 } |
| 361 | 361 |
| 362 void CopyTexSubImage3D(GLenum target, |
| 363 GLint level, |
| 364 GLint xoffset, |
| 365 GLint yoffset, |
| 366 GLint zoffset, |
| 367 GLint x, |
| 368 GLint y, |
| 369 GLsizei width, |
| 370 GLsizei height) { |
| 371 gles2::cmds::CopyTexSubImage3D* c = |
| 372 GetCmdSpace<gles2::cmds::CopyTexSubImage3D>(); |
| 373 if (c) { |
| 374 c->Init(target, level, xoffset, yoffset, zoffset, x, y, width, height); |
| 375 } |
| 376 } |
| 377 |
| 362 void CreateProgram(uint32_t client_id) { | 378 void CreateProgram(uint32_t client_id) { |
| 363 gles2::cmds::CreateProgram* c = GetCmdSpace<gles2::cmds::CreateProgram>(); | 379 gles2::cmds::CreateProgram* c = GetCmdSpace<gles2::cmds::CreateProgram>(); |
| 364 if (c) { | 380 if (c) { |
| 365 c->Init(client_id); | 381 c->Init(client_id); |
| 366 } | 382 } |
| 367 } | 383 } |
| 368 | 384 |
| 369 void CreateShader(GLenum type, uint32_t client_id) { | 385 void CreateShader(GLenum type, uint32_t client_id) { |
| 370 gles2::cmds::CreateShader* c = GetCmdSpace<gles2::cmds::CreateShader>(); | 386 gles2::cmds::CreateShader* c = GetCmdSpace<gles2::cmds::CreateShader>(); |
| 371 if (c) { | 387 if (c) { |
| (...skipping 2116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2488 } | 2504 } |
| 2489 | 2505 |
| 2490 void BlendBarrierKHR() { | 2506 void BlendBarrierKHR() { |
| 2491 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); | 2507 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); |
| 2492 if (c) { | 2508 if (c) { |
| 2493 c->Init(); | 2509 c->Init(); |
| 2494 } | 2510 } |
| 2495 } | 2511 } |
| 2496 | 2512 |
| 2497 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 2513 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
| OLD | NEW |