| 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(GLenum target, GLuint bucket_id) { |
| 1729 gles2::cmds::SubscribeUniformCHROMIUM* c = |
| 1730 GetCmdSpace<gles2::cmds::SubscribeUniformCHROMIUM>(); |
| 1731 if (c) { |
| 1732 c->Init(target, bucket_id); |
| 1733 } |
| 1734 } |
| 1735 |
| 1728 void BindTexImage2DCHROMIUM(GLenum target, GLint imageId) { | 1736 void BindTexImage2DCHROMIUM(GLenum target, GLint imageId) { |
| 1729 gles2::cmds::BindTexImage2DCHROMIUM* c = | 1737 gles2::cmds::BindTexImage2DCHROMIUM* c = |
| 1730 GetCmdSpace<gles2::cmds::BindTexImage2DCHROMIUM>(); | 1738 GetCmdSpace<gles2::cmds::BindTexImage2DCHROMIUM>(); |
| 1731 if (c) { | 1739 if (c) { |
| 1732 c->Init(target, imageId); | 1740 c->Init(target, imageId); |
| 1733 } | 1741 } |
| 1734 } | 1742 } |
| 1735 | 1743 |
| 1736 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { | 1744 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { |
| 1737 gles2::cmds::ReleaseTexImage2DCHROMIUM* c = | 1745 gles2::cmds::ReleaseTexImage2DCHROMIUM* c = |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1923 | 1931 |
| 1924 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { | 1932 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { |
| 1925 gles2::cmds::MatrixLoadIdentityCHROMIUM* c = | 1933 gles2::cmds::MatrixLoadIdentityCHROMIUM* c = |
| 1926 GetCmdSpace<gles2::cmds::MatrixLoadIdentityCHROMIUM>(); | 1934 GetCmdSpace<gles2::cmds::MatrixLoadIdentityCHROMIUM>(); |
| 1927 if (c) { | 1935 if (c) { |
| 1928 c->Init(matrixMode); | 1936 c->Init(matrixMode); |
| 1929 } | 1937 } |
| 1930 } | 1938 } |
| 1931 | 1939 |
| 1932 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 1940 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
| OLD | NEW |