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 2478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2489 } | 2489 } |
2490 | 2490 |
2491 void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height) { | 2491 void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height) { |
2492 gles2::cmds::PostSubBufferCHROMIUM* c = | 2492 gles2::cmds::PostSubBufferCHROMIUM* c = |
2493 GetCmdSpace<gles2::cmds::PostSubBufferCHROMIUM>(); | 2493 GetCmdSpace<gles2::cmds::PostSubBufferCHROMIUM>(); |
2494 if (c) { | 2494 if (c) { |
2495 c->Init(x, y, width, height); | 2495 c->Init(x, y, width, height); |
2496 } | 2496 } |
2497 } | 2497 } |
2498 | 2498 |
2499 void TexImageIOSurface2DCHROMIUM(GLenum target, | |
2500 GLsizei width, | |
2501 GLsizei height, | |
2502 GLuint ioSurfaceId, | |
2503 GLuint plane) { | |
2504 gles2::cmds::TexImageIOSurface2DCHROMIUM* c = | |
2505 GetCmdSpace<gles2::cmds::TexImageIOSurface2DCHROMIUM>(); | |
2506 if (c) { | |
2507 c->Init(target, width, height, ioSurfaceId, plane); | |
2508 } | |
2509 } | |
2510 | |
2511 void CopyTextureCHROMIUM(GLenum source_id, | 2499 void CopyTextureCHROMIUM(GLenum source_id, |
2512 GLenum dest_id, | 2500 GLenum dest_id, |
2513 GLint internalformat, | 2501 GLint internalformat, |
2514 GLenum dest_type, | 2502 GLenum dest_type, |
2515 GLboolean unpack_flip_y, | 2503 GLboolean unpack_flip_y, |
2516 GLboolean unpack_premultiply_alpha, | 2504 GLboolean unpack_premultiply_alpha, |
2517 GLboolean unpack_unmultiply_alpha) { | 2505 GLboolean unpack_unmultiply_alpha) { |
2518 gles2::cmds::CopyTextureCHROMIUM* c = | 2506 gles2::cmds::CopyTextureCHROMIUM* c = |
2519 GetCmdSpace<gles2::cmds::CopyTextureCHROMIUM>(); | 2507 GetCmdSpace<gles2::cmds::CopyTextureCHROMIUM>(); |
2520 if (c) { | 2508 if (c) { |
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3147 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate* c = | 3135 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate* c = |
3148 GetImmediateCmdSpaceTotalSize< | 3136 GetImmediateCmdSpaceTotalSize< |
3149 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate>( | 3137 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate>( |
3150 size); | 3138 size); |
3151 if (c) { | 3139 if (c) { |
3152 c->Init(location, transpose, default_value); | 3140 c->Init(location, transpose, default_value); |
3153 } | 3141 } |
3154 } | 3142 } |
3155 | 3143 |
3156 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 3144 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
OLD | NEW |