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 1392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1403 } | 1403 } |
1404 void GLES2SwapInterval(GLint interval) { | 1404 void GLES2SwapInterval(GLint interval) { |
1405 gles2::GetGLContext()->SwapInterval(interval); | 1405 gles2::GetGLContext()->SwapInterval(interval); |
1406 } | 1406 } |
1407 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { | 1407 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { |
1408 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); | 1408 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); |
1409 } | 1409 } |
1410 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { | 1410 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { |
1411 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); | 1411 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); |
1412 } | 1412 } |
| 1413 GLuint GLES2GenPathsCHROMIUM(GLsizei range) { |
| 1414 return gles2::GetGLContext()->GenPathsCHROMIUM(range); |
| 1415 } |
| 1416 void GLES2DeletePathsCHROMIUM(GLuint path, GLsizei range) { |
| 1417 gles2::GetGLContext()->DeletePathsCHROMIUM(path, range); |
| 1418 } |
| 1419 GLboolean GLES2IsPathCHROMIUM(GLuint path) { |
| 1420 return gles2::GetGLContext()->IsPathCHROMIUM(path); |
| 1421 } |
| 1422 void GLES2PathCommandsCHROMIUM(GLuint path, |
| 1423 GLsizei numCommands, |
| 1424 const GLubyte* commands, |
| 1425 GLsizei numCoords, |
| 1426 GLenum coordType, |
| 1427 const GLvoid* coords) { |
| 1428 gles2::GetGLContext()->PathCommandsCHROMIUM(path, numCommands, commands, |
| 1429 numCoords, coordType, coords); |
| 1430 } |
| 1431 void GLES2PathParameterfCHROMIUM(GLuint path, GLenum pname, GLfloat value) { |
| 1432 gles2::GetGLContext()->PathParameterfCHROMIUM(path, pname, value); |
| 1433 } |
| 1434 void GLES2PathParameteriCHROMIUM(GLuint path, GLenum pname, GLint value) { |
| 1435 gles2::GetGLContext()->PathParameteriCHROMIUM(path, pname, value); |
| 1436 } |
| 1437 void GLES2PathStencilFuncCHROMIUM(GLenum func, GLint ref, GLuint mask) { |
| 1438 gles2::GetGLContext()->PathStencilFuncCHROMIUM(func, ref, mask); |
| 1439 } |
| 1440 void GLES2StencilFillPathCHROMIUM(GLuint path, GLenum fillMode, GLuint mask) { |
| 1441 gles2::GetGLContext()->StencilFillPathCHROMIUM(path, fillMode, mask); |
| 1442 } |
| 1443 void GLES2StencilStrokePathCHROMIUM(GLuint path, GLint reference, GLuint mask) { |
| 1444 gles2::GetGLContext()->StencilStrokePathCHROMIUM(path, reference, mask); |
| 1445 } |
| 1446 void GLES2CoverFillPathCHROMIUM(GLuint path, GLenum coverMode) { |
| 1447 gles2::GetGLContext()->CoverFillPathCHROMIUM(path, coverMode); |
| 1448 } |
| 1449 void GLES2CoverStrokePathCHROMIUM(GLuint path, GLenum coverMode) { |
| 1450 gles2::GetGLContext()->CoverStrokePathCHROMIUM(path, coverMode); |
| 1451 } |
| 1452 void GLES2StencilThenCoverFillPathCHROMIUM(GLuint path, |
| 1453 GLenum fillMode, |
| 1454 GLuint mask, |
| 1455 GLenum coverMode) { |
| 1456 gles2::GetGLContext()->StencilThenCoverFillPathCHROMIUM(path, fillMode, mask, |
| 1457 coverMode); |
| 1458 } |
| 1459 void GLES2StencilThenCoverStrokePathCHROMIUM(GLuint path, |
| 1460 GLint reference, |
| 1461 GLuint mask, |
| 1462 GLenum coverMode) { |
| 1463 gles2::GetGLContext()->StencilThenCoverStrokePathCHROMIUM(path, reference, |
| 1464 mask, coverMode); |
| 1465 } |
1413 GLenum GLES2GetGraphicsResetStatusKHR() { | 1466 GLenum GLES2GetGraphicsResetStatusKHR() { |
1414 return gles2::GetGLContext()->GetGraphicsResetStatusKHR(); | 1467 return gles2::GetGLContext()->GetGraphicsResetStatusKHR(); |
1415 } | 1468 } |
1416 void GLES2BlendBarrierKHR() { | 1469 void GLES2BlendBarrierKHR() { |
1417 gles2::GetGLContext()->BlendBarrierKHR(); | 1470 gles2::GetGLContext()->BlendBarrierKHR(); |
1418 } | 1471 } |
1419 | 1472 |
1420 namespace gles2 { | 1473 namespace gles2 { |
1421 | 1474 |
1422 extern const NameToFunc g_gles2_function_table[] = { | 1475 extern const NameToFunc g_gles2_function_table[] = { |
(...skipping 1218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2641 }, | 2694 }, |
2642 { | 2695 { |
2643 "glMatrixLoadfCHROMIUM", | 2696 "glMatrixLoadfCHROMIUM", |
2644 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), | 2697 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), |
2645 }, | 2698 }, |
2646 { | 2699 { |
2647 "glMatrixLoadIdentityCHROMIUM", | 2700 "glMatrixLoadIdentityCHROMIUM", |
2648 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), | 2701 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), |
2649 }, | 2702 }, |
2650 { | 2703 { |
| 2704 "glGenPathsCHROMIUM", |
| 2705 reinterpret_cast<GLES2FunctionPointer>(glGenPathsCHROMIUM), |
| 2706 }, |
| 2707 { |
| 2708 "glDeletePathsCHROMIUM", |
| 2709 reinterpret_cast<GLES2FunctionPointer>(glDeletePathsCHROMIUM), |
| 2710 }, |
| 2711 { |
| 2712 "glIsPathCHROMIUM", |
| 2713 reinterpret_cast<GLES2FunctionPointer>(glIsPathCHROMIUM), |
| 2714 }, |
| 2715 { |
| 2716 "glPathCommandsCHROMIUM", |
| 2717 reinterpret_cast<GLES2FunctionPointer>(glPathCommandsCHROMIUM), |
| 2718 }, |
| 2719 { |
| 2720 "glPathParameterfCHROMIUM", |
| 2721 reinterpret_cast<GLES2FunctionPointer>(glPathParameterfCHROMIUM), |
| 2722 }, |
| 2723 { |
| 2724 "glPathParameteriCHROMIUM", |
| 2725 reinterpret_cast<GLES2FunctionPointer>(glPathParameteriCHROMIUM), |
| 2726 }, |
| 2727 { |
| 2728 "glPathStencilFuncCHROMIUM", |
| 2729 reinterpret_cast<GLES2FunctionPointer>(glPathStencilFuncCHROMIUM), |
| 2730 }, |
| 2731 { |
| 2732 "glStencilFillPathCHROMIUM", |
| 2733 reinterpret_cast<GLES2FunctionPointer>(glStencilFillPathCHROMIUM), |
| 2734 }, |
| 2735 { |
| 2736 "glStencilStrokePathCHROMIUM", |
| 2737 reinterpret_cast<GLES2FunctionPointer>(glStencilStrokePathCHROMIUM), |
| 2738 }, |
| 2739 { |
| 2740 "glCoverFillPathCHROMIUM", |
| 2741 reinterpret_cast<GLES2FunctionPointer>(glCoverFillPathCHROMIUM), |
| 2742 }, |
| 2743 { |
| 2744 "glCoverStrokePathCHROMIUM", |
| 2745 reinterpret_cast<GLES2FunctionPointer>(glCoverStrokePathCHROMIUM), |
| 2746 }, |
| 2747 { |
| 2748 "glStencilThenCoverFillPathCHROMIUM", |
| 2749 reinterpret_cast<GLES2FunctionPointer>(glStencilThenCoverFillPathCHROMIUM), |
| 2750 }, |
| 2751 { |
| 2752 "glStencilThenCoverStrokePathCHROMIUM", |
| 2753 reinterpret_cast<GLES2FunctionPointer>( |
| 2754 glStencilThenCoverStrokePathCHROMIUM), |
| 2755 }, |
| 2756 { |
2651 "glGetGraphicsResetStatusKHR", | 2757 "glGetGraphicsResetStatusKHR", |
2652 reinterpret_cast<GLES2FunctionPointer>(glGetGraphicsResetStatusKHR), | 2758 reinterpret_cast<GLES2FunctionPointer>(glGetGraphicsResetStatusKHR), |
2653 }, | 2759 }, |
2654 { | 2760 { |
2655 "glBlendBarrierKHR", | 2761 "glBlendBarrierKHR", |
2656 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2762 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
2657 }, | 2763 }, |
2658 { | 2764 { |
2659 NULL, | 2765 NULL, |
2660 NULL, | 2766 NULL, |
2661 }, | 2767 }, |
2662 }; | 2768 }; |
2663 | 2769 |
2664 } // namespace gles2 | 2770 } // namespace gles2 |
2665 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2771 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |