| 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 uint32_t data_shm_id, | 236 uint32_t data_shm_id, |
| 237 uint32_t data_shm_offset) { | 237 uint32_t data_shm_offset) { |
| 238 gles2::cmds::CompressedTexSubImage2D* c = | 238 gles2::cmds::CompressedTexSubImage2D* c = |
| 239 GetCmdSpace<gles2::cmds::CompressedTexSubImage2D>(); | 239 GetCmdSpace<gles2::cmds::CompressedTexSubImage2D>(); |
| 240 if (c) { | 240 if (c) { |
| 241 c->Init(target, level, xoffset, yoffset, width, height, format, imageSize, | 241 c->Init(target, level, xoffset, yoffset, width, height, format, imageSize, |
| 242 data_shm_id, data_shm_offset); | 242 data_shm_id, data_shm_offset); |
| 243 } | 243 } |
| 244 } | 244 } |
| 245 | 245 |
| 246 void CopyBufferSubData(GLenum readtarget, |
| 247 GLenum writetarget, |
| 248 GLintptr readoffset, |
| 249 GLintptr writeoffset, |
| 250 GLsizeiptr size) { |
| 251 gles2::cmds::CopyBufferSubData* c = |
| 252 GetCmdSpace<gles2::cmds::CopyBufferSubData>(); |
| 253 if (c) { |
| 254 c->Init(readtarget, writetarget, readoffset, writeoffset, size); |
| 255 } |
| 256 } |
| 257 |
| 246 void CopyTexImage2D(GLenum target, | 258 void CopyTexImage2D(GLenum target, |
| 247 GLint level, | 259 GLint level, |
| 248 GLenum internalformat, | 260 GLenum internalformat, |
| 249 GLint x, | 261 GLint x, |
| 250 GLint y, | 262 GLint y, |
| 251 GLsizei width, | 263 GLsizei width, |
| 252 GLsizei height) { | 264 GLsizei height) { |
| 253 gles2::cmds::CopyTexImage2D* c = GetCmdSpace<gles2::cmds::CopyTexImage2D>(); | 265 gles2::cmds::CopyTexImage2D* c = GetCmdSpace<gles2::cmds::CopyTexImage2D>(); |
| 254 if (c) { | 266 if (c) { |
| 255 c->Init(target, level, internalformat, x, y, width, height); | 267 c->Init(target, level, internalformat, x, y, width, height); |
| (...skipping 1664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1920 } | 1932 } |
| 1921 | 1933 |
| 1922 void BlendBarrierKHR() { | 1934 void BlendBarrierKHR() { |
| 1923 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); | 1935 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); |
| 1924 if (c) { | 1936 if (c) { |
| 1925 c->Init(); | 1937 c->Init(); |
| 1926 } | 1938 } |
| 1927 } | 1939 } |
| 1928 | 1940 |
| 1929 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 1941 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
| OLD | NEW |