Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Side by Side Diff: gpu/command_buffer/client/gles2_cmd_helper_autogen.h

Issue 2639973002: Add target argument to Copy{Sub}TextureCHROMIUM entry point (Closed)
Patch Set: use dest_target instead of target Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 2488 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(GLenum source_id, 2507 void CopyTextureCHROMIUM(GLenum source_id,
2508 GLint source_level, 2508 GLint source_level,
2509 GLenum dest_target,
2509 GLenum dest_id, 2510 GLenum dest_id,
2510 GLint dest_level, 2511 GLint dest_level,
2511 GLint internalformat, 2512 GLint internalformat,
2512 GLenum dest_type, 2513 GLenum dest_type,
2513 GLboolean unpack_flip_y, 2514 GLboolean unpack_flip_y,
2514 GLboolean unpack_premultiply_alpha, 2515 GLboolean unpack_premultiply_alpha,
2515 GLboolean unpack_unmultiply_alpha) { 2516 GLboolean unpack_unmultiply_alpha) {
2516 gles2::cmds::CopyTextureCHROMIUM* c = 2517 gles2::cmds::CopyTextureCHROMIUM* c =
2517 GetCmdSpace<gles2::cmds::CopyTextureCHROMIUM>(); 2518 GetCmdSpace<gles2::cmds::CopyTextureCHROMIUM>();
2518 if (c) { 2519 if (c) {
2519 c->Init(source_id, source_level, dest_id, dest_level, internalformat, 2520 c->Init(source_id, source_level, dest_target, dest_id, dest_level,
2520 dest_type, unpack_flip_y, unpack_premultiply_alpha, 2521 internalformat, dest_type, unpack_flip_y, unpack_premultiply_alpha,
2521 unpack_unmultiply_alpha); 2522 unpack_unmultiply_alpha);
2522 } 2523 }
2523 } 2524 }
2524 2525
2525 void CopySubTextureCHROMIUM(GLenum source_id, 2526 void CopySubTextureCHROMIUM(GLenum source_id,
2526 GLint source_level, 2527 GLint source_level,
2528 GLenum dest_target,
2527 GLenum dest_id, 2529 GLenum dest_id,
2528 GLint dest_level, 2530 GLint dest_level,
2529 GLint xoffset, 2531 GLint xoffset,
2530 GLint yoffset, 2532 GLint yoffset,
2531 GLint x, 2533 GLint x,
2532 GLint y, 2534 GLint y,
2533 GLsizei width, 2535 GLsizei width,
2534 GLsizei height, 2536 GLsizei height,
2535 GLboolean unpack_flip_y, 2537 GLboolean unpack_flip_y,
2536 GLboolean unpack_premultiply_alpha, 2538 GLboolean unpack_premultiply_alpha,
2537 GLboolean unpack_unmultiply_alpha) { 2539 GLboolean unpack_unmultiply_alpha) {
2538 gles2::cmds::CopySubTextureCHROMIUM* c = 2540 gles2::cmds::CopySubTextureCHROMIUM* c =
2539 GetCmdSpace<gles2::cmds::CopySubTextureCHROMIUM>(); 2541 GetCmdSpace<gles2::cmds::CopySubTextureCHROMIUM>();
2540 if (c) { 2542 if (c) {
2541 c->Init(source_id, source_level, dest_id, dest_level, xoffset, yoffset, x, 2543 c->Init(source_id, source_level, dest_target, dest_id, dest_level, xoffset,
2542 y, width, height, unpack_flip_y, unpack_premultiply_alpha, 2544 yoffset, x, y, width, height, unpack_flip_y,
2543 unpack_unmultiply_alpha); 2545 unpack_premultiply_alpha, unpack_unmultiply_alpha);
2544 } 2546 }
2545 } 2547 }
2546 2548
2547 void CompressedCopyTextureCHROMIUM(GLenum source_id, GLenum dest_id) { 2549 void CompressedCopyTextureCHROMIUM(GLenum source_id, GLenum dest_id) {
2548 gles2::cmds::CompressedCopyTextureCHROMIUM* c = 2550 gles2::cmds::CompressedCopyTextureCHROMIUM* c =
2549 GetCmdSpace<gles2::cmds::CompressedCopyTextureCHROMIUM>(); 2551 GetCmdSpace<gles2::cmds::CompressedCopyTextureCHROMIUM>();
2550 if (c) { 2552 if (c) {
2551 c->Init(source_id, dest_id); 2553 c->Init(source_id, dest_id);
2552 } 2554 }
2553 } 2555 }
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
3188 GLint width, 3190 GLint width,
3189 GLint height) { 3191 GLint height) {
3190 gles2::cmds::SwapBuffersWithDamageCHROMIUM* c = 3192 gles2::cmds::SwapBuffersWithDamageCHROMIUM* c =
3191 GetCmdSpace<gles2::cmds::SwapBuffersWithDamageCHROMIUM>(); 3193 GetCmdSpace<gles2::cmds::SwapBuffersWithDamageCHROMIUM>();
3192 if (c) { 3194 if (c) {
3193 c->Init(x, y, width, height); 3195 c->Init(x, y, width, height);
3194 } 3196 }
3195 } 3197 }
3196 3198
3197 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 3199 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698