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

Side by Side Diff: gpu/command_buffer/client/gles2_c_lib_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 1213 matching lines...) Expand 10 before | Expand all | Expand 10 after
1224 GLenum dest_id, 1224 GLenum dest_id,
1225 GLint internalformat, 1225 GLint internalformat,
1226 GLenum dest_type) { 1226 GLenum dest_type) {
1227 gles2::GetGLContext()->CopyTextureCHROMIUM(target, source_id, dest_id, 1227 gles2::GetGLContext()->CopyTextureCHROMIUM(target, source_id, dest_id,
1228 internalformat, dest_type); 1228 internalformat, dest_type);
1229 } 1229 }
1230 void GLES2CopySubTextureCHROMIUM(GLenum target, 1230 void GLES2CopySubTextureCHROMIUM(GLenum target,
1231 GLenum source_id, 1231 GLenum source_id,
1232 GLenum dest_id, 1232 GLenum dest_id,
1233 GLint xoffset, 1233 GLint xoffset,
1234 GLint yoffset) { 1234 GLint yoffset,
1235 gles2::GetGLContext()->CopySubTextureCHROMIUM(target, source_id, dest_id, 1235 GLint x,
1236 xoffset, yoffset); 1236 GLint y,
1237 GLsizei width,
1238 GLsizei height) {
1239 gles2::GetGLContext()->CopySubTextureCHROMIUM(
1240 target, source_id, dest_id, xoffset, yoffset, x, y, width, height);
1237 } 1241 }
1238 void GLES2DrawArraysInstancedANGLE(GLenum mode, 1242 void GLES2DrawArraysInstancedANGLE(GLenum mode,
1239 GLint first, 1243 GLint first,
1240 GLsizei count, 1244 GLsizei count,
1241 GLsizei primcount) { 1245 GLsizei primcount) {
1242 gles2::GetGLContext()->DrawArraysInstancedANGLE(mode, first, count, 1246 gles2::GetGLContext()->DrawArraysInstancedANGLE(mode, first, count,
1243 primcount); 1247 primcount);
1244 } 1248 }
1245 void GLES2DrawElementsInstancedANGLE(GLenum mode, 1249 void GLES2DrawElementsInstancedANGLE(GLenum mode,
1246 GLsizei count, 1250 GLsizei count,
(...skipping 1373 matching lines...) Expand 10 before | Expand all | Expand 10 after
2620 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), 2624 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR),
2621 }, 2625 },
2622 { 2626 {
2623 NULL, 2627 NULL,
2624 NULL, 2628 NULL,
2625 }, 2629 },
2626 }; 2630 };
2627 2631
2628 } // namespace gles2 2632 } // namespace gles2
2629 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 2633 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/blink/webgraphicscontext3d_impl.cc ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698