| 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 2473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2484 GLsizei height, | 2484 GLsizei height, |
| 2485 GLuint ioSurfaceId, | 2485 GLuint ioSurfaceId, |
| 2486 GLuint plane) { | 2486 GLuint plane) { |
| 2487 gles2::cmds::TexImageIOSurface2DCHROMIUM* c = | 2487 gles2::cmds::TexImageIOSurface2DCHROMIUM* c = |
| 2488 GetCmdSpace<gles2::cmds::TexImageIOSurface2DCHROMIUM>(); | 2488 GetCmdSpace<gles2::cmds::TexImageIOSurface2DCHROMIUM>(); |
| 2489 if (c) { | 2489 if (c) { |
| 2490 c->Init(target, width, height, ioSurfaceId, plane); | 2490 c->Init(target, width, height, ioSurfaceId, plane); |
| 2491 } | 2491 } |
| 2492 } | 2492 } |
| 2493 | 2493 |
| 2494 void CopyTextureCHROMIUM(GLenum target, | 2494 void CopyTextureCHROMIUM(GLenum source_id, |
| 2495 GLenum source_id, | |
| 2496 GLenum dest_id, | 2495 GLenum dest_id, |
| 2497 GLint internalformat, | 2496 GLint internalformat, |
| 2498 GLenum dest_type, | 2497 GLenum dest_type, |
| 2499 GLboolean unpack_flip_y, | 2498 GLboolean unpack_flip_y, |
| 2500 GLboolean unpack_premultiply_alpha, | 2499 GLboolean unpack_premultiply_alpha, |
| 2501 GLboolean unpack_unmultiply_alpha) { | 2500 GLboolean unpack_unmultiply_alpha) { |
| 2502 gles2::cmds::CopyTextureCHROMIUM* c = | 2501 gles2::cmds::CopyTextureCHROMIUM* c = |
| 2503 GetCmdSpace<gles2::cmds::CopyTextureCHROMIUM>(); | 2502 GetCmdSpace<gles2::cmds::CopyTextureCHROMIUM>(); |
| 2504 if (c) { | 2503 if (c) { |
| 2505 c->Init(target, source_id, dest_id, internalformat, dest_type, | 2504 c->Init(source_id, dest_id, internalformat, dest_type, unpack_flip_y, |
| 2506 unpack_flip_y, unpack_premultiply_alpha, unpack_unmultiply_alpha); | 2505 unpack_premultiply_alpha, unpack_unmultiply_alpha); |
| 2507 } | 2506 } |
| 2508 } | 2507 } |
| 2509 | 2508 |
| 2510 void CopySubTextureCHROMIUM(GLenum target, | 2509 void CopySubTextureCHROMIUM(GLenum source_id, |
| 2511 GLenum source_id, | |
| 2512 GLenum dest_id, | 2510 GLenum dest_id, |
| 2513 GLint xoffset, | 2511 GLint xoffset, |
| 2514 GLint yoffset, | 2512 GLint yoffset, |
| 2515 GLint x, | 2513 GLint x, |
| 2516 GLint y, | 2514 GLint y, |
| 2517 GLsizei width, | 2515 GLsizei width, |
| 2518 GLsizei height, | 2516 GLsizei height, |
| 2519 GLboolean unpack_flip_y, | 2517 GLboolean unpack_flip_y, |
| 2520 GLboolean unpack_premultiply_alpha, | 2518 GLboolean unpack_premultiply_alpha, |
| 2521 GLboolean unpack_unmultiply_alpha) { | 2519 GLboolean unpack_unmultiply_alpha) { |
| 2522 gles2::cmds::CopySubTextureCHROMIUM* c = | 2520 gles2::cmds::CopySubTextureCHROMIUM* c = |
| 2523 GetCmdSpace<gles2::cmds::CopySubTextureCHROMIUM>(); | 2521 GetCmdSpace<gles2::cmds::CopySubTextureCHROMIUM>(); |
| 2524 if (c) { | 2522 if (c) { |
| 2525 c->Init(target, source_id, dest_id, xoffset, yoffset, x, y, width, height, | 2523 c->Init(source_id, dest_id, xoffset, yoffset, x, y, width, height, |
| 2526 unpack_flip_y, unpack_premultiply_alpha, unpack_unmultiply_alpha); | 2524 unpack_flip_y, unpack_premultiply_alpha, unpack_unmultiply_alpha); |
| 2527 } | 2525 } |
| 2528 } | 2526 } |
| 2529 | 2527 |
| 2530 void CompressedCopyTextureCHROMIUM(GLenum target, | 2528 void CompressedCopyTextureCHROMIUM(GLenum target, |
| 2531 GLenum source_id, | 2529 GLenum source_id, |
| 2532 GLenum dest_id) { | 2530 GLenum dest_id) { |
| 2533 gles2::cmds::CompressedCopyTextureCHROMIUM* c = | 2531 gles2::cmds::CompressedCopyTextureCHROMIUM* c = |
| 2534 GetCmdSpace<gles2::cmds::CompressedCopyTextureCHROMIUM>(); | 2532 GetCmdSpace<gles2::cmds::CompressedCopyTextureCHROMIUM>(); |
| 2535 if (c) { | 2533 if (c) { |
| (...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3209 uint32_t index_shm_id, | 3207 uint32_t index_shm_id, |
| 3210 uint32_t index_shm_offset) { | 3208 uint32_t index_shm_offset) { |
| 3211 gles2::cmds::GetFragDataIndexEXT* c = | 3209 gles2::cmds::GetFragDataIndexEXT* c = |
| 3212 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); | 3210 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); |
| 3213 if (c) { | 3211 if (c) { |
| 3214 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); | 3212 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); |
| 3215 } | 3213 } |
| 3216 } | 3214 } |
| 3217 | 3215 |
| 3218 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 3216 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
| OLD | NEW |