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

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

Issue 2781863002: Revert of Update the passthrough command decoder to use the new CHROMIUM_copy_texture. (Closed)
Patch Set: Created 3 years, 8 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 1311 matching lines...) Expand 10 before | Expand all | Expand 10 after
1322 char* source) { 1322 char* source) {
1323 gles2::GetGLContext()->GetTranslatedShaderSourceANGLE(shader, bufsize, length, 1323 gles2::GetGLContext()->GetTranslatedShaderSourceANGLE(shader, bufsize, length,
1324 source); 1324 source);
1325 } 1325 }
1326 void GL_APIENTRY GLES2PostSubBufferCHROMIUM(GLint x, 1326 void GL_APIENTRY GLES2PostSubBufferCHROMIUM(GLint x,
1327 GLint y, 1327 GLint y,
1328 GLint width, 1328 GLint width,
1329 GLint height) { 1329 GLint height) {
1330 gles2::GetGLContext()->PostSubBufferCHROMIUM(x, y, width, height); 1330 gles2::GetGLContext()->PostSubBufferCHROMIUM(x, y, width, height);
1331 } 1331 }
1332 void GL_APIENTRY GLES2CopyTextureCHROMIUM(GLuint source_id, 1332 void GL_APIENTRY GLES2CopyTextureCHROMIUM(GLenum source_id,
1333 GLint source_level, 1333 GLint source_level,
1334 GLenum dest_target, 1334 GLenum dest_target,
1335 GLuint dest_id, 1335 GLenum dest_id,
1336 GLint dest_level, 1336 GLint dest_level,
1337 GLint internalformat, 1337 GLint internalformat,
1338 GLenum dest_type, 1338 GLenum dest_type,
1339 GLboolean unpack_flip_y, 1339 GLboolean unpack_flip_y,
1340 GLboolean unpack_premultiply_alpha, 1340 GLboolean unpack_premultiply_alpha,
1341 GLboolean unpack_unmultiply_alpha) { 1341 GLboolean unpack_unmultiply_alpha) {
1342 gles2::GetGLContext()->CopyTextureCHROMIUM( 1342 gles2::GetGLContext()->CopyTextureCHROMIUM(
1343 source_id, source_level, dest_target, dest_id, dest_level, internalformat, 1343 source_id, source_level, dest_target, dest_id, dest_level, internalformat,
1344 dest_type, unpack_flip_y, unpack_premultiply_alpha, 1344 dest_type, unpack_flip_y, unpack_premultiply_alpha,
1345 unpack_unmultiply_alpha); 1345 unpack_unmultiply_alpha);
1346 } 1346 }
1347 void GL_APIENTRY 1347 void GL_APIENTRY
1348 GLES2CopySubTextureCHROMIUM(GLuint source_id, 1348 GLES2CopySubTextureCHROMIUM(GLenum source_id,
1349 GLint source_level, 1349 GLint source_level,
1350 GLenum dest_target, 1350 GLenum dest_target,
1351 GLuint dest_id, 1351 GLenum dest_id,
1352 GLint dest_level, 1352 GLint dest_level,
1353 GLint xoffset, 1353 GLint xoffset,
1354 GLint yoffset, 1354 GLint yoffset,
1355 GLint x, 1355 GLint x,
1356 GLint y, 1356 GLint y,
1357 GLsizei width, 1357 GLsizei width,
1358 GLsizei height, 1358 GLsizei height,
1359 GLboolean unpack_flip_y, 1359 GLboolean unpack_flip_y,
1360 GLboolean unpack_premultiply_alpha, 1360 GLboolean unpack_premultiply_alpha,
1361 GLboolean unpack_unmultiply_alpha) { 1361 GLboolean unpack_unmultiply_alpha) {
1362 gles2::GetGLContext()->CopySubTextureCHROMIUM( 1362 gles2::GetGLContext()->CopySubTextureCHROMIUM(
1363 source_id, source_level, dest_target, dest_id, dest_level, xoffset, 1363 source_id, source_level, dest_target, dest_id, dest_level, xoffset,
1364 yoffset, x, y, width, height, unpack_flip_y, unpack_premultiply_alpha, 1364 yoffset, x, y, width, height, unpack_flip_y, unpack_premultiply_alpha,
1365 unpack_unmultiply_alpha); 1365 unpack_unmultiply_alpha);
1366 } 1366 }
1367 void GL_APIENTRY GLES2CompressedCopyTextureCHROMIUM(GLuint source_id, 1367 void GL_APIENTRY GLES2CompressedCopyTextureCHROMIUM(GLenum source_id,
1368 GLuint dest_id) { 1368 GLenum dest_id) {
1369 gles2::GetGLContext()->CompressedCopyTextureCHROMIUM(source_id, dest_id); 1369 gles2::GetGLContext()->CompressedCopyTextureCHROMIUM(source_id, dest_id);
1370 } 1370 }
1371 void GL_APIENTRY GLES2DrawArraysInstancedANGLE(GLenum mode, 1371 void GL_APIENTRY GLES2DrawArraysInstancedANGLE(GLenum mode,
1372 GLint first, 1372 GLint first,
1373 GLsizei count, 1373 GLsizei count,
1374 GLsizei primcount) { 1374 GLsizei primcount) {
1375 gles2::GetGLContext()->DrawArraysInstancedANGLE(mode, first, count, 1375 gles2::GetGLContext()->DrawArraysInstancedANGLE(mode, first, count,
1376 primcount); 1376 primcount);
1377 } 1377 }
1378 void GL_APIENTRY GLES2DrawElementsInstancedANGLE(GLenum mode, 1378 void GL_APIENTRY GLES2DrawElementsInstancedANGLE(GLenum mode,
(...skipping 1688 matching lines...) Expand 10 before | Expand all | Expand 10 after
3067 "glSetEnableDCLayersCHROMIUM", 3067 "glSetEnableDCLayersCHROMIUM",
3068 reinterpret_cast<GLES2FunctionPointer>(glSetEnableDCLayersCHROMIUM), 3068 reinterpret_cast<GLES2FunctionPointer>(glSetEnableDCLayersCHROMIUM),
3069 }, 3069 },
3070 { 3070 {
3071 NULL, NULL, 3071 NULL, NULL,
3072 }, 3072 },
3073 }; 3073 };
3074 3074
3075 } // namespace gles2 3075 } // namespace gles2
3076 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 3076 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt ('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