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

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

Issue 864513004: gpu: introduce glCopySubTextureCHROMIUM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address concerns of owners Created 5 years, 10 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 2219 matching lines...) Expand 10 before | Expand all | Expand 10 after
2230 GLint level, 2230 GLint level,
2231 GLint internalformat, 2231 GLint internalformat,
2232 GLenum dest_type) { 2232 GLenum dest_type) {
2233 gles2::cmds::CopyTextureCHROMIUM* c = 2233 gles2::cmds::CopyTextureCHROMIUM* c =
2234 GetCmdSpace<gles2::cmds::CopyTextureCHROMIUM>(); 2234 GetCmdSpace<gles2::cmds::CopyTextureCHROMIUM>();
2235 if (c) { 2235 if (c) {
2236 c->Init(target, source_id, dest_id, level, internalformat, dest_type); 2236 c->Init(target, source_id, dest_id, level, internalformat, dest_type);
2237 } 2237 }
2238 } 2238 }
2239 2239
2240 void CopySubTextureCHROMIUM(GLenum target,
2241 GLenum source_id,
2242 GLenum dest_id,
2243 GLint level,
2244 GLint xoffset,
2245 GLint yoffset) {
2246 gles2::cmds::CopySubTextureCHROMIUM* c =
2247 GetCmdSpace<gles2::cmds::CopySubTextureCHROMIUM>();
2248 if (c) {
2249 c->Init(target, source_id, dest_id, level, xoffset, yoffset);
2250 }
2251 }
2252
2240 void DrawArraysInstancedANGLE(GLenum mode, 2253 void DrawArraysInstancedANGLE(GLenum mode,
2241 GLint first, 2254 GLint first,
2242 GLsizei count, 2255 GLsizei count,
2243 GLsizei primcount) { 2256 GLsizei primcount) {
2244 gles2::cmds::DrawArraysInstancedANGLE* c = 2257 gles2::cmds::DrawArraysInstancedANGLE* c =
2245 GetCmdSpace<gles2::cmds::DrawArraysInstancedANGLE>(); 2258 GetCmdSpace<gles2::cmds::DrawArraysInstancedANGLE>();
2246 if (c) { 2259 if (c) {
2247 c->Init(mode, first, count, primcount); 2260 c->Init(mode, first, count, primcount);
2248 } 2261 }
2249 } 2262 }
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
2565 } 2578 }
2566 2579
2567 void BlendBarrierKHR() { 2580 void BlendBarrierKHR() {
2568 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); 2581 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>();
2569 if (c) { 2582 if (c) {
2570 c->Init(); 2583 c->Init();
2571 } 2584 }
2572 } 2585 }
2573 2586
2574 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2587 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698