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

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: Created 5 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 2110 matching lines...) Expand 10 before | Expand all | Expand 10 after
2121 GLint level, 2121 GLint level,
2122 GLint internalformat, 2122 GLint internalformat,
2123 GLenum dest_type) { 2123 GLenum dest_type) {
2124 gles2::cmds::CopyTextureCHROMIUM* c = 2124 gles2::cmds::CopyTextureCHROMIUM* c =
2125 GetCmdSpace<gles2::cmds::CopyTextureCHROMIUM>(); 2125 GetCmdSpace<gles2::cmds::CopyTextureCHROMIUM>();
2126 if (c) { 2126 if (c) {
2127 c->Init(target, source_id, dest_id, level, internalformat, dest_type); 2127 c->Init(target, source_id, dest_id, level, internalformat, dest_type);
2128 } 2128 }
2129 } 2129 }
2130 2130
2131 void CopySubTextureCHROMIUM(GLenum target,
2132 GLenum source_id,
2133 GLenum dest_id,
2134 GLint level,
2135 GLint xoffset,
2136 GLint yoffset) {
2137 gles2::cmds::CopySubTextureCHROMIUM* c =
2138 GetCmdSpace<gles2::cmds::CopySubTextureCHROMIUM>();
2139 if (c) {
2140 c->Init(target, source_id, dest_id, level, xoffset, yoffset);
2141 }
2142 }
2143
2131 void DrawArraysInstancedANGLE(GLenum mode, 2144 void DrawArraysInstancedANGLE(GLenum mode,
2132 GLint first, 2145 GLint first,
2133 GLsizei count, 2146 GLsizei count,
2134 GLsizei primcount) { 2147 GLsizei primcount) {
2135 gles2::cmds::DrawArraysInstancedANGLE* c = 2148 gles2::cmds::DrawArraysInstancedANGLE* c =
2136 GetCmdSpace<gles2::cmds::DrawArraysInstancedANGLE>(); 2149 GetCmdSpace<gles2::cmds::DrawArraysInstancedANGLE>();
2137 if (c) { 2150 if (c) {
2138 c->Init(mode, first, count, primcount); 2151 c->Init(mode, first, count, primcount);
2139 } 2152 }
2140 } 2153 }
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
2456 } 2469 }
2457 2470
2458 void BlendBarrierKHR() { 2471 void BlendBarrierKHR() {
2459 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); 2472 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>();
2460 if (c) { 2473 if (c) {
2461 c->Init(); 2474 c->Init();
2462 } 2475 }
2463 } 2476 }
2464 2477
2465 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2478 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698