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 2517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2528 void CompressedCopyTextureCHROMIUM(GLenum target, | 2528 void CompressedCopyTextureCHROMIUM(GLenum target, |
2529 GLenum source_id, | 2529 GLenum source_id, |
2530 GLenum dest_id) { | 2530 GLenum dest_id) { |
2531 gles2::cmds::CompressedCopyTextureCHROMIUM* c = | 2531 gles2::cmds::CompressedCopyTextureCHROMIUM* c = |
2532 GetCmdSpace<gles2::cmds::CompressedCopyTextureCHROMIUM>(); | 2532 GetCmdSpace<gles2::cmds::CompressedCopyTextureCHROMIUM>(); |
2533 if (c) { | 2533 if (c) { |
2534 c->Init(target, source_id, dest_id); | 2534 c->Init(target, source_id, dest_id); |
2535 } | 2535 } |
2536 } | 2536 } |
2537 | 2537 |
2538 void CompressedCopySubTextureCHROMIUM(GLenum target, | |
2539 GLenum source_id, | |
2540 GLenum dest_id, | |
2541 GLint xoffset, | |
2542 GLint yoffset, | |
2543 GLint x, | |
2544 GLint y, | |
2545 GLsizei width, | |
2546 GLsizei height) { | |
2547 gles2::cmds::CompressedCopySubTextureCHROMIUM* c = | |
2548 GetCmdSpace<gles2::cmds::CompressedCopySubTextureCHROMIUM>(); | |
2549 if (c) { | |
2550 c->Init(target, source_id, dest_id, xoffset, yoffset, x, y, width, height); | |
2551 } | |
2552 } | |
2553 | |
2554 void DrawArraysInstancedANGLE(GLenum mode, | 2538 void DrawArraysInstancedANGLE(GLenum mode, |
2555 GLint first, | 2539 GLint first, |
2556 GLsizei count, | 2540 GLsizei count, |
2557 GLsizei primcount) { | 2541 GLsizei primcount) { |
2558 gles2::cmds::DrawArraysInstancedANGLE* c = | 2542 gles2::cmds::DrawArraysInstancedANGLE* c = |
2559 GetCmdSpace<gles2::cmds::DrawArraysInstancedANGLE>(); | 2543 GetCmdSpace<gles2::cmds::DrawArraysInstancedANGLE>(); |
2560 if (c) { | 2544 if (c) { |
2561 c->Init(mode, first, count, primcount); | 2545 c->Init(mode, first, count, primcount); |
2562 } | 2546 } |
2563 } | 2547 } |
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3207 uint32_t index_shm_id, | 3191 uint32_t index_shm_id, |
3208 uint32_t index_shm_offset) { | 3192 uint32_t index_shm_offset) { |
3209 gles2::cmds::GetFragDataIndexEXT* c = | 3193 gles2::cmds::GetFragDataIndexEXT* c = |
3210 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); | 3194 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); |
3211 if (c) { | 3195 if (c) { |
3212 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); | 3196 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); |
3213 } | 3197 } |
3214 } | 3198 } |
3215 | 3199 |
3216 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 3200 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
OLD | NEW |