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 1654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1665 | 1665 |
1666 void Uniform4uivImmediate(GLint location, GLsizei count, const GLuint* v) { | 1666 void Uniform4uivImmediate(GLint location, GLsizei count, const GLuint* v) { |
1667 const uint32_t size = gles2::cmds::Uniform4uivImmediate::ComputeSize(count); | 1667 const uint32_t size = gles2::cmds::Uniform4uivImmediate::ComputeSize(count); |
1668 gles2::cmds::Uniform4uivImmediate* c = | 1668 gles2::cmds::Uniform4uivImmediate* c = |
1669 GetImmediateCmdSpaceTotalSize<gles2::cmds::Uniform4uivImmediate>(size); | 1669 GetImmediateCmdSpaceTotalSize<gles2::cmds::Uniform4uivImmediate>(size); |
1670 if (c) { | 1670 if (c) { |
1671 c->Init(location, count, v); | 1671 c->Init(location, count, v); |
1672 } | 1672 } |
1673 } | 1673 } |
1674 | 1674 |
| 1675 void UniformBlockBinding(GLuint program, GLuint index, GLuint binding) { |
| 1676 gles2::cmds::UniformBlockBinding* c = |
| 1677 GetCmdSpace<gles2::cmds::UniformBlockBinding>(); |
| 1678 if (c) { |
| 1679 c->Init(program, index, binding); |
| 1680 } |
| 1681 } |
| 1682 |
1675 void UniformMatrix2fvImmediate(GLint location, | 1683 void UniformMatrix2fvImmediate(GLint location, |
1676 GLsizei count, | 1684 GLsizei count, |
1677 const GLfloat* value) { | 1685 const GLfloat* value) { |
1678 const uint32_t size = | 1686 const uint32_t size = |
1679 gles2::cmds::UniformMatrix2fvImmediate::ComputeSize(count); | 1687 gles2::cmds::UniformMatrix2fvImmediate::ComputeSize(count); |
1680 gles2::cmds::UniformMatrix2fvImmediate* c = | 1688 gles2::cmds::UniformMatrix2fvImmediate* c = |
1681 GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix2fvImmediate>( | 1689 GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix2fvImmediate>( |
1682 size); | 1690 size); |
1683 if (c) { | 1691 if (c) { |
1684 c->Init(location, count, value); | 1692 c->Init(location, count, value); |
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2557 } | 2565 } |
2558 | 2566 |
2559 void BlendBarrierKHR() { | 2567 void BlendBarrierKHR() { |
2560 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); | 2568 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); |
2561 if (c) { | 2569 if (c) { |
2562 c->Init(); | 2570 c->Init(); |
2563 } | 2571 } |
2564 } | 2572 } |
2565 | 2573 |
2566 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 2574 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
OLD | NEW |