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 1707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1718 void BindUniformLocationCHROMIUMBucket(GLuint program, | 1718 void BindUniformLocationCHROMIUMBucket(GLuint program, |
1719 GLint location, | 1719 GLint location, |
1720 uint32_t name_bucket_id) { | 1720 uint32_t name_bucket_id) { |
1721 gles2::cmds::BindUniformLocationCHROMIUMBucket* c = | 1721 gles2::cmds::BindUniformLocationCHROMIUMBucket* c = |
1722 GetCmdSpace<gles2::cmds::BindUniformLocationCHROMIUMBucket>(); | 1722 GetCmdSpace<gles2::cmds::BindUniformLocationCHROMIUMBucket>(); |
1723 if (c) { | 1723 if (c) { |
1724 c->Init(program, location, name_bucket_id); | 1724 c->Init(program, location, name_bucket_id); |
1725 } | 1725 } |
1726 } | 1726 } |
1727 | 1727 |
| 1728 void SubscribeUniformCHROMIUM(GLint location, GLenum target) { |
| 1729 gles2::cmds::SubscribeUniformCHROMIUM* c = |
| 1730 GetCmdSpace<gles2::cmds::SubscribeUniformCHROMIUM>(); |
| 1731 if (c) { |
| 1732 c->Init(location, target); |
| 1733 } |
| 1734 } |
| 1735 |
| 1736 void UnsubscribeUniformCHROMIUM(GLint location) { |
| 1737 gles2::cmds::UnsubscribeUniformCHROMIUM* c = |
| 1738 GetCmdSpace<gles2::cmds::UnsubscribeUniformCHROMIUM>(); |
| 1739 if (c) { |
| 1740 c->Init(location); |
| 1741 } |
| 1742 } |
| 1743 |
| 1744 void PopulateSubscribedUniformsCHROMIUM() { |
| 1745 gles2::cmds::PopulateSubscribedUniformsCHROMIUM* c = |
| 1746 GetCmdSpace<gles2::cmds::PopulateSubscribedUniformsCHROMIUM>(); |
| 1747 if (c) { |
| 1748 c->Init(); |
| 1749 } |
| 1750 } |
| 1751 |
1728 void BindTexImage2DCHROMIUM(GLenum target, GLint imageId) { | 1752 void BindTexImage2DCHROMIUM(GLenum target, GLint imageId) { |
1729 gles2::cmds::BindTexImage2DCHROMIUM* c = | 1753 gles2::cmds::BindTexImage2DCHROMIUM* c = |
1730 GetCmdSpace<gles2::cmds::BindTexImage2DCHROMIUM>(); | 1754 GetCmdSpace<gles2::cmds::BindTexImage2DCHROMIUM>(); |
1731 if (c) { | 1755 if (c) { |
1732 c->Init(target, imageId); | 1756 c->Init(target, imageId); |
1733 } | 1757 } |
1734 } | 1758 } |
1735 | 1759 |
1736 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { | 1760 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { |
1737 gles2::cmds::ReleaseTexImage2DCHROMIUM* c = | 1761 gles2::cmds::ReleaseTexImage2DCHROMIUM* c = |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1923 | 1947 |
1924 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { | 1948 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { |
1925 gles2::cmds::MatrixLoadIdentityCHROMIUM* c = | 1949 gles2::cmds::MatrixLoadIdentityCHROMIUM* c = |
1926 GetCmdSpace<gles2::cmds::MatrixLoadIdentityCHROMIUM>(); | 1950 GetCmdSpace<gles2::cmds::MatrixLoadIdentityCHROMIUM>(); |
1927 if (c) { | 1951 if (c) { |
1928 c->Init(matrixMode); | 1952 c->Init(matrixMode); |
1929 } | 1953 } |
1930 } | 1954 } |
1931 | 1955 |
1932 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 1956 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
OLD | NEW |