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 1390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1401 uint32_t pixels_shm_id, | 1401 uint32_t pixels_shm_id, |
1402 uint32_t pixels_shm_offset, | 1402 uint32_t pixels_shm_offset, |
1403 GLboolean internal) { | 1403 GLboolean internal) { |
1404 gles2::cmds::TexSubImage3D* c = GetCmdSpace<gles2::cmds::TexSubImage3D>(); | 1404 gles2::cmds::TexSubImage3D* c = GetCmdSpace<gles2::cmds::TexSubImage3D>(); |
1405 if (c) { | 1405 if (c) { |
1406 c->Init(target, level, xoffset, yoffset, zoffset, width, height, depth, | 1406 c->Init(target, level, xoffset, yoffset, zoffset, width, height, depth, |
1407 format, type, pixels_shm_id, pixels_shm_offset, internal); | 1407 format, type, pixels_shm_id, pixels_shm_offset, internal); |
1408 } | 1408 } |
1409 } | 1409 } |
1410 | 1410 |
| 1411 void TransformFeedbackVaryingsBucket(GLuint program, |
| 1412 uint32_t varyings_bucket_id, |
| 1413 GLenum buffermode) { |
| 1414 gles2::cmds::TransformFeedbackVaryingsBucket* c = |
| 1415 GetCmdSpace<gles2::cmds::TransformFeedbackVaryingsBucket>(); |
| 1416 if (c) { |
| 1417 c->Init(program, varyings_bucket_id, buffermode); |
| 1418 } |
| 1419 } |
| 1420 |
1411 void Uniform1f(GLint location, GLfloat x) { | 1421 void Uniform1f(GLint location, GLfloat x) { |
1412 gles2::cmds::Uniform1f* c = GetCmdSpace<gles2::cmds::Uniform1f>(); | 1422 gles2::cmds::Uniform1f* c = GetCmdSpace<gles2::cmds::Uniform1f>(); |
1413 if (c) { | 1423 if (c) { |
1414 c->Init(location, x); | 1424 c->Init(location, x); |
1415 } | 1425 } |
1416 } | 1426 } |
1417 | 1427 |
1418 void Uniform1fvImmediate(GLint location, GLsizei count, const GLfloat* v) { | 1428 void Uniform1fvImmediate(GLint location, GLsizei count, const GLfloat* v) { |
1419 const uint32_t size = gles2::cmds::Uniform1fvImmediate::ComputeSize(count); | 1429 const uint32_t size = gles2::cmds::Uniform1fvImmediate::ComputeSize(count); |
1420 gles2::cmds::Uniform1fvImmediate* c = | 1430 gles2::cmds::Uniform1fvImmediate* c = |
(...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2477 } | 2487 } |
2478 | 2488 |
2479 void BlendBarrierKHR() { | 2489 void BlendBarrierKHR() { |
2480 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); | 2490 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); |
2481 if (c) { | 2491 if (c) { |
2482 c->Init(); | 2492 c->Init(); |
2483 } | 2493 } |
2484 } | 2494 } |
2485 | 2495 |
2486 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 2496 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
OLD | NEW |