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 1052 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1063 | 1063 |
1064 void TexParameterivImmediate(GLenum target, GLenum pname, const GLint* params) { | 1064 void TexParameterivImmediate(GLenum target, GLenum pname, const GLint* params) { |
1065 const uint32_t size = gles2::cmds::TexParameterivImmediate::ComputeSize(); | 1065 const uint32_t size = gles2::cmds::TexParameterivImmediate::ComputeSize(); |
1066 gles2::cmds::TexParameterivImmediate* c = | 1066 gles2::cmds::TexParameterivImmediate* c = |
1067 GetImmediateCmdSpaceTotalSize<gles2::cmds::TexParameterivImmediate>(size); | 1067 GetImmediateCmdSpaceTotalSize<gles2::cmds::TexParameterivImmediate>(size); |
1068 if (c) { | 1068 if (c) { |
1069 c->Init(target, pname, params); | 1069 c->Init(target, pname, params); |
1070 } | 1070 } |
1071 } | 1071 } |
1072 | 1072 |
| 1073 void TexStorage3D(GLenum target, |
| 1074 GLsizei levels, |
| 1075 GLenum internalFormat, |
| 1076 GLsizei width, |
| 1077 GLsizei height, |
| 1078 GLsizei depth) { |
| 1079 gles2::cmds::TexStorage3D* c = GetCmdSpace<gles2::cmds::TexStorage3D>(); |
| 1080 if (c) { |
| 1081 c->Init(target, levels, internalFormat, width, height, depth); |
| 1082 } |
| 1083 } |
| 1084 |
1073 void TexSubImage2D(GLenum target, | 1085 void TexSubImage2D(GLenum target, |
1074 GLint level, | 1086 GLint level, |
1075 GLint xoffset, | 1087 GLint xoffset, |
1076 GLint yoffset, | 1088 GLint yoffset, |
1077 GLsizei width, | 1089 GLsizei width, |
1078 GLsizei height, | 1090 GLsizei height, |
1079 GLenum format, | 1091 GLenum format, |
1080 GLenum type, | 1092 GLenum type, |
1081 uint32_t pixels_shm_id, | 1093 uint32_t pixels_shm_id, |
1082 uint32_t pixels_shm_offset, | 1094 uint32_t pixels_shm_offset, |
(...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2134 } | 2146 } |
2135 | 2147 |
2136 void BlendBarrierKHR() { | 2148 void BlendBarrierKHR() { |
2137 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); | 2149 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); |
2138 if (c) { | 2150 if (c) { |
2139 c->Init(); | 2151 c->Init(); |
2140 } | 2152 } |
2141 } | 2153 } |
2142 | 2154 |
2143 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 2155 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
OLD | NEW |