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