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

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

Issue 2610853005: Modify Copy{Sub}TextureCHROMIUM entry point to add level argument (Closed)
Patch Set: fix chromeos Created 3 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
« no previous file with comments | « gpu/GLES2/gl2extchromium.h ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1320 matching lines...) Expand 10 before | Expand all | Expand 10 after
1331 gles2::GetGLContext()->GetTranslatedShaderSourceANGLE(shader, bufsize, length, 1331 gles2::GetGLContext()->GetTranslatedShaderSourceANGLE(shader, bufsize, length,
1332 source); 1332 source);
1333 } 1333 }
1334 void GL_APIENTRY GLES2PostSubBufferCHROMIUM(GLint x, 1334 void GL_APIENTRY GLES2PostSubBufferCHROMIUM(GLint x,
1335 GLint y, 1335 GLint y,
1336 GLint width, 1336 GLint width,
1337 GLint height) { 1337 GLint height) {
1338 gles2::GetGLContext()->PostSubBufferCHROMIUM(x, y, width, height); 1338 gles2::GetGLContext()->PostSubBufferCHROMIUM(x, y, width, height);
1339 } 1339 }
1340 void GL_APIENTRY GLES2CopyTextureCHROMIUM(GLenum source_id, 1340 void GL_APIENTRY GLES2CopyTextureCHROMIUM(GLenum source_id,
1341 GLint source_level,
1341 GLenum dest_id, 1342 GLenum dest_id,
1343 GLint dest_level,
1342 GLint internalformat, 1344 GLint internalformat,
1343 GLenum dest_type, 1345 GLenum dest_type,
1344 GLboolean unpack_flip_y, 1346 GLboolean unpack_flip_y,
1345 GLboolean unpack_premultiply_alpha, 1347 GLboolean unpack_premultiply_alpha,
1346 GLboolean unpack_unmultiply_alpha) { 1348 GLboolean unpack_unmultiply_alpha) {
1347 gles2::GetGLContext()->CopyTextureCHROMIUM( 1349 gles2::GetGLContext()->CopyTextureCHROMIUM(
1348 source_id, dest_id, internalformat, dest_type, unpack_flip_y, 1350 source_id, source_level, dest_id, dest_level, internalformat, dest_type,
1349 unpack_premultiply_alpha, unpack_unmultiply_alpha); 1351 unpack_flip_y, unpack_premultiply_alpha, unpack_unmultiply_alpha);
1350 } 1352 }
1351 void GL_APIENTRY 1353 void GL_APIENTRY
1352 GLES2CopySubTextureCHROMIUM(GLenum source_id, 1354 GLES2CopySubTextureCHROMIUM(GLenum source_id,
1355 GLint source_level,
1353 GLenum dest_id, 1356 GLenum dest_id,
1357 GLint dest_level,
1354 GLint xoffset, 1358 GLint xoffset,
1355 GLint yoffset, 1359 GLint yoffset,
1356 GLint x, 1360 GLint x,
1357 GLint y, 1361 GLint y,
1358 GLsizei width, 1362 GLsizei width,
1359 GLsizei height, 1363 GLsizei height,
1360 GLboolean unpack_flip_y, 1364 GLboolean unpack_flip_y,
1361 GLboolean unpack_premultiply_alpha, 1365 GLboolean unpack_premultiply_alpha,
1362 GLboolean unpack_unmultiply_alpha) { 1366 GLboolean unpack_unmultiply_alpha) {
1363 gles2::GetGLContext()->CopySubTextureCHROMIUM( 1367 gles2::GetGLContext()->CopySubTextureCHROMIUM(
1364 source_id, dest_id, xoffset, yoffset, x, y, width, height, unpack_flip_y, 1368 source_id, source_level, dest_id, dest_level, xoffset, yoffset, x, y,
1365 unpack_premultiply_alpha, unpack_unmultiply_alpha); 1369 width, height, unpack_flip_y, unpack_premultiply_alpha,
1370 unpack_unmultiply_alpha);
1366 } 1371 }
1367 void GL_APIENTRY GLES2CompressedCopyTextureCHROMIUM(GLenum source_id, 1372 void GL_APIENTRY GLES2CompressedCopyTextureCHROMIUM(GLenum source_id,
1368 GLenum dest_id) { 1373 GLenum dest_id) {
1369 gles2::GetGLContext()->CompressedCopyTextureCHROMIUM(source_id, dest_id); 1374 gles2::GetGLContext()->CompressedCopyTextureCHROMIUM(source_id, dest_id);
1370 } 1375 }
1371 void GL_APIENTRY GLES2DrawArraysInstancedANGLE(GLenum mode, 1376 void GL_APIENTRY GLES2DrawArraysInstancedANGLE(GLenum mode,
1372 GLint first, 1377 GLint first,
1373 GLsizei count, 1378 GLsizei count,
1374 GLsizei primcount) { 1379 GLsizei primcount) {
1375 gles2::GetGLContext()->DrawArraysInstancedANGLE(mode, first, count, 1380 gles2::GetGLContext()->DrawArraysInstancedANGLE(mode, first, count,
(...skipping 1653 matching lines...) Expand 10 before | Expand all | Expand 10 after
3029 "glSwapBuffersWithDamageCHROMIUM", 3034 "glSwapBuffersWithDamageCHROMIUM",
3030 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM), 3035 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM),
3031 }, 3036 },
3032 { 3037 {
3033 NULL, NULL, 3038 NULL, NULL,
3034 }, 3039 },
3035 }; 3040 };
3036 3041
3037 } // namespace gles2 3042 } // namespace gles2
3038 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 3043 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2extchromium.h ('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