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

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

Issue 972833004: Revert of gpu: introduce glCopySubTextureCHROMIUM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 2294 matching lines...) Expand 10 before | Expand all | Expand 10 after
2305 gles2::cmds::TexImageIOSurface2DCHROMIUM* c = 2305 gles2::cmds::TexImageIOSurface2DCHROMIUM* c =
2306 GetCmdSpace<gles2::cmds::TexImageIOSurface2DCHROMIUM>(); 2306 GetCmdSpace<gles2::cmds::TexImageIOSurface2DCHROMIUM>();
2307 if (c) { 2307 if (c) {
2308 c->Init(target, width, height, ioSurfaceId, plane); 2308 c->Init(target, width, height, ioSurfaceId, plane);
2309 } 2309 }
2310 } 2310 }
2311 2311
2312 void CopyTextureCHROMIUM(GLenum target, 2312 void CopyTextureCHROMIUM(GLenum target,
2313 GLenum source_id, 2313 GLenum source_id,
2314 GLenum dest_id, 2314 GLenum dest_id,
2315 GLint level,
2315 GLint internalformat, 2316 GLint internalformat,
2316 GLenum dest_type) { 2317 GLenum dest_type) {
2317 gles2::cmds::CopyTextureCHROMIUM* c = 2318 gles2::cmds::CopyTextureCHROMIUM* c =
2318 GetCmdSpace<gles2::cmds::CopyTextureCHROMIUM>(); 2319 GetCmdSpace<gles2::cmds::CopyTextureCHROMIUM>();
2319 if (c) { 2320 if (c) {
2320 c->Init(target, source_id, dest_id, internalformat, dest_type); 2321 c->Init(target, source_id, dest_id, level, internalformat, dest_type);
2321 } 2322 }
2322 } 2323 }
2323 2324
2324 void CopySubTextureCHROMIUM(GLenum target,
2325 GLenum source_id,
2326 GLenum dest_id,
2327 GLint xoffset,
2328 GLint yoffset) {
2329 gles2::cmds::CopySubTextureCHROMIUM* c =
2330 GetCmdSpace<gles2::cmds::CopySubTextureCHROMIUM>();
2331 if (c) {
2332 c->Init(target, source_id, dest_id, xoffset, yoffset);
2333 }
2334 }
2335
2336 void DrawArraysInstancedANGLE(GLenum mode, 2325 void DrawArraysInstancedANGLE(GLenum mode,
2337 GLint first, 2326 GLint first,
2338 GLsizei count, 2327 GLsizei count,
2339 GLsizei primcount) { 2328 GLsizei primcount) {
2340 gles2::cmds::DrawArraysInstancedANGLE* c = 2329 gles2::cmds::DrawArraysInstancedANGLE* c =
2341 GetCmdSpace<gles2::cmds::DrawArraysInstancedANGLE>(); 2330 GetCmdSpace<gles2::cmds::DrawArraysInstancedANGLE>();
2342 if (c) { 2331 if (c) {
2343 c->Init(mode, first, count, primcount); 2332 c->Init(mode, first, count, primcount);
2344 } 2333 }
2345 } 2334 }
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
2661 } 2650 }
2662 2651
2663 void BlendBarrierKHR() { 2652 void BlendBarrierKHR() {
2664 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); 2653 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>();
2665 if (c) { 2654 if (c) {
2666 c->Init(); 2655 c->Init();
2667 } 2656 }
2668 } 2657 }
2669 2658
2670 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2659 #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