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 1381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1392 } | 1392 } |
1393 void GLES2SwapInterval(GLint interval) { | 1393 void GLES2SwapInterval(GLint interval) { |
1394 gles2::GetGLContext()->SwapInterval(interval); | 1394 gles2::GetGLContext()->SwapInterval(interval); |
1395 } | 1395 } |
1396 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { | 1396 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { |
1397 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); | 1397 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); |
1398 } | 1398 } |
1399 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { | 1399 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { |
1400 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); | 1400 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); |
1401 } | 1401 } |
| 1402 GLuint GLES2GenPathsCHROMIUM(GLsizei range) { |
| 1403 return gles2::GetGLContext()->GenPathsCHROMIUM(range); |
| 1404 } |
| 1405 void GLES2DeletePathsCHROMIUM(GLuint path, GLsizei range) { |
| 1406 gles2::GetGLContext()->DeletePathsCHROMIUM(path, range); |
| 1407 } |
| 1408 GLboolean GLES2IsPathCHROMIUM(GLuint path) { |
| 1409 return gles2::GetGLContext()->IsPathCHROMIUM(path); |
| 1410 } |
| 1411 void GLES2PathCommandsCHROMIUM(GLuint path, |
| 1412 GLsizei numCommands, |
| 1413 const GLubyte* commands, |
| 1414 GLsizei numCoords, |
| 1415 GLenum coordType, |
| 1416 const GLvoid* coords) { |
| 1417 gles2::GetGLContext()->PathCommandsCHROMIUM(path, numCommands, commands, |
| 1418 numCoords, coordType, coords); |
| 1419 } |
| 1420 void GLES2PathParameterfCHROMIUM(GLuint path, GLenum pname, GLfloat value) { |
| 1421 gles2::GetGLContext()->PathParameterfCHROMIUM(path, pname, value); |
| 1422 } |
| 1423 void GLES2PathParameteriCHROMIUM(GLuint path, GLenum pname, GLint value) { |
| 1424 gles2::GetGLContext()->PathParameteriCHROMIUM(path, pname, value); |
| 1425 } |
| 1426 void GLES2PathStencilFuncCHROMIUM(GLenum func, GLint ref, GLuint mask) { |
| 1427 gles2::GetGLContext()->PathStencilFuncCHROMIUM(func, ref, mask); |
| 1428 } |
| 1429 void GLES2StencilFillPathCHROMIUM(GLuint path, GLenum fillMode, GLuint mask) { |
| 1430 gles2::GetGLContext()->StencilFillPathCHROMIUM(path, fillMode, mask); |
| 1431 } |
| 1432 void GLES2StencilStrokePathCHROMIUM(GLuint path, GLint reference, GLuint mask) { |
| 1433 gles2::GetGLContext()->StencilStrokePathCHROMIUM(path, reference, mask); |
| 1434 } |
| 1435 void GLES2CoverFillPathCHROMIUM(GLuint path, GLenum coverMode) { |
| 1436 gles2::GetGLContext()->CoverFillPathCHROMIUM(path, coverMode); |
| 1437 } |
| 1438 void GLES2CoverStrokePathCHROMIUM(GLuint path, GLenum coverMode) { |
| 1439 gles2::GetGLContext()->CoverStrokePathCHROMIUM(path, coverMode); |
| 1440 } |
| 1441 void GLES2StencilThenCoverFillPathCHROMIUM(GLuint path, |
| 1442 GLenum fillMode, |
| 1443 GLuint mask, |
| 1444 GLenum coverMode) { |
| 1445 gles2::GetGLContext()->StencilThenCoverFillPathCHROMIUM(path, fillMode, mask, |
| 1446 coverMode); |
| 1447 } |
| 1448 void GLES2StencilThenCoverStrokePathCHROMIUM(GLuint path, |
| 1449 GLint reference, |
| 1450 GLuint mask, |
| 1451 GLenum coverMode) { |
| 1452 gles2::GetGLContext()->StencilThenCoverStrokePathCHROMIUM(path, reference, |
| 1453 mask, coverMode); |
| 1454 } |
1402 GLenum GLES2GetGraphicsResetStatusKHR() { | 1455 GLenum GLES2GetGraphicsResetStatusKHR() { |
1403 return gles2::GetGLContext()->GetGraphicsResetStatusKHR(); | 1456 return gles2::GetGLContext()->GetGraphicsResetStatusKHR(); |
1404 } | 1457 } |
1405 void GLES2BlendBarrierKHR() { | 1458 void GLES2BlendBarrierKHR() { |
1406 gles2::GetGLContext()->BlendBarrierKHR(); | 1459 gles2::GetGLContext()->BlendBarrierKHR(); |
1407 } | 1460 } |
1408 | 1461 |
1409 namespace gles2 { | 1462 namespace gles2 { |
1410 | 1463 |
1411 extern const NameToFunc g_gles2_function_table[] = { | 1464 extern const NameToFunc g_gles2_function_table[] = { |
(...skipping 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2626 }, | 2679 }, |
2627 { | 2680 { |
2628 "glMatrixLoadfCHROMIUM", | 2681 "glMatrixLoadfCHROMIUM", |
2629 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), | 2682 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), |
2630 }, | 2683 }, |
2631 { | 2684 { |
2632 "glMatrixLoadIdentityCHROMIUM", | 2685 "glMatrixLoadIdentityCHROMIUM", |
2633 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), | 2686 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), |
2634 }, | 2687 }, |
2635 { | 2688 { |
| 2689 "glGenPathsCHROMIUM", |
| 2690 reinterpret_cast<GLES2FunctionPointer>(glGenPathsCHROMIUM), |
| 2691 }, |
| 2692 { |
| 2693 "glDeletePathsCHROMIUM", |
| 2694 reinterpret_cast<GLES2FunctionPointer>(glDeletePathsCHROMIUM), |
| 2695 }, |
| 2696 { |
| 2697 "glIsPathCHROMIUM", |
| 2698 reinterpret_cast<GLES2FunctionPointer>(glIsPathCHROMIUM), |
| 2699 }, |
| 2700 { |
| 2701 "glPathCommandsCHROMIUM", |
| 2702 reinterpret_cast<GLES2FunctionPointer>(glPathCommandsCHROMIUM), |
| 2703 }, |
| 2704 { |
| 2705 "glPathParameterfCHROMIUM", |
| 2706 reinterpret_cast<GLES2FunctionPointer>(glPathParameterfCHROMIUM), |
| 2707 }, |
| 2708 { |
| 2709 "glPathParameteriCHROMIUM", |
| 2710 reinterpret_cast<GLES2FunctionPointer>(glPathParameteriCHROMIUM), |
| 2711 }, |
| 2712 { |
| 2713 "glPathStencilFuncCHROMIUM", |
| 2714 reinterpret_cast<GLES2FunctionPointer>(glPathStencilFuncCHROMIUM), |
| 2715 }, |
| 2716 { |
| 2717 "glStencilFillPathCHROMIUM", |
| 2718 reinterpret_cast<GLES2FunctionPointer>(glStencilFillPathCHROMIUM), |
| 2719 }, |
| 2720 { |
| 2721 "glStencilStrokePathCHROMIUM", |
| 2722 reinterpret_cast<GLES2FunctionPointer>(glStencilStrokePathCHROMIUM), |
| 2723 }, |
| 2724 { |
| 2725 "glCoverFillPathCHROMIUM", |
| 2726 reinterpret_cast<GLES2FunctionPointer>(glCoverFillPathCHROMIUM), |
| 2727 }, |
| 2728 { |
| 2729 "glCoverStrokePathCHROMIUM", |
| 2730 reinterpret_cast<GLES2FunctionPointer>(glCoverStrokePathCHROMIUM), |
| 2731 }, |
| 2732 { |
| 2733 "glStencilThenCoverFillPathCHROMIUM", |
| 2734 reinterpret_cast<GLES2FunctionPointer>(glStencilThenCoverFillPathCHROMIUM), |
| 2735 }, |
| 2736 { |
| 2737 "glStencilThenCoverStrokePathCHROMIUM", |
| 2738 reinterpret_cast<GLES2FunctionPointer>( |
| 2739 glStencilThenCoverStrokePathCHROMIUM), |
| 2740 }, |
| 2741 { |
2636 "glGetGraphicsResetStatusKHR", | 2742 "glGetGraphicsResetStatusKHR", |
2637 reinterpret_cast<GLES2FunctionPointer>(glGetGraphicsResetStatusKHR), | 2743 reinterpret_cast<GLES2FunctionPointer>(glGetGraphicsResetStatusKHR), |
2638 }, | 2744 }, |
2639 { | 2745 { |
2640 "glBlendBarrierKHR", | 2746 "glBlendBarrierKHR", |
2641 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2747 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
2642 }, | 2748 }, |
2643 { | 2749 { |
2644 NULL, | 2750 NULL, |
2645 NULL, | 2751 NULL, |
2646 }, | 2752 }, |
2647 }; | 2753 }; |
2648 | 2754 |
2649 } // namespace gles2 | 2755 } // namespace gles2 |
2650 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2756 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |