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

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

Issue 1143373004: gpu: Extend CopyTextureCHROMIUM with support for copying part of source texture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: keep TODO for now Created 5 years, 7 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 2459 matching lines...) Expand 10 before | Expand all | Expand 10 after
2470 GetCmdSpace<gles2::cmds::CopyTextureCHROMIUM>(); 2470 GetCmdSpace<gles2::cmds::CopyTextureCHROMIUM>();
2471 if (c) { 2471 if (c) {
2472 c->Init(target, source_id, dest_id, internalformat, dest_type); 2472 c->Init(target, source_id, dest_id, internalformat, dest_type);
2473 } 2473 }
2474 } 2474 }
2475 2475
2476 void CopySubTextureCHROMIUM(GLenum target, 2476 void CopySubTextureCHROMIUM(GLenum target,
2477 GLenum source_id, 2477 GLenum source_id,
2478 GLenum dest_id, 2478 GLenum dest_id,
2479 GLint xoffset, 2479 GLint xoffset,
2480 GLint yoffset) { 2480 GLint yoffset,
2481 GLint x,
2482 GLint y,
2483 GLsizei width,
2484 GLsizei height) {
2481 gles2::cmds::CopySubTextureCHROMIUM* c = 2485 gles2::cmds::CopySubTextureCHROMIUM* c =
2482 GetCmdSpace<gles2::cmds::CopySubTextureCHROMIUM>(); 2486 GetCmdSpace<gles2::cmds::CopySubTextureCHROMIUM>();
2483 if (c) { 2487 if (c) {
2484 c->Init(target, source_id, dest_id, xoffset, yoffset); 2488 c->Init(target, source_id, dest_id, xoffset, yoffset, x, y, width, height);
2485 } 2489 }
2486 } 2490 }
2487 2491
2488 void DrawArraysInstancedANGLE(GLenum mode, 2492 void DrawArraysInstancedANGLE(GLenum mode,
2489 GLint first, 2493 GLint first,
2490 GLsizei count, 2494 GLsizei count,
2491 GLsizei primcount) { 2495 GLsizei primcount) {
2492 gles2::cmds::DrawArraysInstancedANGLE* c = 2496 gles2::cmds::DrawArraysInstancedANGLE* c =
2493 GetCmdSpace<gles2::cmds::DrawArraysInstancedANGLE>(); 2497 GetCmdSpace<gles2::cmds::DrawArraysInstancedANGLE>();
2494 if (c) { 2498 if (c) {
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
2813 } 2817 }
2814 2818
2815 void BlendBarrierKHR() { 2819 void BlendBarrierKHR() {
2816 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); 2820 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>();
2817 if (c) { 2821 if (c) {
2818 c->Init(); 2822 c->Init();
2819 } 2823 }
2820 } 2824 }
2821 2825
2822 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2826 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698