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 2486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2497 } | 2497 } |
2498 | 2498 |
2499 void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height) { | 2499 void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height) { |
2500 gles2::cmds::PostSubBufferCHROMIUM* c = | 2500 gles2::cmds::PostSubBufferCHROMIUM* c = |
2501 GetCmdSpace<gles2::cmds::PostSubBufferCHROMIUM>(); | 2501 GetCmdSpace<gles2::cmds::PostSubBufferCHROMIUM>(); |
2502 if (c) { | 2502 if (c) { |
2503 c->Init(x, y, width, height); | 2503 c->Init(x, y, width, height); |
2504 } | 2504 } |
2505 } | 2505 } |
2506 | 2506 |
2507 void CopyTextureCHROMIUM(GLuint source_id, | 2507 void CopyTextureCHROMIUM(GLenum source_id, |
2508 GLint source_level, | 2508 GLint source_level, |
2509 GLenum dest_target, | 2509 GLenum dest_target, |
2510 GLuint dest_id, | 2510 GLenum dest_id, |
2511 GLint dest_level, | 2511 GLint dest_level, |
2512 GLint internalformat, | 2512 GLint internalformat, |
2513 GLenum dest_type, | 2513 GLenum dest_type, |
2514 GLboolean unpack_flip_y, | 2514 GLboolean unpack_flip_y, |
2515 GLboolean unpack_premultiply_alpha, | 2515 GLboolean unpack_premultiply_alpha, |
2516 GLboolean unpack_unmultiply_alpha) { | 2516 GLboolean unpack_unmultiply_alpha) { |
2517 gles2::cmds::CopyTextureCHROMIUM* c = | 2517 gles2::cmds::CopyTextureCHROMIUM* c = |
2518 GetCmdSpace<gles2::cmds::CopyTextureCHROMIUM>(); | 2518 GetCmdSpace<gles2::cmds::CopyTextureCHROMIUM>(); |
2519 if (c) { | 2519 if (c) { |
2520 c->Init(source_id, source_level, dest_target, dest_id, dest_level, | 2520 c->Init(source_id, source_level, dest_target, dest_id, dest_level, |
2521 internalformat, dest_type, unpack_flip_y, unpack_premultiply_alpha, | 2521 internalformat, dest_type, unpack_flip_y, unpack_premultiply_alpha, |
2522 unpack_unmultiply_alpha); | 2522 unpack_unmultiply_alpha); |
2523 } | 2523 } |
2524 } | 2524 } |
2525 | 2525 |
2526 void CopySubTextureCHROMIUM(GLuint source_id, | 2526 void CopySubTextureCHROMIUM(GLenum source_id, |
2527 GLint source_level, | 2527 GLint source_level, |
2528 GLenum dest_target, | 2528 GLenum dest_target, |
2529 GLuint dest_id, | 2529 GLenum dest_id, |
2530 GLint dest_level, | 2530 GLint dest_level, |
2531 GLint xoffset, | 2531 GLint xoffset, |
2532 GLint yoffset, | 2532 GLint yoffset, |
2533 GLint x, | 2533 GLint x, |
2534 GLint y, | 2534 GLint y, |
2535 GLsizei width, | 2535 GLsizei width, |
2536 GLsizei height, | 2536 GLsizei height, |
2537 GLboolean unpack_flip_y, | 2537 GLboolean unpack_flip_y, |
2538 GLboolean unpack_premultiply_alpha, | 2538 GLboolean unpack_premultiply_alpha, |
2539 GLboolean unpack_unmultiply_alpha) { | 2539 GLboolean unpack_unmultiply_alpha) { |
2540 gles2::cmds::CopySubTextureCHROMIUM* c = | 2540 gles2::cmds::CopySubTextureCHROMIUM* c = |
2541 GetCmdSpace<gles2::cmds::CopySubTextureCHROMIUM>(); | 2541 GetCmdSpace<gles2::cmds::CopySubTextureCHROMIUM>(); |
2542 if (c) { | 2542 if (c) { |
2543 c->Init(source_id, source_level, dest_target, dest_id, dest_level, xoffset, | 2543 c->Init(source_id, source_level, dest_target, dest_id, dest_level, xoffset, |
2544 yoffset, x, y, width, height, unpack_flip_y, | 2544 yoffset, x, y, width, height, unpack_flip_y, |
2545 unpack_premultiply_alpha, unpack_unmultiply_alpha); | 2545 unpack_premultiply_alpha, unpack_unmultiply_alpha); |
2546 } | 2546 } |
2547 } | 2547 } |
2548 | 2548 |
2549 void CompressedCopyTextureCHROMIUM(GLuint source_id, GLuint dest_id) { | 2549 void CompressedCopyTextureCHROMIUM(GLenum source_id, GLenum dest_id) { |
2550 gles2::cmds::CompressedCopyTextureCHROMIUM* c = | 2550 gles2::cmds::CompressedCopyTextureCHROMIUM* c = |
2551 GetCmdSpace<gles2::cmds::CompressedCopyTextureCHROMIUM>(); | 2551 GetCmdSpace<gles2::cmds::CompressedCopyTextureCHROMIUM>(); |
2552 if (c) { | 2552 if (c) { |
2553 c->Init(source_id, dest_id); | 2553 c->Init(source_id, dest_id); |
2554 } | 2554 } |
2555 } | 2555 } |
2556 | 2556 |
2557 void DrawArraysInstancedANGLE(GLenum mode, | 2557 void DrawArraysInstancedANGLE(GLenum mode, |
2558 GLint first, | 2558 GLint first, |
2559 GLsizei count, | 2559 GLsizei count, |
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3232 | 3232 |
3233 void SetEnableDCLayersCHROMIUM(GLboolean enabled) { | 3233 void SetEnableDCLayersCHROMIUM(GLboolean enabled) { |
3234 gles2::cmds::SetEnableDCLayersCHROMIUM* c = | 3234 gles2::cmds::SetEnableDCLayersCHROMIUM* c = |
3235 GetCmdSpace<gles2::cmds::SetEnableDCLayersCHROMIUM>(); | 3235 GetCmdSpace<gles2::cmds::SetEnableDCLayersCHROMIUM>(); |
3236 if (c) { | 3236 if (c) { |
3237 c->Init(enabled); | 3237 c->Init(enabled); |
3238 } | 3238 } |
3239 } | 3239 } |
3240 | 3240 |
3241 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 3241 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
OLD | NEW |