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 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
662 gles2::cmds::FramebufferRenderbuffer* c = | 662 gles2::cmds::FramebufferRenderbuffer* c = |
663 GetCmdSpace<gles2::cmds::FramebufferRenderbuffer>(); | 663 GetCmdSpace<gles2::cmds::FramebufferRenderbuffer>(); |
664 if (c) { | 664 if (c) { |
665 c->Init(target, attachment, renderbuffertarget, renderbuffer); | 665 c->Init(target, attachment, renderbuffertarget, renderbuffer); |
666 } | 666 } |
667 } | 667 } |
668 | 668 |
669 void FramebufferTexture2D(GLenum target, | 669 void FramebufferTexture2D(GLenum target, |
670 GLenum attachment, | 670 GLenum attachment, |
671 GLenum textarget, | 671 GLenum textarget, |
672 GLuint texture) { | 672 GLuint texture, |
| 673 GLint level) { |
673 gles2::cmds::FramebufferTexture2D* c = | 674 gles2::cmds::FramebufferTexture2D* c = |
674 GetCmdSpace<gles2::cmds::FramebufferTexture2D>(); | 675 GetCmdSpace<gles2::cmds::FramebufferTexture2D>(); |
675 if (c) { | 676 if (c) { |
676 c->Init(target, attachment, textarget, texture); | 677 c->Init(target, attachment, textarget, texture, level); |
677 } | 678 } |
678 } | 679 } |
679 | 680 |
680 void FramebufferTextureLayer(GLenum target, | 681 void FramebufferTextureLayer(GLenum target, |
681 GLenum attachment, | 682 GLenum attachment, |
682 GLuint texture, | 683 GLuint texture, |
683 GLint level, | 684 GLint level, |
684 GLint layer) { | 685 GLint layer) { |
685 gles2::cmds::FramebufferTextureLayer* c = | 686 gles2::cmds::FramebufferTextureLayer* c = |
686 GetCmdSpace<gles2::cmds::FramebufferTextureLayer>(); | 687 GetCmdSpace<gles2::cmds::FramebufferTextureLayer>(); |
(...skipping 1496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2183 GetCmdSpace<gles2::cmds::RenderbufferStorageMultisampleEXT>(); | 2184 GetCmdSpace<gles2::cmds::RenderbufferStorageMultisampleEXT>(); |
2184 if (c) { | 2185 if (c) { |
2185 c->Init(target, samples, internalformat, width, height); | 2186 c->Init(target, samples, internalformat, width, height); |
2186 } | 2187 } |
2187 } | 2188 } |
2188 | 2189 |
2189 void FramebufferTexture2DMultisampleEXT(GLenum target, | 2190 void FramebufferTexture2DMultisampleEXT(GLenum target, |
2190 GLenum attachment, | 2191 GLenum attachment, |
2191 GLenum textarget, | 2192 GLenum textarget, |
2192 GLuint texture, | 2193 GLuint texture, |
| 2194 GLint level, |
2193 GLsizei samples) { | 2195 GLsizei samples) { |
2194 gles2::cmds::FramebufferTexture2DMultisampleEXT* c = | 2196 gles2::cmds::FramebufferTexture2DMultisampleEXT* c = |
2195 GetCmdSpace<gles2::cmds::FramebufferTexture2DMultisampleEXT>(); | 2197 GetCmdSpace<gles2::cmds::FramebufferTexture2DMultisampleEXT>(); |
2196 if (c) { | 2198 if (c) { |
2197 c->Init(target, attachment, textarget, texture, samples); | 2199 c->Init(target, attachment, textarget, texture, level, samples); |
2198 } | 2200 } |
2199 } | 2201 } |
2200 | 2202 |
2201 void TexStorage2DEXT(GLenum target, | 2203 void TexStorage2DEXT(GLenum target, |
2202 GLsizei levels, | 2204 GLsizei levels, |
2203 GLenum internalFormat, | 2205 GLenum internalFormat, |
2204 GLsizei width, | 2206 GLsizei width, |
2205 GLsizei height) { | 2207 GLsizei height) { |
2206 gles2::cmds::TexStorage2DEXT* c = GetCmdSpace<gles2::cmds::TexStorage2DEXT>(); | 2208 gles2::cmds::TexStorage2DEXT* c = GetCmdSpace<gles2::cmds::TexStorage2DEXT>(); |
2207 if (c) { | 2209 if (c) { |
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2972 } | 2974 } |
2973 | 2975 |
2974 void BlendBarrierKHR() { | 2976 void BlendBarrierKHR() { |
2975 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); | 2977 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); |
2976 if (c) { | 2978 if (c) { |
2977 c->Init(); | 2979 c->Init(); |
2978 } | 2980 } |
2979 } | 2981 } |
2980 | 2982 |
2981 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 2983 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
OLD | NEW |