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

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

Issue 1551143002: Remove the "target" argument from CopyTextureChromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error. Created 4 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 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after
1327 gles2::GetGLContext()->PostSubBufferCHROMIUM(x, y, width, height); 1327 gles2::GetGLContext()->PostSubBufferCHROMIUM(x, y, width, height);
1328 } 1328 }
1329 void GL_APIENTRY GLES2TexImageIOSurface2DCHROMIUM(GLenum target, 1329 void GL_APIENTRY GLES2TexImageIOSurface2DCHROMIUM(GLenum target,
1330 GLsizei width, 1330 GLsizei width,
1331 GLsizei height, 1331 GLsizei height,
1332 GLuint ioSurfaceId, 1332 GLuint ioSurfaceId,
1333 GLuint plane) { 1333 GLuint plane) {
1334 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM(target, width, height, 1334 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM(target, width, height,
1335 ioSurfaceId, plane); 1335 ioSurfaceId, plane);
1336 } 1336 }
1337 void GL_APIENTRY GLES2CopyTextureCHROMIUM(GLenum target, 1337 void GL_APIENTRY GLES2CopyTextureCHROMIUM(GLenum source_id,
1338 GLenum source_id,
1339 GLenum dest_id, 1338 GLenum dest_id,
1340 GLint internalformat, 1339 GLint internalformat,
1341 GLenum dest_type, 1340 GLenum dest_type,
1342 GLboolean unpack_flip_y, 1341 GLboolean unpack_flip_y,
1343 GLboolean unpack_premultiply_alpha, 1342 GLboolean unpack_premultiply_alpha,
1344 GLboolean unpack_unmultiply_alpha) { 1343 GLboolean unpack_unmultiply_alpha) {
1345 gles2::GetGLContext()->CopyTextureCHROMIUM( 1344 gles2::GetGLContext()->CopyTextureCHROMIUM(
1346 target, source_id, dest_id, internalformat, dest_type, unpack_flip_y, 1345 source_id, dest_id, internalformat, dest_type, unpack_flip_y,
1347 unpack_premultiply_alpha, unpack_unmultiply_alpha); 1346 unpack_premultiply_alpha, unpack_unmultiply_alpha);
1348 } 1347 }
1349 void GL_APIENTRY 1348 void GL_APIENTRY
1350 GLES2CopySubTextureCHROMIUM(GLenum target, 1349 GLES2CopySubTextureCHROMIUM(GLenum source_id,
1351 GLenum source_id,
1352 GLenum dest_id, 1350 GLenum dest_id,
1353 GLint xoffset, 1351 GLint xoffset,
1354 GLint yoffset, 1352 GLint yoffset,
1355 GLint x, 1353 GLint x,
1356 GLint y, 1354 GLint y,
1357 GLsizei width, 1355 GLsizei width,
1358 GLsizei height, 1356 GLsizei height,
1359 GLboolean unpack_flip_y, 1357 GLboolean unpack_flip_y,
1360 GLboolean unpack_premultiply_alpha, 1358 GLboolean unpack_premultiply_alpha,
1361 GLboolean unpack_unmultiply_alpha) { 1359 GLboolean unpack_unmultiply_alpha) {
1362 gles2::GetGLContext()->CopySubTextureCHROMIUM( 1360 gles2::GetGLContext()->CopySubTextureCHROMIUM(
1363 target, source_id, dest_id, xoffset, yoffset, x, y, width, height, 1361 source_id, dest_id, xoffset, yoffset, x, y, width, height, unpack_flip_y,
1364 unpack_flip_y, unpack_premultiply_alpha, unpack_unmultiply_alpha); 1362 unpack_premultiply_alpha, unpack_unmultiply_alpha);
1365 } 1363 }
1366 void GL_APIENTRY GLES2CompressedCopyTextureCHROMIUM(GLenum target, 1364 void GL_APIENTRY GLES2CompressedCopyTextureCHROMIUM(GLenum target,
1367 GLenum source_id, 1365 GLenum source_id,
1368 GLenum dest_id) { 1366 GLenum dest_id) {
1369 gles2::GetGLContext()->CompressedCopyTextureCHROMIUM(target, source_id, 1367 gles2::GetGLContext()->CompressedCopyTextureCHROMIUM(target, source_id,
1370 dest_id); 1368 dest_id);
1371 } 1369 }
1372 void GL_APIENTRY GLES2CompressedCopySubTextureCHROMIUM(GLenum target, 1370 void GL_APIENTRY GLES2CompressedCopySubTextureCHROMIUM(GLenum target,
1373 GLenum source_id, 1371 GLenum source_id,
1374 GLenum dest_id, 1372 GLenum dest_id,
(...skipping 1666 matching lines...) Expand 10 before | Expand all | Expand 10 after
3041 "glGetFragDataIndexEXT", 3039 "glGetFragDataIndexEXT",
3042 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), 3040 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT),
3043 }, 3041 },
3044 { 3042 {
3045 NULL, NULL, 3043 NULL, NULL,
3046 }, 3044 },
3047 }; 3045 };
3048 3046
3049 } // namespace gles2 3047 } // namespace gles2
3050 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 3048 #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