| OLD | NEW |
| 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 1321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 GLint source_level, |
| 1342 GLenum dest_target, |
| 1342 GLenum dest_id, | 1343 GLenum dest_id, |
| 1343 GLint dest_level, | 1344 GLint dest_level, |
| 1344 GLint internalformat, | 1345 GLint internalformat, |
| 1345 GLenum dest_type, | 1346 GLenum dest_type, |
| 1346 GLboolean unpack_flip_y, | 1347 GLboolean unpack_flip_y, |
| 1347 GLboolean unpack_premultiply_alpha, | 1348 GLboolean unpack_premultiply_alpha, |
| 1348 GLboolean unpack_unmultiply_alpha) { | 1349 GLboolean unpack_unmultiply_alpha) { |
| 1349 gles2::GetGLContext()->CopyTextureCHROMIUM( | 1350 gles2::GetGLContext()->CopyTextureCHROMIUM( |
| 1350 source_id, source_level, dest_id, dest_level, internalformat, dest_type, | 1351 source_id, source_level, dest_target, dest_id, dest_level, internalformat, |
| 1351 unpack_flip_y, unpack_premultiply_alpha, unpack_unmultiply_alpha); | 1352 dest_type, unpack_flip_y, unpack_premultiply_alpha, |
| 1353 unpack_unmultiply_alpha); |
| 1352 } | 1354 } |
| 1353 void GL_APIENTRY | 1355 void GL_APIENTRY |
| 1354 GLES2CopySubTextureCHROMIUM(GLenum source_id, | 1356 GLES2CopySubTextureCHROMIUM(GLenum source_id, |
| 1355 GLint source_level, | 1357 GLint source_level, |
| 1358 GLenum dest_target, |
| 1356 GLenum dest_id, | 1359 GLenum dest_id, |
| 1357 GLint dest_level, | 1360 GLint dest_level, |
| 1358 GLint xoffset, | 1361 GLint xoffset, |
| 1359 GLint yoffset, | 1362 GLint yoffset, |
| 1360 GLint x, | 1363 GLint x, |
| 1361 GLint y, | 1364 GLint y, |
| 1362 GLsizei width, | 1365 GLsizei width, |
| 1363 GLsizei height, | 1366 GLsizei height, |
| 1364 GLboolean unpack_flip_y, | 1367 GLboolean unpack_flip_y, |
| 1365 GLboolean unpack_premultiply_alpha, | 1368 GLboolean unpack_premultiply_alpha, |
| 1366 GLboolean unpack_unmultiply_alpha) { | 1369 GLboolean unpack_unmultiply_alpha) { |
| 1367 gles2::GetGLContext()->CopySubTextureCHROMIUM( | 1370 gles2::GetGLContext()->CopySubTextureCHROMIUM( |
| 1368 source_id, source_level, dest_id, dest_level, xoffset, yoffset, x, y, | 1371 source_id, source_level, dest_target, dest_id, dest_level, xoffset, |
| 1369 width, height, unpack_flip_y, unpack_premultiply_alpha, | 1372 yoffset, x, y, width, height, unpack_flip_y, unpack_premultiply_alpha, |
| 1370 unpack_unmultiply_alpha); | 1373 unpack_unmultiply_alpha); |
| 1371 } | 1374 } |
| 1372 void GL_APIENTRY GLES2CompressedCopyTextureCHROMIUM(GLenum source_id, | 1375 void GL_APIENTRY GLES2CompressedCopyTextureCHROMIUM(GLenum source_id, |
| 1373 GLenum dest_id) { | 1376 GLenum dest_id) { |
| 1374 gles2::GetGLContext()->CompressedCopyTextureCHROMIUM(source_id, dest_id); | 1377 gles2::GetGLContext()->CompressedCopyTextureCHROMIUM(source_id, dest_id); |
| 1375 } | 1378 } |
| 1376 void GL_APIENTRY GLES2DrawArraysInstancedANGLE(GLenum mode, | 1379 void GL_APIENTRY GLES2DrawArraysInstancedANGLE(GLenum mode, |
| 1377 GLint first, | 1380 GLint first, |
| 1378 GLsizei count, | 1381 GLsizei count, |
| 1379 GLsizei primcount) { | 1382 GLsizei primcount) { |
| (...skipping 1654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3034 "glSwapBuffersWithDamageCHROMIUM", | 3037 "glSwapBuffersWithDamageCHROMIUM", |
| 3035 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM), | 3038 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM), |
| 3036 }, | 3039 }, |
| 3037 { | 3040 { |
| 3038 NULL, NULL, | 3041 NULL, NULL, |
| 3039 }, | 3042 }, |
| 3040 }; | 3043 }; |
| 3041 | 3044 |
| 3042 } // namespace gles2 | 3045 } // namespace gles2 |
| 3043 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3046 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |