| 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 } | 198 } |
| 199 void GLES2DeleteProgram(GLuint program) { | 199 void GLES2DeleteProgram(GLuint program) { |
| 200 gles2::GetGLContext()->DeleteProgram(program); | 200 gles2::GetGLContext()->DeleteProgram(program); |
| 201 } | 201 } |
| 202 void GLES2DeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers) { | 202 void GLES2DeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers) { |
| 203 gles2::GetGLContext()->DeleteRenderbuffers(n, renderbuffers); | 203 gles2::GetGLContext()->DeleteRenderbuffers(n, renderbuffers); |
| 204 } | 204 } |
| 205 void GLES2DeleteSamplers(GLsizei n, const GLuint* samplers) { | 205 void GLES2DeleteSamplers(GLsizei n, const GLuint* samplers) { |
| 206 gles2::GetGLContext()->DeleteSamplers(n, samplers); | 206 gles2::GetGLContext()->DeleteSamplers(n, samplers); |
| 207 } | 207 } |
| 208 void GLES2DeleteSync(GLsync sync) { |
| 209 gles2::GetGLContext()->DeleteSync(sync); |
| 210 } |
| 208 void GLES2DeleteShader(GLuint shader) { | 211 void GLES2DeleteShader(GLuint shader) { |
| 209 gles2::GetGLContext()->DeleteShader(shader); | 212 gles2::GetGLContext()->DeleteShader(shader); |
| 210 } | 213 } |
| 211 void GLES2DeleteTextures(GLsizei n, const GLuint* textures) { | 214 void GLES2DeleteTextures(GLsizei n, const GLuint* textures) { |
| 212 gles2::GetGLContext()->DeleteTextures(n, textures); | 215 gles2::GetGLContext()->DeleteTextures(n, textures); |
| 213 } | 216 } |
| 214 void GLES2DeleteTransformFeedbacks(GLsizei n, const GLuint* ids) { | 217 void GLES2DeleteTransformFeedbacks(GLsizei n, const GLuint* ids) { |
| 215 gles2::GetGLContext()->DeleteTransformFeedbacks(n, ids); | 218 gles2::GetGLContext()->DeleteTransformFeedbacks(n, ids); |
| 216 } | 219 } |
| 217 void GLES2DepthFunc(GLenum func) { | 220 void GLES2DepthFunc(GLenum func) { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 240 GLenum type, | 243 GLenum type, |
| 241 const void* indices) { | 244 const void* indices) { |
| 242 gles2::GetGLContext()->DrawElements(mode, count, type, indices); | 245 gles2::GetGLContext()->DrawElements(mode, count, type, indices); |
| 243 } | 246 } |
| 244 void GLES2Enable(GLenum cap) { | 247 void GLES2Enable(GLenum cap) { |
| 245 gles2::GetGLContext()->Enable(cap); | 248 gles2::GetGLContext()->Enable(cap); |
| 246 } | 249 } |
| 247 void GLES2EnableVertexAttribArray(GLuint index) { | 250 void GLES2EnableVertexAttribArray(GLuint index) { |
| 248 gles2::GetGLContext()->EnableVertexAttribArray(index); | 251 gles2::GetGLContext()->EnableVertexAttribArray(index); |
| 249 } | 252 } |
| 253 GLsync GLES2FenceSync(GLenum condition, GLbitfield flags) { |
| 254 return gles2::GetGLContext()->FenceSync(condition, flags); |
| 255 } |
| 250 void GLES2Finish() { | 256 void GLES2Finish() { |
| 251 gles2::GetGLContext()->Finish(); | 257 gles2::GetGLContext()->Finish(); |
| 252 } | 258 } |
| 253 void GLES2Flush() { | 259 void GLES2Flush() { |
| 254 gles2::GetGLContext()->Flush(); | 260 gles2::GetGLContext()->Flush(); |
| 255 } | 261 } |
| 256 void GLES2FramebufferRenderbuffer(GLenum target, | 262 void GLES2FramebufferRenderbuffer(GLenum target, |
| 257 GLenum attachment, | 263 GLenum attachment, |
| 258 GLenum renderbuffertarget, | 264 GLenum renderbuffertarget, |
| 259 GLuint renderbuffer) { | 265 GLuint renderbuffer) { |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 } | 466 } |
| 461 GLboolean GLES2IsRenderbuffer(GLuint renderbuffer) { | 467 GLboolean GLES2IsRenderbuffer(GLuint renderbuffer) { |
| 462 return gles2::GetGLContext()->IsRenderbuffer(renderbuffer); | 468 return gles2::GetGLContext()->IsRenderbuffer(renderbuffer); |
| 463 } | 469 } |
| 464 GLboolean GLES2IsSampler(GLuint sampler) { | 470 GLboolean GLES2IsSampler(GLuint sampler) { |
| 465 return gles2::GetGLContext()->IsSampler(sampler); | 471 return gles2::GetGLContext()->IsSampler(sampler); |
| 466 } | 472 } |
| 467 GLboolean GLES2IsShader(GLuint shader) { | 473 GLboolean GLES2IsShader(GLuint shader) { |
| 468 return gles2::GetGLContext()->IsShader(shader); | 474 return gles2::GetGLContext()->IsShader(shader); |
| 469 } | 475 } |
| 476 GLboolean GLES2IsSync(GLsync sync) { |
| 477 return gles2::GetGLContext()->IsSync(sync); |
| 478 } |
| 470 GLboolean GLES2IsTexture(GLuint texture) { | 479 GLboolean GLES2IsTexture(GLuint texture) { |
| 471 return gles2::GetGLContext()->IsTexture(texture); | 480 return gles2::GetGLContext()->IsTexture(texture); |
| 472 } | 481 } |
| 473 GLboolean GLES2IsTransformFeedback(GLuint transformfeedback) { | 482 GLboolean GLES2IsTransformFeedback(GLuint transformfeedback) { |
| 474 return gles2::GetGLContext()->IsTransformFeedback(transformfeedback); | 483 return gles2::GetGLContext()->IsTransformFeedback(transformfeedback); |
| 475 } | 484 } |
| 476 void GLES2LineWidth(GLfloat width) { | 485 void GLES2LineWidth(GLfloat width) { |
| 477 gles2::GetGLContext()->LineWidth(width); | 486 gles2::GetGLContext()->LineWidth(width); |
| 478 } | 487 } |
| 479 void GLES2LinkProgram(GLuint program) { | 488 void GLES2LinkProgram(GLuint program) { |
| (...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1377 }, | 1386 }, |
| 1378 { | 1387 { |
| 1379 "glDeleteRenderbuffers", | 1388 "glDeleteRenderbuffers", |
| 1380 reinterpret_cast<GLES2FunctionPointer>(glDeleteRenderbuffers), | 1389 reinterpret_cast<GLES2FunctionPointer>(glDeleteRenderbuffers), |
| 1381 }, | 1390 }, |
| 1382 { | 1391 { |
| 1383 "glDeleteSamplers", | 1392 "glDeleteSamplers", |
| 1384 reinterpret_cast<GLES2FunctionPointer>(glDeleteSamplers), | 1393 reinterpret_cast<GLES2FunctionPointer>(glDeleteSamplers), |
| 1385 }, | 1394 }, |
| 1386 { | 1395 { |
| 1396 "glDeleteSync", |
| 1397 reinterpret_cast<GLES2FunctionPointer>(glDeleteSync), |
| 1398 }, |
| 1399 { |
| 1387 "glDeleteShader", | 1400 "glDeleteShader", |
| 1388 reinterpret_cast<GLES2FunctionPointer>(glDeleteShader), | 1401 reinterpret_cast<GLES2FunctionPointer>(glDeleteShader), |
| 1389 }, | 1402 }, |
| 1390 { | 1403 { |
| 1391 "glDeleteTextures", | 1404 "glDeleteTextures", |
| 1392 reinterpret_cast<GLES2FunctionPointer>(glDeleteTextures), | 1405 reinterpret_cast<GLES2FunctionPointer>(glDeleteTextures), |
| 1393 }, | 1406 }, |
| 1394 { | 1407 { |
| 1395 "glDeleteTransformFeedbacks", | 1408 "glDeleteTransformFeedbacks", |
| 1396 reinterpret_cast<GLES2FunctionPointer>(glDeleteTransformFeedbacks), | 1409 reinterpret_cast<GLES2FunctionPointer>(glDeleteTransformFeedbacks), |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1429 }, | 1442 }, |
| 1430 { | 1443 { |
| 1431 "glEnable", | 1444 "glEnable", |
| 1432 reinterpret_cast<GLES2FunctionPointer>(glEnable), | 1445 reinterpret_cast<GLES2FunctionPointer>(glEnable), |
| 1433 }, | 1446 }, |
| 1434 { | 1447 { |
| 1435 "glEnableVertexAttribArray", | 1448 "glEnableVertexAttribArray", |
| 1436 reinterpret_cast<GLES2FunctionPointer>(glEnableVertexAttribArray), | 1449 reinterpret_cast<GLES2FunctionPointer>(glEnableVertexAttribArray), |
| 1437 }, | 1450 }, |
| 1438 { | 1451 { |
| 1452 "glFenceSync", |
| 1453 reinterpret_cast<GLES2FunctionPointer>(glFenceSync), |
| 1454 }, |
| 1455 { |
| 1439 "glFinish", | 1456 "glFinish", |
| 1440 reinterpret_cast<GLES2FunctionPointer>(glFinish), | 1457 reinterpret_cast<GLES2FunctionPointer>(glFinish), |
| 1441 }, | 1458 }, |
| 1442 { | 1459 { |
| 1443 "glFlush", | 1460 "glFlush", |
| 1444 reinterpret_cast<GLES2FunctionPointer>(glFlush), | 1461 reinterpret_cast<GLES2FunctionPointer>(glFlush), |
| 1445 }, | 1462 }, |
| 1446 { | 1463 { |
| 1447 "glFramebufferRenderbuffer", | 1464 "glFramebufferRenderbuffer", |
| 1448 reinterpret_cast<GLES2FunctionPointer>(glFramebufferRenderbuffer), | 1465 reinterpret_cast<GLES2FunctionPointer>(glFramebufferRenderbuffer), |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1638 }, | 1655 }, |
| 1639 { | 1656 { |
| 1640 "glIsSampler", | 1657 "glIsSampler", |
| 1641 reinterpret_cast<GLES2FunctionPointer>(glIsSampler), | 1658 reinterpret_cast<GLES2FunctionPointer>(glIsSampler), |
| 1642 }, | 1659 }, |
| 1643 { | 1660 { |
| 1644 "glIsShader", | 1661 "glIsShader", |
| 1645 reinterpret_cast<GLES2FunctionPointer>(glIsShader), | 1662 reinterpret_cast<GLES2FunctionPointer>(glIsShader), |
| 1646 }, | 1663 }, |
| 1647 { | 1664 { |
| 1665 "glIsSync", |
| 1666 reinterpret_cast<GLES2FunctionPointer>(glIsSync), |
| 1667 }, |
| 1668 { |
| 1648 "glIsTexture", | 1669 "glIsTexture", |
| 1649 reinterpret_cast<GLES2FunctionPointer>(glIsTexture), | 1670 reinterpret_cast<GLES2FunctionPointer>(glIsTexture), |
| 1650 }, | 1671 }, |
| 1651 { | 1672 { |
| 1652 "glIsTransformFeedback", | 1673 "glIsTransformFeedback", |
| 1653 reinterpret_cast<GLES2FunctionPointer>(glIsTransformFeedback), | 1674 reinterpret_cast<GLES2FunctionPointer>(glIsTransformFeedback), |
| 1654 }, | 1675 }, |
| 1655 { | 1676 { |
| 1656 "glLineWidth", | 1677 "glLineWidth", |
| 1657 reinterpret_cast<GLES2FunctionPointer>(glLineWidth), | 1678 reinterpret_cast<GLES2FunctionPointer>(glLineWidth), |
| (...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2310 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2331 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
| 2311 }, | 2332 }, |
| 2312 { | 2333 { |
| 2313 NULL, | 2334 NULL, |
| 2314 NULL, | 2335 NULL, |
| 2315 }, | 2336 }, |
| 2316 }; | 2337 }; |
| 2317 | 2338 |
| 2318 } // namespace gles2 | 2339 } // namespace gles2 |
| 2319 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2340 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |