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 // ui/gl/generate_bindings.py | 6 // ui/gl/generate_bindings.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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 fn.glCompressedTexSubImage2DFn = | 88 fn.glCompressedTexSubImage2DFn = |
89 reinterpret_cast<glCompressedTexSubImage2DProc>( | 89 reinterpret_cast<glCompressedTexSubImage2DProc>( |
90 GetGLProcAddress("glCompressedTexSubImage2D")); | 90 GetGLProcAddress("glCompressedTexSubImage2D")); |
91 fn.glCompressedTexSubImage3DFn = 0; | 91 fn.glCompressedTexSubImage3DFn = 0; |
92 fn.glCopyBufferSubDataFn = 0; | 92 fn.glCopyBufferSubDataFn = 0; |
93 fn.glCopyTexImage2DFn = reinterpret_cast<glCopyTexImage2DProc>( | 93 fn.glCopyTexImage2DFn = reinterpret_cast<glCopyTexImage2DProc>( |
94 GetGLProcAddress("glCopyTexImage2D")); | 94 GetGLProcAddress("glCopyTexImage2D")); |
95 fn.glCopyTexSubImage2DFn = reinterpret_cast<glCopyTexSubImage2DProc>( | 95 fn.glCopyTexSubImage2DFn = reinterpret_cast<glCopyTexSubImage2DProc>( |
96 GetGLProcAddress("glCopyTexSubImage2D")); | 96 GetGLProcAddress("glCopyTexSubImage2D")); |
97 fn.glCopyTexSubImage3DFn = 0; | 97 fn.glCopyTexSubImage3DFn = 0; |
| 98 fn.glCoverFillPathInstancedNVFn = 0; |
98 fn.glCoverFillPathNVFn = 0; | 99 fn.glCoverFillPathNVFn = 0; |
| 100 fn.glCoverStrokePathInstancedNVFn = 0; |
99 fn.glCoverStrokePathNVFn = 0; | 101 fn.glCoverStrokePathNVFn = 0; |
100 fn.glCreateProgramFn = reinterpret_cast<glCreateProgramProc>( | 102 fn.glCreateProgramFn = reinterpret_cast<glCreateProgramProc>( |
101 GetGLProcAddress("glCreateProgram")); | 103 GetGLProcAddress("glCreateProgram")); |
102 fn.glCreateShaderFn = | 104 fn.glCreateShaderFn = |
103 reinterpret_cast<glCreateShaderProc>(GetGLProcAddress("glCreateShader")); | 105 reinterpret_cast<glCreateShaderProc>(GetGLProcAddress("glCreateShader")); |
104 fn.glCullFaceFn = | 106 fn.glCullFaceFn = |
105 reinterpret_cast<glCullFaceProc>(GetGLProcAddress("glCullFace")); | 107 reinterpret_cast<glCullFaceProc>(GetGLProcAddress("glCullFace")); |
106 fn.glDeleteBuffersARBFn = reinterpret_cast<glDeleteBuffersARBProc>( | 108 fn.glDeleteBuffersARBFn = reinterpret_cast<glDeleteBuffersARBProc>( |
107 GetGLProcAddress("glDeleteBuffers")); | 109 GetGLProcAddress("glDeleteBuffers")); |
108 fn.glDeleteFencesAPPLEFn = 0; | 110 fn.glDeleteFencesAPPLEFn = 0; |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 fn.glSamplerParameterfvFn = 0; | 324 fn.glSamplerParameterfvFn = 0; |
323 fn.glSamplerParameteriFn = 0; | 325 fn.glSamplerParameteriFn = 0; |
324 fn.glSamplerParameterivFn = 0; | 326 fn.glSamplerParameterivFn = 0; |
325 fn.glScissorFn = | 327 fn.glScissorFn = |
326 reinterpret_cast<glScissorProc>(GetGLProcAddress("glScissor")); | 328 reinterpret_cast<glScissorProc>(GetGLProcAddress("glScissor")); |
327 fn.glSetFenceAPPLEFn = 0; | 329 fn.glSetFenceAPPLEFn = 0; |
328 fn.glSetFenceNVFn = 0; | 330 fn.glSetFenceNVFn = 0; |
329 fn.glShaderBinaryFn = 0; | 331 fn.glShaderBinaryFn = 0; |
330 fn.glShaderSourceFn = | 332 fn.glShaderSourceFn = |
331 reinterpret_cast<glShaderSourceProc>(GetGLProcAddress("glShaderSource")); | 333 reinterpret_cast<glShaderSourceProc>(GetGLProcAddress("glShaderSource")); |
| 334 fn.glStencilFillPathInstancedNVFn = 0; |
332 fn.glStencilFillPathNVFn = 0; | 335 fn.glStencilFillPathNVFn = 0; |
333 fn.glStencilFuncFn = | 336 fn.glStencilFuncFn = |
334 reinterpret_cast<glStencilFuncProc>(GetGLProcAddress("glStencilFunc")); | 337 reinterpret_cast<glStencilFuncProc>(GetGLProcAddress("glStencilFunc")); |
335 fn.glStencilFuncSeparateFn = reinterpret_cast<glStencilFuncSeparateProc>( | 338 fn.glStencilFuncSeparateFn = reinterpret_cast<glStencilFuncSeparateProc>( |
336 GetGLProcAddress("glStencilFuncSeparate")); | 339 GetGLProcAddress("glStencilFuncSeparate")); |
337 fn.glStencilMaskFn = | 340 fn.glStencilMaskFn = |
338 reinterpret_cast<glStencilMaskProc>(GetGLProcAddress("glStencilMask")); | 341 reinterpret_cast<glStencilMaskProc>(GetGLProcAddress("glStencilMask")); |
339 fn.glStencilMaskSeparateFn = reinterpret_cast<glStencilMaskSeparateProc>( | 342 fn.glStencilMaskSeparateFn = reinterpret_cast<glStencilMaskSeparateProc>( |
340 GetGLProcAddress("glStencilMaskSeparate")); | 343 GetGLProcAddress("glStencilMaskSeparate")); |
341 fn.glStencilOpFn = | 344 fn.glStencilOpFn = |
342 reinterpret_cast<glStencilOpProc>(GetGLProcAddress("glStencilOp")); | 345 reinterpret_cast<glStencilOpProc>(GetGLProcAddress("glStencilOp")); |
343 fn.glStencilOpSeparateFn = reinterpret_cast<glStencilOpSeparateProc>( | 346 fn.glStencilOpSeparateFn = reinterpret_cast<glStencilOpSeparateProc>( |
344 GetGLProcAddress("glStencilOpSeparate")); | 347 GetGLProcAddress("glStencilOpSeparate")); |
| 348 fn.glStencilStrokePathInstancedNVFn = 0; |
345 fn.glStencilStrokePathNVFn = 0; | 349 fn.glStencilStrokePathNVFn = 0; |
| 350 fn.glStencilThenCoverFillPathInstancedNVFn = 0; |
346 fn.glStencilThenCoverFillPathNVFn = 0; | 351 fn.glStencilThenCoverFillPathNVFn = 0; |
| 352 fn.glStencilThenCoverStrokePathInstancedNVFn = 0; |
347 fn.glStencilThenCoverStrokePathNVFn = 0; | 353 fn.glStencilThenCoverStrokePathNVFn = 0; |
348 fn.glTestFenceAPPLEFn = 0; | 354 fn.glTestFenceAPPLEFn = 0; |
349 fn.glTestFenceNVFn = 0; | 355 fn.glTestFenceNVFn = 0; |
350 fn.glTexImage2DFn = | 356 fn.glTexImage2DFn = |
351 reinterpret_cast<glTexImage2DProc>(GetGLProcAddress("glTexImage2D")); | 357 reinterpret_cast<glTexImage2DProc>(GetGLProcAddress("glTexImage2D")); |
352 fn.glTexImage3DFn = 0; | 358 fn.glTexImage3DFn = 0; |
353 fn.glTexParameterfFn = reinterpret_cast<glTexParameterfProc>( | 359 fn.glTexParameterfFn = reinterpret_cast<glTexParameterfProc>( |
354 GetGLProcAddress("glTexParameterf")); | 360 GetGLProcAddress("glTexParameterf")); |
355 fn.glTexParameterfvFn = reinterpret_cast<glTexParameterfvProc>( | 361 fn.glTexParameterfvFn = reinterpret_cast<glTexParameterfvProc>( |
356 GetGLProcAddress("glTexParameterfv")); | 362 GetGLProcAddress("glTexParameterfv")); |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 fn.glCopyBufferSubDataFn = reinterpret_cast<glCopyBufferSubDataProc>( | 750 fn.glCopyBufferSubDataFn = reinterpret_cast<glCopyBufferSubDataProc>( |
745 GetGLProcAddress("glCopyBufferSubData")); | 751 GetGLProcAddress("glCopyBufferSubData")); |
746 } | 752 } |
747 | 753 |
748 debug_fn.glCopyTexSubImage3DFn = 0; | 754 debug_fn.glCopyTexSubImage3DFn = 0; |
749 if (!ver->is_es || ver->IsAtLeastGLES(3u, 0u)) { | 755 if (!ver->is_es || ver->IsAtLeastGLES(3u, 0u)) { |
750 fn.glCopyTexSubImage3DFn = reinterpret_cast<glCopyTexSubImage3DProc>( | 756 fn.glCopyTexSubImage3DFn = reinterpret_cast<glCopyTexSubImage3DProc>( |
751 GetGLProcAddress("glCopyTexSubImage3D")); | 757 GetGLProcAddress("glCopyTexSubImage3D")); |
752 } | 758 } |
753 | 759 |
| 760 debug_fn.glCoverFillPathInstancedNVFn = 0; |
| 761 if (ext.b_GL_NV_path_rendering) { |
| 762 fn.glCoverFillPathInstancedNVFn = |
| 763 reinterpret_cast<glCoverFillPathInstancedNVProc>( |
| 764 GetGLProcAddress("glCoverFillPathInstancedNV")); |
| 765 } |
| 766 |
754 debug_fn.glCoverFillPathNVFn = 0; | 767 debug_fn.glCoverFillPathNVFn = 0; |
755 if (ext.b_GL_NV_path_rendering) { | 768 if (ext.b_GL_NV_path_rendering) { |
756 fn.glCoverFillPathNVFn = reinterpret_cast<glCoverFillPathNVProc>( | 769 fn.glCoverFillPathNVFn = reinterpret_cast<glCoverFillPathNVProc>( |
757 GetGLProcAddress("glCoverFillPathNV")); | 770 GetGLProcAddress("glCoverFillPathNV")); |
758 } | 771 } |
759 | 772 |
| 773 debug_fn.glCoverStrokePathInstancedNVFn = 0; |
| 774 if (ext.b_GL_NV_path_rendering) { |
| 775 fn.glCoverStrokePathInstancedNVFn = |
| 776 reinterpret_cast<glCoverStrokePathInstancedNVProc>( |
| 777 GetGLProcAddress("glCoverStrokePathInstancedNV")); |
| 778 } |
| 779 |
760 debug_fn.glCoverStrokePathNVFn = 0; | 780 debug_fn.glCoverStrokePathNVFn = 0; |
761 if (ext.b_GL_NV_path_rendering) { | 781 if (ext.b_GL_NV_path_rendering) { |
762 fn.glCoverStrokePathNVFn = reinterpret_cast<glCoverStrokePathNVProc>( | 782 fn.glCoverStrokePathNVFn = reinterpret_cast<glCoverStrokePathNVProc>( |
763 GetGLProcAddress("glCoverStrokePathNV")); | 783 GetGLProcAddress("glCoverStrokePathNV")); |
764 } | 784 } |
765 | 785 |
766 debug_fn.glDeleteFencesAPPLEFn = 0; | 786 debug_fn.glDeleteFencesAPPLEFn = 0; |
767 if (ext.b_GL_APPLE_fence) { | 787 if (ext.b_GL_APPLE_fence) { |
768 fn.glDeleteFencesAPPLEFn = reinterpret_cast<glDeleteFencesAPPLEProc>( | 788 fn.glDeleteFencesAPPLEFn = reinterpret_cast<glDeleteFencesAPPLEProc>( |
769 GetGLProcAddress("glDeleteFencesAPPLE")); | 789 GetGLProcAddress("glDeleteFencesAPPLE")); |
(...skipping 882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1652 fn.glSetFenceNVFn = | 1672 fn.glSetFenceNVFn = |
1653 reinterpret_cast<glSetFenceNVProc>(GetGLProcAddress("glSetFenceNV")); | 1673 reinterpret_cast<glSetFenceNVProc>(GetGLProcAddress("glSetFenceNV")); |
1654 } | 1674 } |
1655 | 1675 |
1656 debug_fn.glShaderBinaryFn = 0; | 1676 debug_fn.glShaderBinaryFn = 0; |
1657 if (ver->IsAtLeastGL(4u, 1u) || ver->is_es) { | 1677 if (ver->IsAtLeastGL(4u, 1u) || ver->is_es) { |
1658 fn.glShaderBinaryFn = reinterpret_cast<glShaderBinaryProc>( | 1678 fn.glShaderBinaryFn = reinterpret_cast<glShaderBinaryProc>( |
1659 GetGLProcAddress("glShaderBinary")); | 1679 GetGLProcAddress("glShaderBinary")); |
1660 } | 1680 } |
1661 | 1681 |
| 1682 debug_fn.glStencilFillPathInstancedNVFn = 0; |
| 1683 if (ext.b_GL_NV_path_rendering) { |
| 1684 fn.glStencilFillPathInstancedNVFn = |
| 1685 reinterpret_cast<glStencilFillPathInstancedNVProc>( |
| 1686 GetGLProcAddress("glStencilFillPathInstancedNV")); |
| 1687 } |
| 1688 |
1662 debug_fn.glStencilFillPathNVFn = 0; | 1689 debug_fn.glStencilFillPathNVFn = 0; |
1663 if (ext.b_GL_NV_path_rendering) { | 1690 if (ext.b_GL_NV_path_rendering) { |
1664 fn.glStencilFillPathNVFn = reinterpret_cast<glStencilFillPathNVProc>( | 1691 fn.glStencilFillPathNVFn = reinterpret_cast<glStencilFillPathNVProc>( |
1665 GetGLProcAddress("glStencilFillPathNV")); | 1692 GetGLProcAddress("glStencilFillPathNV")); |
1666 } | 1693 } |
1667 | 1694 |
| 1695 debug_fn.glStencilStrokePathInstancedNVFn = 0; |
| 1696 if (ext.b_GL_NV_path_rendering) { |
| 1697 fn.glStencilStrokePathInstancedNVFn = |
| 1698 reinterpret_cast<glStencilStrokePathInstancedNVProc>( |
| 1699 GetGLProcAddress("glStencilStrokePathInstancedNV")); |
| 1700 } |
| 1701 |
1668 debug_fn.glStencilStrokePathNVFn = 0; | 1702 debug_fn.glStencilStrokePathNVFn = 0; |
1669 if (ext.b_GL_NV_path_rendering) { | 1703 if (ext.b_GL_NV_path_rendering) { |
1670 fn.glStencilStrokePathNVFn = reinterpret_cast<glStencilStrokePathNVProc>( | 1704 fn.glStencilStrokePathNVFn = reinterpret_cast<glStencilStrokePathNVProc>( |
1671 GetGLProcAddress("glStencilStrokePathNV")); | 1705 GetGLProcAddress("glStencilStrokePathNV")); |
1672 } | 1706 } |
1673 | 1707 |
| 1708 debug_fn.glStencilThenCoverFillPathInstancedNVFn = 0; |
| 1709 if (ext.b_GL_NV_path_rendering) { |
| 1710 fn.glStencilThenCoverFillPathInstancedNVFn = |
| 1711 reinterpret_cast<glStencilThenCoverFillPathInstancedNVProc>( |
| 1712 GetGLProcAddress("glStencilThenCoverFillPathInstancedNV")); |
| 1713 } |
| 1714 |
1674 debug_fn.glStencilThenCoverFillPathNVFn = 0; | 1715 debug_fn.glStencilThenCoverFillPathNVFn = 0; |
1675 if (ext.b_GL_NV_path_rendering) { | 1716 if (ext.b_GL_NV_path_rendering) { |
1676 fn.glStencilThenCoverFillPathNVFn = | 1717 fn.glStencilThenCoverFillPathNVFn = |
1677 reinterpret_cast<glStencilThenCoverFillPathNVProc>( | 1718 reinterpret_cast<glStencilThenCoverFillPathNVProc>( |
1678 GetGLProcAddress("glStencilThenCoverFillPathNV")); | 1719 GetGLProcAddress("glStencilThenCoverFillPathNV")); |
1679 } | 1720 } |
1680 | 1721 |
| 1722 debug_fn.glStencilThenCoverStrokePathInstancedNVFn = 0; |
| 1723 if (ext.b_GL_NV_path_rendering) { |
| 1724 fn.glStencilThenCoverStrokePathInstancedNVFn = |
| 1725 reinterpret_cast<glStencilThenCoverStrokePathInstancedNVProc>( |
| 1726 GetGLProcAddress("glStencilThenCoverStrokePathInstancedNV")); |
| 1727 } |
| 1728 |
1681 debug_fn.glStencilThenCoverStrokePathNVFn = 0; | 1729 debug_fn.glStencilThenCoverStrokePathNVFn = 0; |
1682 if (ext.b_GL_NV_path_rendering) { | 1730 if (ext.b_GL_NV_path_rendering) { |
1683 fn.glStencilThenCoverStrokePathNVFn = | 1731 fn.glStencilThenCoverStrokePathNVFn = |
1684 reinterpret_cast<glStencilThenCoverStrokePathNVProc>( | 1732 reinterpret_cast<glStencilThenCoverStrokePathNVProc>( |
1685 GetGLProcAddress("glStencilThenCoverStrokePathNV")); | 1733 GetGLProcAddress("glStencilThenCoverStrokePathNV")); |
1686 } | 1734 } |
1687 | 1735 |
1688 debug_fn.glTestFenceAPPLEFn = 0; | 1736 debug_fn.glTestFenceAPPLEFn = 0; |
1689 if (ext.b_GL_APPLE_fence) { | 1737 if (ext.b_GL_APPLE_fence) { |
1690 fn.glTestFenceAPPLEFn = reinterpret_cast<glTestFenceAPPLEProc>( | 1738 fn.glTestFenceAPPLEFn = reinterpret_cast<glTestFenceAPPLEProc>( |
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2393 GLsizei height) { | 2441 GLsizei height) { |
2394 GL_SERVICE_LOG("glCopyTexSubImage3D" | 2442 GL_SERVICE_LOG("glCopyTexSubImage3D" |
2395 << "(" << GLEnums::GetStringEnum(target) << ", " << level | 2443 << "(" << GLEnums::GetStringEnum(target) << ", " << level |
2396 << ", " << xoffset << ", " << yoffset << ", " << zoffset | 2444 << ", " << xoffset << ", " << yoffset << ", " << zoffset |
2397 << ", " << x << ", " << y << ", " << width << ", " << height | 2445 << ", " << x << ", " << y << ", " << width << ", " << height |
2398 << ")"); | 2446 << ")"); |
2399 g_driver_gl.debug_fn.glCopyTexSubImage3DFn(target, level, xoffset, yoffset, | 2447 g_driver_gl.debug_fn.glCopyTexSubImage3DFn(target, level, xoffset, yoffset, |
2400 zoffset, x, y, width, height); | 2448 zoffset, x, y, width, height); |
2401 } | 2449 } |
2402 | 2450 |
| 2451 static void GL_BINDING_CALL |
| 2452 Debug_glCoverFillPathInstancedNV(GLsizei numPaths, |
| 2453 GLenum pathNameType, |
| 2454 const void* paths, |
| 2455 GLuint pathBase, |
| 2456 GLenum coverMode, |
| 2457 GLenum transformType, |
| 2458 const GLfloat* transformValues) { |
| 2459 GL_SERVICE_LOG("glCoverFillPathInstancedNV" |
| 2460 << "(" << numPaths << ", " |
| 2461 << GLEnums::GetStringEnum(pathNameType) << ", " |
| 2462 << static_cast<const void*>(paths) << ", " << pathBase << ", " |
| 2463 << GLEnums::GetStringEnum(coverMode) << ", " |
| 2464 << GLEnums::GetStringEnum(transformType) << ", " |
| 2465 << static_cast<const void*>(transformValues) << ")"); |
| 2466 g_driver_gl.debug_fn.glCoverFillPathInstancedNVFn( |
| 2467 numPaths, pathNameType, paths, pathBase, coverMode, transformType, |
| 2468 transformValues); |
| 2469 } |
| 2470 |
2403 static void GL_BINDING_CALL Debug_glCoverFillPathNV(GLuint path, | 2471 static void GL_BINDING_CALL Debug_glCoverFillPathNV(GLuint path, |
2404 GLenum coverMode) { | 2472 GLenum coverMode) { |
2405 GL_SERVICE_LOG("glCoverFillPathNV" | 2473 GL_SERVICE_LOG("glCoverFillPathNV" |
2406 << "(" << path << ", " << GLEnums::GetStringEnum(coverMode) | 2474 << "(" << path << ", " << GLEnums::GetStringEnum(coverMode) |
2407 << ")"); | 2475 << ")"); |
2408 g_driver_gl.debug_fn.glCoverFillPathNVFn(path, coverMode); | 2476 g_driver_gl.debug_fn.glCoverFillPathNVFn(path, coverMode); |
2409 } | 2477 } |
2410 | 2478 |
| 2479 static void GL_BINDING_CALL |
| 2480 Debug_glCoverStrokePathInstancedNV(GLsizei numPaths, |
| 2481 GLenum pathNameType, |
| 2482 const void* paths, |
| 2483 GLuint pathBase, |
| 2484 GLenum coverMode, |
| 2485 GLenum transformType, |
| 2486 const GLfloat* transformValues) { |
| 2487 GL_SERVICE_LOG("glCoverStrokePathInstancedNV" |
| 2488 << "(" << numPaths << ", " |
| 2489 << GLEnums::GetStringEnum(pathNameType) << ", " |
| 2490 << static_cast<const void*>(paths) << ", " << pathBase << ", " |
| 2491 << GLEnums::GetStringEnum(coverMode) << ", " |
| 2492 << GLEnums::GetStringEnum(transformType) << ", " |
| 2493 << static_cast<const void*>(transformValues) << ")"); |
| 2494 g_driver_gl.debug_fn.glCoverStrokePathInstancedNVFn( |
| 2495 numPaths, pathNameType, paths, pathBase, coverMode, transformType, |
| 2496 transformValues); |
| 2497 } |
| 2498 |
2411 static void GL_BINDING_CALL Debug_glCoverStrokePathNV(GLuint name, | 2499 static void GL_BINDING_CALL Debug_glCoverStrokePathNV(GLuint name, |
2412 GLenum coverMode) { | 2500 GLenum coverMode) { |
2413 GL_SERVICE_LOG("glCoverStrokePathNV" | 2501 GL_SERVICE_LOG("glCoverStrokePathNV" |
2414 << "(" << name << ", " << GLEnums::GetStringEnum(coverMode) | 2502 << "(" << name << ", " << GLEnums::GetStringEnum(coverMode) |
2415 << ")"); | 2503 << ")"); |
2416 g_driver_gl.debug_fn.glCoverStrokePathNVFn(name, coverMode); | 2504 g_driver_gl.debug_fn.glCoverStrokePathNVFn(name, coverMode); |
2417 } | 2505 } |
2418 | 2506 |
2419 static GLuint GL_BINDING_CALL Debug_glCreateProgram(void) { | 2507 static GLuint GL_BINDING_CALL Debug_glCreateProgram(void) { |
2420 GL_SERVICE_LOG("glCreateProgram" | 2508 GL_SERVICE_LOG("glCreateProgram" |
(...skipping 1604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4025 } else { | 4113 } else { |
4026 GL_SERVICE_LOG(" " << ii << ": ---\n" << str[ii] << "\n---"); | 4114 GL_SERVICE_LOG(" " << ii << ": ---\n" << str[ii] << "\n---"); |
4027 } | 4115 } |
4028 } else { | 4116 } else { |
4029 GL_SERVICE_LOG(" " << ii << ": NULL"); | 4117 GL_SERVICE_LOG(" " << ii << ": NULL"); |
4030 } | 4118 } |
4031 } | 4119 } |
4032 }); | 4120 }); |
4033 } | 4121 } |
4034 | 4122 |
| 4123 static void GL_BINDING_CALL |
| 4124 Debug_glStencilFillPathInstancedNV(GLsizei numPaths, |
| 4125 GLenum pathNameType, |
| 4126 const void* paths, |
| 4127 GLuint pathBase, |
| 4128 GLenum fillMode, |
| 4129 GLuint mask, |
| 4130 GLenum transformType, |
| 4131 const GLfloat* transformValues) { |
| 4132 GL_SERVICE_LOG("glStencilFillPathInstancedNV" |
| 4133 << "(" << numPaths << ", " |
| 4134 << GLEnums::GetStringEnum(pathNameType) << ", " |
| 4135 << static_cast<const void*>(paths) << ", " << pathBase << ", " |
| 4136 << GLEnums::GetStringEnum(fillMode) << ", " << mask << ", " |
| 4137 << GLEnums::GetStringEnum(transformType) << ", " |
| 4138 << static_cast<const void*>(transformValues) << ")"); |
| 4139 g_driver_gl.debug_fn.glStencilFillPathInstancedNVFn( |
| 4140 numPaths, pathNameType, paths, pathBase, fillMode, mask, transformType, |
| 4141 transformValues); |
| 4142 } |
| 4143 |
4035 static void GL_BINDING_CALL Debug_glStencilFillPathNV(GLuint path, | 4144 static void GL_BINDING_CALL Debug_glStencilFillPathNV(GLuint path, |
4036 GLenum fillMode, | 4145 GLenum fillMode, |
4037 GLuint mask) { | 4146 GLuint mask) { |
4038 GL_SERVICE_LOG("glStencilFillPathNV" | 4147 GL_SERVICE_LOG("glStencilFillPathNV" |
4039 << "(" << path << ", " << GLEnums::GetStringEnum(fillMode) | 4148 << "(" << path << ", " << GLEnums::GetStringEnum(fillMode) |
4040 << ", " << mask << ")"); | 4149 << ", " << mask << ")"); |
4041 g_driver_gl.debug_fn.glStencilFillPathNVFn(path, fillMode, mask); | 4150 g_driver_gl.debug_fn.glStencilFillPathNVFn(path, fillMode, mask); |
4042 } | 4151 } |
4043 | 4152 |
4044 static void GL_BINDING_CALL Debug_glStencilFunc(GLenum func, | 4153 static void GL_BINDING_CALL Debug_glStencilFunc(GLenum func, |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4089 GLenum zfail, | 4198 GLenum zfail, |
4090 GLenum zpass) { | 4199 GLenum zpass) { |
4091 GL_SERVICE_LOG("glStencilOpSeparate" | 4200 GL_SERVICE_LOG("glStencilOpSeparate" |
4092 << "(" << GLEnums::GetStringEnum(face) << ", " | 4201 << "(" << GLEnums::GetStringEnum(face) << ", " |
4093 << GLEnums::GetStringEnum(fail) << ", " | 4202 << GLEnums::GetStringEnum(fail) << ", " |
4094 << GLEnums::GetStringEnum(zfail) << ", " | 4203 << GLEnums::GetStringEnum(zfail) << ", " |
4095 << GLEnums::GetStringEnum(zpass) << ")"); | 4204 << GLEnums::GetStringEnum(zpass) << ")"); |
4096 g_driver_gl.debug_fn.glStencilOpSeparateFn(face, fail, zfail, zpass); | 4205 g_driver_gl.debug_fn.glStencilOpSeparateFn(face, fail, zfail, zpass); |
4097 } | 4206 } |
4098 | 4207 |
| 4208 static void GL_BINDING_CALL |
| 4209 Debug_glStencilStrokePathInstancedNV(GLsizei numPaths, |
| 4210 GLenum pathNameType, |
| 4211 const void* paths, |
| 4212 GLuint pathBase, |
| 4213 GLint ref, |
| 4214 GLuint mask, |
| 4215 GLenum transformType, |
| 4216 const GLfloat* transformValues) { |
| 4217 GL_SERVICE_LOG( |
| 4218 "glStencilStrokePathInstancedNV" |
| 4219 << "(" << numPaths << ", " << GLEnums::GetStringEnum(pathNameType) << ", " |
| 4220 << static_cast<const void*>(paths) << ", " << pathBase << ", " << ref |
| 4221 << ", " << mask << ", " << GLEnums::GetStringEnum(transformType) << ", " |
| 4222 << static_cast<const void*>(transformValues) << ")"); |
| 4223 g_driver_gl.debug_fn.glStencilStrokePathInstancedNVFn( |
| 4224 numPaths, pathNameType, paths, pathBase, ref, mask, transformType, |
| 4225 transformValues); |
| 4226 } |
| 4227 |
4099 static void GL_BINDING_CALL Debug_glStencilStrokePathNV(GLuint path, | 4228 static void GL_BINDING_CALL Debug_glStencilStrokePathNV(GLuint path, |
4100 GLint reference, | 4229 GLint reference, |
4101 GLuint mask) { | 4230 GLuint mask) { |
4102 GL_SERVICE_LOG("glStencilStrokePathNV" | 4231 GL_SERVICE_LOG("glStencilStrokePathNV" |
4103 << "(" << path << ", " << reference << ", " << mask << ")"); | 4232 << "(" << path << ", " << reference << ", " << mask << ")"); |
4104 g_driver_gl.debug_fn.glStencilStrokePathNVFn(path, reference, mask); | 4233 g_driver_gl.debug_fn.glStencilStrokePathNVFn(path, reference, mask); |
4105 } | 4234 } |
4106 | 4235 |
4107 static void GL_BINDING_CALL | 4236 static void GL_BINDING_CALL |
| 4237 Debug_glStencilThenCoverFillPathInstancedNV(GLsizei numPaths, |
| 4238 GLenum pathNameType, |
| 4239 const void* paths, |
| 4240 GLuint pathBase, |
| 4241 GLenum fillMode, |
| 4242 GLuint mask, |
| 4243 GLenum coverMode, |
| 4244 GLenum transformType, |
| 4245 const GLfloat* transformValues) { |
| 4246 GL_SERVICE_LOG("glStencilThenCoverFillPathInstancedNV" |
| 4247 << "(" << numPaths << ", " |
| 4248 << GLEnums::GetStringEnum(pathNameType) << ", " |
| 4249 << static_cast<const void*>(paths) << ", " << pathBase << ", " |
| 4250 << GLEnums::GetStringEnum(fillMode) << ", " << mask << ", " |
| 4251 << GLEnums::GetStringEnum(coverMode) << ", " |
| 4252 << GLEnums::GetStringEnum(transformType) << ", " |
| 4253 << static_cast<const void*>(transformValues) << ")"); |
| 4254 g_driver_gl.debug_fn.glStencilThenCoverFillPathInstancedNVFn( |
| 4255 numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, |
| 4256 transformType, transformValues); |
| 4257 } |
| 4258 |
| 4259 static void GL_BINDING_CALL |
4108 Debug_glStencilThenCoverFillPathNV(GLuint path, | 4260 Debug_glStencilThenCoverFillPathNV(GLuint path, |
4109 GLenum fillMode, | 4261 GLenum fillMode, |
4110 GLuint mask, | 4262 GLuint mask, |
4111 GLenum coverMode) { | 4263 GLenum coverMode) { |
4112 GL_SERVICE_LOG("glStencilThenCoverFillPathNV" | 4264 GL_SERVICE_LOG("glStencilThenCoverFillPathNV" |
4113 << "(" << path << ", " << GLEnums::GetStringEnum(fillMode) | 4265 << "(" << path << ", " << GLEnums::GetStringEnum(fillMode) |
4114 << ", " << mask << ", " << GLEnums::GetStringEnum(coverMode) | 4266 << ", " << mask << ", " << GLEnums::GetStringEnum(coverMode) |
4115 << ")"); | 4267 << ")"); |
4116 g_driver_gl.debug_fn.glStencilThenCoverFillPathNVFn(path, fillMode, mask, | 4268 g_driver_gl.debug_fn.glStencilThenCoverFillPathNVFn(path, fillMode, mask, |
4117 coverMode); | 4269 coverMode); |
4118 } | 4270 } |
4119 | 4271 |
4120 static void GL_BINDING_CALL | 4272 static void GL_BINDING_CALL |
| 4273 Debug_glStencilThenCoverStrokePathInstancedNV(GLsizei numPaths, |
| 4274 GLenum pathNameType, |
| 4275 const void* paths, |
| 4276 GLuint pathBase, |
| 4277 GLint ref, |
| 4278 GLuint mask, |
| 4279 GLenum coverMode, |
| 4280 GLenum transformType, |
| 4281 const GLfloat* transformValues) { |
| 4282 GL_SERVICE_LOG( |
| 4283 "glStencilThenCoverStrokePathInstancedNV" |
| 4284 << "(" << numPaths << ", " << GLEnums::GetStringEnum(pathNameType) << ", " |
| 4285 << static_cast<const void*>(paths) << ", " << pathBase << ", " << ref |
| 4286 << ", " << mask << ", " << GLEnums::GetStringEnum(coverMode) << ", " |
| 4287 << GLEnums::GetStringEnum(transformType) << ", " |
| 4288 << static_cast<const void*>(transformValues) << ")"); |
| 4289 g_driver_gl.debug_fn.glStencilThenCoverStrokePathInstancedNVFn( |
| 4290 numPaths, pathNameType, paths, pathBase, ref, mask, coverMode, |
| 4291 transformType, transformValues); |
| 4292 } |
| 4293 |
| 4294 static void GL_BINDING_CALL |
4121 Debug_glStencilThenCoverStrokePathNV(GLuint path, | 4295 Debug_glStencilThenCoverStrokePathNV(GLuint path, |
4122 GLint reference, | 4296 GLint reference, |
4123 GLuint mask, | 4297 GLuint mask, |
4124 GLenum coverMode) { | 4298 GLenum coverMode) { |
4125 GL_SERVICE_LOG("glStencilThenCoverStrokePathNV" | 4299 GL_SERVICE_LOG("glStencilThenCoverStrokePathNV" |
4126 << "(" << path << ", " << reference << ", " << mask << ", " | 4300 << "(" << path << ", " << reference << ", " << mask << ", " |
4127 << GLEnums::GetStringEnum(coverMode) << ")"); | 4301 << GLEnums::GetStringEnum(coverMode) << ")"); |
4128 g_driver_gl.debug_fn.glStencilThenCoverStrokePathNVFn(path, reference, mask, | 4302 g_driver_gl.debug_fn.glStencilThenCoverStrokePathNVFn(path, reference, mask, |
4129 coverMode); | 4303 coverMode); |
4130 } | 4304 } |
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4992 fn.glCopyTexImage2DFn = Debug_glCopyTexImage2D; | 5166 fn.glCopyTexImage2DFn = Debug_glCopyTexImage2D; |
4993 } | 5167 } |
4994 if (!debug_fn.glCopyTexSubImage2DFn) { | 5168 if (!debug_fn.glCopyTexSubImage2DFn) { |
4995 debug_fn.glCopyTexSubImage2DFn = fn.glCopyTexSubImage2DFn; | 5169 debug_fn.glCopyTexSubImage2DFn = fn.glCopyTexSubImage2DFn; |
4996 fn.glCopyTexSubImage2DFn = Debug_glCopyTexSubImage2D; | 5170 fn.glCopyTexSubImage2DFn = Debug_glCopyTexSubImage2D; |
4997 } | 5171 } |
4998 if (!debug_fn.glCopyTexSubImage3DFn) { | 5172 if (!debug_fn.glCopyTexSubImage3DFn) { |
4999 debug_fn.glCopyTexSubImage3DFn = fn.glCopyTexSubImage3DFn; | 5173 debug_fn.glCopyTexSubImage3DFn = fn.glCopyTexSubImage3DFn; |
5000 fn.glCopyTexSubImage3DFn = Debug_glCopyTexSubImage3D; | 5174 fn.glCopyTexSubImage3DFn = Debug_glCopyTexSubImage3D; |
5001 } | 5175 } |
| 5176 if (!debug_fn.glCoverFillPathInstancedNVFn) { |
| 5177 debug_fn.glCoverFillPathInstancedNVFn = fn.glCoverFillPathInstancedNVFn; |
| 5178 fn.glCoverFillPathInstancedNVFn = Debug_glCoverFillPathInstancedNV; |
| 5179 } |
5002 if (!debug_fn.glCoverFillPathNVFn) { | 5180 if (!debug_fn.glCoverFillPathNVFn) { |
5003 debug_fn.glCoverFillPathNVFn = fn.glCoverFillPathNVFn; | 5181 debug_fn.glCoverFillPathNVFn = fn.glCoverFillPathNVFn; |
5004 fn.glCoverFillPathNVFn = Debug_glCoverFillPathNV; | 5182 fn.glCoverFillPathNVFn = Debug_glCoverFillPathNV; |
5005 } | 5183 } |
| 5184 if (!debug_fn.glCoverStrokePathInstancedNVFn) { |
| 5185 debug_fn.glCoverStrokePathInstancedNVFn = fn.glCoverStrokePathInstancedNVFn; |
| 5186 fn.glCoverStrokePathInstancedNVFn = Debug_glCoverStrokePathInstancedNV; |
| 5187 } |
5006 if (!debug_fn.glCoverStrokePathNVFn) { | 5188 if (!debug_fn.glCoverStrokePathNVFn) { |
5007 debug_fn.glCoverStrokePathNVFn = fn.glCoverStrokePathNVFn; | 5189 debug_fn.glCoverStrokePathNVFn = fn.glCoverStrokePathNVFn; |
5008 fn.glCoverStrokePathNVFn = Debug_glCoverStrokePathNV; | 5190 fn.glCoverStrokePathNVFn = Debug_glCoverStrokePathNV; |
5009 } | 5191 } |
5010 if (!debug_fn.glCreateProgramFn) { | 5192 if (!debug_fn.glCreateProgramFn) { |
5011 debug_fn.glCreateProgramFn = fn.glCreateProgramFn; | 5193 debug_fn.glCreateProgramFn = fn.glCreateProgramFn; |
5012 fn.glCreateProgramFn = Debug_glCreateProgram; | 5194 fn.glCreateProgramFn = Debug_glCreateProgram; |
5013 } | 5195 } |
5014 if (!debug_fn.glCreateShaderFn) { | 5196 if (!debug_fn.glCreateShaderFn) { |
5015 debug_fn.glCreateShaderFn = fn.glCreateShaderFn; | 5197 debug_fn.glCreateShaderFn = fn.glCreateShaderFn; |
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5713 fn.glSetFenceNVFn = Debug_glSetFenceNV; | 5895 fn.glSetFenceNVFn = Debug_glSetFenceNV; |
5714 } | 5896 } |
5715 if (!debug_fn.glShaderBinaryFn) { | 5897 if (!debug_fn.glShaderBinaryFn) { |
5716 debug_fn.glShaderBinaryFn = fn.glShaderBinaryFn; | 5898 debug_fn.glShaderBinaryFn = fn.glShaderBinaryFn; |
5717 fn.glShaderBinaryFn = Debug_glShaderBinary; | 5899 fn.glShaderBinaryFn = Debug_glShaderBinary; |
5718 } | 5900 } |
5719 if (!debug_fn.glShaderSourceFn) { | 5901 if (!debug_fn.glShaderSourceFn) { |
5720 debug_fn.glShaderSourceFn = fn.glShaderSourceFn; | 5902 debug_fn.glShaderSourceFn = fn.glShaderSourceFn; |
5721 fn.glShaderSourceFn = Debug_glShaderSource; | 5903 fn.glShaderSourceFn = Debug_glShaderSource; |
5722 } | 5904 } |
| 5905 if (!debug_fn.glStencilFillPathInstancedNVFn) { |
| 5906 debug_fn.glStencilFillPathInstancedNVFn = fn.glStencilFillPathInstancedNVFn; |
| 5907 fn.glStencilFillPathInstancedNVFn = Debug_glStencilFillPathInstancedNV; |
| 5908 } |
5723 if (!debug_fn.glStencilFillPathNVFn) { | 5909 if (!debug_fn.glStencilFillPathNVFn) { |
5724 debug_fn.glStencilFillPathNVFn = fn.glStencilFillPathNVFn; | 5910 debug_fn.glStencilFillPathNVFn = fn.glStencilFillPathNVFn; |
5725 fn.glStencilFillPathNVFn = Debug_glStencilFillPathNV; | 5911 fn.glStencilFillPathNVFn = Debug_glStencilFillPathNV; |
5726 } | 5912 } |
5727 if (!debug_fn.glStencilFuncFn) { | 5913 if (!debug_fn.glStencilFuncFn) { |
5728 debug_fn.glStencilFuncFn = fn.glStencilFuncFn; | 5914 debug_fn.glStencilFuncFn = fn.glStencilFuncFn; |
5729 fn.glStencilFuncFn = Debug_glStencilFunc; | 5915 fn.glStencilFuncFn = Debug_glStencilFunc; |
5730 } | 5916 } |
5731 if (!debug_fn.glStencilFuncSeparateFn) { | 5917 if (!debug_fn.glStencilFuncSeparateFn) { |
5732 debug_fn.glStencilFuncSeparateFn = fn.glStencilFuncSeparateFn; | 5918 debug_fn.glStencilFuncSeparateFn = fn.glStencilFuncSeparateFn; |
5733 fn.glStencilFuncSeparateFn = Debug_glStencilFuncSeparate; | 5919 fn.glStencilFuncSeparateFn = Debug_glStencilFuncSeparate; |
5734 } | 5920 } |
5735 if (!debug_fn.glStencilMaskFn) { | 5921 if (!debug_fn.glStencilMaskFn) { |
5736 debug_fn.glStencilMaskFn = fn.glStencilMaskFn; | 5922 debug_fn.glStencilMaskFn = fn.glStencilMaskFn; |
5737 fn.glStencilMaskFn = Debug_glStencilMask; | 5923 fn.glStencilMaskFn = Debug_glStencilMask; |
5738 } | 5924 } |
5739 if (!debug_fn.glStencilMaskSeparateFn) { | 5925 if (!debug_fn.glStencilMaskSeparateFn) { |
5740 debug_fn.glStencilMaskSeparateFn = fn.glStencilMaskSeparateFn; | 5926 debug_fn.glStencilMaskSeparateFn = fn.glStencilMaskSeparateFn; |
5741 fn.glStencilMaskSeparateFn = Debug_glStencilMaskSeparate; | 5927 fn.glStencilMaskSeparateFn = Debug_glStencilMaskSeparate; |
5742 } | 5928 } |
5743 if (!debug_fn.glStencilOpFn) { | 5929 if (!debug_fn.glStencilOpFn) { |
5744 debug_fn.glStencilOpFn = fn.glStencilOpFn; | 5930 debug_fn.glStencilOpFn = fn.glStencilOpFn; |
5745 fn.glStencilOpFn = Debug_glStencilOp; | 5931 fn.glStencilOpFn = Debug_glStencilOp; |
5746 } | 5932 } |
5747 if (!debug_fn.glStencilOpSeparateFn) { | 5933 if (!debug_fn.glStencilOpSeparateFn) { |
5748 debug_fn.glStencilOpSeparateFn = fn.glStencilOpSeparateFn; | 5934 debug_fn.glStencilOpSeparateFn = fn.glStencilOpSeparateFn; |
5749 fn.glStencilOpSeparateFn = Debug_glStencilOpSeparate; | 5935 fn.glStencilOpSeparateFn = Debug_glStencilOpSeparate; |
5750 } | 5936 } |
| 5937 if (!debug_fn.glStencilStrokePathInstancedNVFn) { |
| 5938 debug_fn.glStencilStrokePathInstancedNVFn = |
| 5939 fn.glStencilStrokePathInstancedNVFn; |
| 5940 fn.glStencilStrokePathInstancedNVFn = Debug_glStencilStrokePathInstancedNV; |
| 5941 } |
5751 if (!debug_fn.glStencilStrokePathNVFn) { | 5942 if (!debug_fn.glStencilStrokePathNVFn) { |
5752 debug_fn.glStencilStrokePathNVFn = fn.glStencilStrokePathNVFn; | 5943 debug_fn.glStencilStrokePathNVFn = fn.glStencilStrokePathNVFn; |
5753 fn.glStencilStrokePathNVFn = Debug_glStencilStrokePathNV; | 5944 fn.glStencilStrokePathNVFn = Debug_glStencilStrokePathNV; |
5754 } | 5945 } |
| 5946 if (!debug_fn.glStencilThenCoverFillPathInstancedNVFn) { |
| 5947 debug_fn.glStencilThenCoverFillPathInstancedNVFn = |
| 5948 fn.glStencilThenCoverFillPathInstancedNVFn; |
| 5949 fn.glStencilThenCoverFillPathInstancedNVFn = |
| 5950 Debug_glStencilThenCoverFillPathInstancedNV; |
| 5951 } |
5755 if (!debug_fn.glStencilThenCoverFillPathNVFn) { | 5952 if (!debug_fn.glStencilThenCoverFillPathNVFn) { |
5756 debug_fn.glStencilThenCoverFillPathNVFn = fn.glStencilThenCoverFillPathNVFn; | 5953 debug_fn.glStencilThenCoverFillPathNVFn = fn.glStencilThenCoverFillPathNVFn; |
5757 fn.glStencilThenCoverFillPathNVFn = Debug_glStencilThenCoverFillPathNV; | 5954 fn.glStencilThenCoverFillPathNVFn = Debug_glStencilThenCoverFillPathNV; |
5758 } | 5955 } |
| 5956 if (!debug_fn.glStencilThenCoverStrokePathInstancedNVFn) { |
| 5957 debug_fn.glStencilThenCoverStrokePathInstancedNVFn = |
| 5958 fn.glStencilThenCoverStrokePathInstancedNVFn; |
| 5959 fn.glStencilThenCoverStrokePathInstancedNVFn = |
| 5960 Debug_glStencilThenCoverStrokePathInstancedNV; |
| 5961 } |
5759 if (!debug_fn.glStencilThenCoverStrokePathNVFn) { | 5962 if (!debug_fn.glStencilThenCoverStrokePathNVFn) { |
5760 debug_fn.glStencilThenCoverStrokePathNVFn = | 5963 debug_fn.glStencilThenCoverStrokePathNVFn = |
5761 fn.glStencilThenCoverStrokePathNVFn; | 5964 fn.glStencilThenCoverStrokePathNVFn; |
5762 fn.glStencilThenCoverStrokePathNVFn = Debug_glStencilThenCoverStrokePathNV; | 5965 fn.glStencilThenCoverStrokePathNVFn = Debug_glStencilThenCoverStrokePathNV; |
5763 } | 5966 } |
5764 if (!debug_fn.glTestFenceAPPLEFn) { | 5967 if (!debug_fn.glTestFenceAPPLEFn) { |
5765 debug_fn.glTestFenceAPPLEFn = fn.glTestFenceAPPLEFn; | 5968 debug_fn.glTestFenceAPPLEFn = fn.glTestFenceAPPLEFn; |
5766 fn.glTestFenceAPPLEFn = Debug_glTestFenceAPPLE; | 5969 fn.glTestFenceAPPLEFn = Debug_glTestFenceAPPLE; |
5767 } | 5970 } |
5768 if (!debug_fn.glTestFenceNVFn) { | 5971 if (!debug_fn.glTestFenceNVFn) { |
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6364 GLint yoffset, | 6567 GLint yoffset, |
6365 GLint zoffset, | 6568 GLint zoffset, |
6366 GLint x, | 6569 GLint x, |
6367 GLint y, | 6570 GLint y, |
6368 GLsizei width, | 6571 GLsizei width, |
6369 GLsizei height) { | 6572 GLsizei height) { |
6370 driver_->fn.glCopyTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, x, | 6573 driver_->fn.glCopyTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, x, |
6371 y, width, height); | 6574 y, width, height); |
6372 } | 6575 } |
6373 | 6576 |
| 6577 void GLApiBase::glCoverFillPathInstancedNVFn(GLsizei numPaths, |
| 6578 GLenum pathNameType, |
| 6579 const void* paths, |
| 6580 GLuint pathBase, |
| 6581 GLenum coverMode, |
| 6582 GLenum transformType, |
| 6583 const GLfloat* transformValues) { |
| 6584 driver_->fn.glCoverFillPathInstancedNVFn(numPaths, pathNameType, paths, |
| 6585 pathBase, coverMode, transformType, |
| 6586 transformValues); |
| 6587 } |
| 6588 |
6374 void GLApiBase::glCoverFillPathNVFn(GLuint path, GLenum coverMode) { | 6589 void GLApiBase::glCoverFillPathNVFn(GLuint path, GLenum coverMode) { |
6375 driver_->fn.glCoverFillPathNVFn(path, coverMode); | 6590 driver_->fn.glCoverFillPathNVFn(path, coverMode); |
6376 } | 6591 } |
6377 | 6592 |
| 6593 void GLApiBase::glCoverStrokePathInstancedNVFn(GLsizei numPaths, |
| 6594 GLenum pathNameType, |
| 6595 const void* paths, |
| 6596 GLuint pathBase, |
| 6597 GLenum coverMode, |
| 6598 GLenum transformType, |
| 6599 const GLfloat* transformValues) { |
| 6600 driver_->fn.glCoverStrokePathInstancedNVFn(numPaths, pathNameType, paths, |
| 6601 pathBase, coverMode, transformType, |
| 6602 transformValues); |
| 6603 } |
| 6604 |
6378 void GLApiBase::glCoverStrokePathNVFn(GLuint name, GLenum coverMode) { | 6605 void GLApiBase::glCoverStrokePathNVFn(GLuint name, GLenum coverMode) { |
6379 driver_->fn.glCoverStrokePathNVFn(name, coverMode); | 6606 driver_->fn.glCoverStrokePathNVFn(name, coverMode); |
6380 } | 6607 } |
6381 | 6608 |
6382 GLuint GLApiBase::glCreateProgramFn(void) { | 6609 GLuint GLApiBase::glCreateProgramFn(void) { |
6383 return driver_->fn.glCreateProgramFn(); | 6610 return driver_->fn.glCreateProgramFn(); |
6384 } | 6611 } |
6385 | 6612 |
6386 GLuint GLApiBase::glCreateShaderFn(GLenum type) { | 6613 GLuint GLApiBase::glCreateShaderFn(GLenum type) { |
6387 return driver_->fn.glCreateShaderFn(type); | 6614 return driver_->fn.glCreateShaderFn(type); |
(...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7298 driver_->fn.glShaderBinaryFn(n, shaders, binaryformat, binary, length); | 7525 driver_->fn.glShaderBinaryFn(n, shaders, binaryformat, binary, length); |
7299 } | 7526 } |
7300 | 7527 |
7301 void GLApiBase::glShaderSourceFn(GLuint shader, | 7528 void GLApiBase::glShaderSourceFn(GLuint shader, |
7302 GLsizei count, | 7529 GLsizei count, |
7303 const char* const* str, | 7530 const char* const* str, |
7304 const GLint* length) { | 7531 const GLint* length) { |
7305 driver_->fn.glShaderSourceFn(shader, count, str, length); | 7532 driver_->fn.glShaderSourceFn(shader, count, str, length); |
7306 } | 7533 } |
7307 | 7534 |
| 7535 void GLApiBase::glStencilFillPathInstancedNVFn(GLsizei numPaths, |
| 7536 GLenum pathNameType, |
| 7537 const void* paths, |
| 7538 GLuint pathBase, |
| 7539 GLenum fillMode, |
| 7540 GLuint mask, |
| 7541 GLenum transformType, |
| 7542 const GLfloat* transformValues) { |
| 7543 driver_->fn.glStencilFillPathInstancedNVFn(numPaths, pathNameType, paths, |
| 7544 pathBase, fillMode, mask, |
| 7545 transformType, transformValues); |
| 7546 } |
| 7547 |
7308 void GLApiBase::glStencilFillPathNVFn(GLuint path, | 7548 void GLApiBase::glStencilFillPathNVFn(GLuint path, |
7309 GLenum fillMode, | 7549 GLenum fillMode, |
7310 GLuint mask) { | 7550 GLuint mask) { |
7311 driver_->fn.glStencilFillPathNVFn(path, fillMode, mask); | 7551 driver_->fn.glStencilFillPathNVFn(path, fillMode, mask); |
7312 } | 7552 } |
7313 | 7553 |
7314 void GLApiBase::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) { | 7554 void GLApiBase::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) { |
7315 driver_->fn.glStencilFuncFn(func, ref, mask); | 7555 driver_->fn.glStencilFuncFn(func, ref, mask); |
7316 } | 7556 } |
7317 | 7557 |
(...skipping 16 matching lines...) Expand all Loading... |
7334 driver_->fn.glStencilOpFn(fail, zfail, zpass); | 7574 driver_->fn.glStencilOpFn(fail, zfail, zpass); |
7335 } | 7575 } |
7336 | 7576 |
7337 void GLApiBase::glStencilOpSeparateFn(GLenum face, | 7577 void GLApiBase::glStencilOpSeparateFn(GLenum face, |
7338 GLenum fail, | 7578 GLenum fail, |
7339 GLenum zfail, | 7579 GLenum zfail, |
7340 GLenum zpass) { | 7580 GLenum zpass) { |
7341 driver_->fn.glStencilOpSeparateFn(face, fail, zfail, zpass); | 7581 driver_->fn.glStencilOpSeparateFn(face, fail, zfail, zpass); |
7342 } | 7582 } |
7343 | 7583 |
| 7584 void GLApiBase::glStencilStrokePathInstancedNVFn( |
| 7585 GLsizei numPaths, |
| 7586 GLenum pathNameType, |
| 7587 const void* paths, |
| 7588 GLuint pathBase, |
| 7589 GLint ref, |
| 7590 GLuint mask, |
| 7591 GLenum transformType, |
| 7592 const GLfloat* transformValues) { |
| 7593 driver_->fn.glStencilStrokePathInstancedNVFn(numPaths, pathNameType, paths, |
| 7594 pathBase, ref, mask, |
| 7595 transformType, transformValues); |
| 7596 } |
| 7597 |
7344 void GLApiBase::glStencilStrokePathNVFn(GLuint path, | 7598 void GLApiBase::glStencilStrokePathNVFn(GLuint path, |
7345 GLint reference, | 7599 GLint reference, |
7346 GLuint mask) { | 7600 GLuint mask) { |
7347 driver_->fn.glStencilStrokePathNVFn(path, reference, mask); | 7601 driver_->fn.glStencilStrokePathNVFn(path, reference, mask); |
7348 } | 7602 } |
7349 | 7603 |
| 7604 void GLApiBase::glStencilThenCoverFillPathInstancedNVFn( |
| 7605 GLsizei numPaths, |
| 7606 GLenum pathNameType, |
| 7607 const void* paths, |
| 7608 GLuint pathBase, |
| 7609 GLenum fillMode, |
| 7610 GLuint mask, |
| 7611 GLenum coverMode, |
| 7612 GLenum transformType, |
| 7613 const GLfloat* transformValues) { |
| 7614 driver_->fn.glStencilThenCoverFillPathInstancedNVFn( |
| 7615 numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, |
| 7616 transformType, transformValues); |
| 7617 } |
| 7618 |
7350 void GLApiBase::glStencilThenCoverFillPathNVFn(GLuint path, | 7619 void GLApiBase::glStencilThenCoverFillPathNVFn(GLuint path, |
7351 GLenum fillMode, | 7620 GLenum fillMode, |
7352 GLuint mask, | 7621 GLuint mask, |
7353 GLenum coverMode) { | 7622 GLenum coverMode) { |
7354 driver_->fn.glStencilThenCoverFillPathNVFn(path, fillMode, mask, coverMode); | 7623 driver_->fn.glStencilThenCoverFillPathNVFn(path, fillMode, mask, coverMode); |
7355 } | 7624 } |
7356 | 7625 |
| 7626 void GLApiBase::glStencilThenCoverStrokePathInstancedNVFn( |
| 7627 GLsizei numPaths, |
| 7628 GLenum pathNameType, |
| 7629 const void* paths, |
| 7630 GLuint pathBase, |
| 7631 GLint ref, |
| 7632 GLuint mask, |
| 7633 GLenum coverMode, |
| 7634 GLenum transformType, |
| 7635 const GLfloat* transformValues) { |
| 7636 driver_->fn.glStencilThenCoverStrokePathInstancedNVFn( |
| 7637 numPaths, pathNameType, paths, pathBase, ref, mask, coverMode, |
| 7638 transformType, transformValues); |
| 7639 } |
| 7640 |
7357 void GLApiBase::glStencilThenCoverStrokePathNVFn(GLuint path, | 7641 void GLApiBase::glStencilThenCoverStrokePathNVFn(GLuint path, |
7358 GLint reference, | 7642 GLint reference, |
7359 GLuint mask, | 7643 GLuint mask, |
7360 GLenum coverMode) { | 7644 GLenum coverMode) { |
7361 driver_->fn.glStencilThenCoverStrokePathNVFn(path, reference, mask, | 7645 driver_->fn.glStencilThenCoverStrokePathNVFn(path, reference, mask, |
7362 coverMode); | 7646 coverMode); |
7363 } | 7647 } |
7364 | 7648 |
7365 GLboolean GLApiBase::glTestFenceAPPLEFn(GLuint fence) { | 7649 GLboolean GLApiBase::glTestFenceAPPLEFn(GLuint fence) { |
7366 return driver_->fn.glTestFenceAPPLEFn(fence); | 7650 return driver_->fn.glTestFenceAPPLEFn(fence); |
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8157 GLint zoffset, | 8441 GLint zoffset, |
8158 GLint x, | 8442 GLint x, |
8159 GLint y, | 8443 GLint y, |
8160 GLsizei width, | 8444 GLsizei width, |
8161 GLsizei height) { | 8445 GLsizei height) { |
8162 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCopyTexSubImage3D") | 8446 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCopyTexSubImage3D") |
8163 gl_api_->glCopyTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, x, y, | 8447 gl_api_->glCopyTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, x, y, |
8164 width, height); | 8448 width, height); |
8165 } | 8449 } |
8166 | 8450 |
| 8451 void TraceGLApi::glCoverFillPathInstancedNVFn(GLsizei numPaths, |
| 8452 GLenum pathNameType, |
| 8453 const void* paths, |
| 8454 GLuint pathBase, |
| 8455 GLenum coverMode, |
| 8456 GLenum transformType, |
| 8457 const GLfloat* transformValues) { |
| 8458 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCoverFillPathInstancedNV") |
| 8459 gl_api_->glCoverFillPathInstancedNVFn(numPaths, pathNameType, paths, pathBase, |
| 8460 coverMode, transformType, |
| 8461 transformValues); |
| 8462 } |
| 8463 |
8167 void TraceGLApi::glCoverFillPathNVFn(GLuint path, GLenum coverMode) { | 8464 void TraceGLApi::glCoverFillPathNVFn(GLuint path, GLenum coverMode) { |
8168 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCoverFillPathNV") | 8465 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCoverFillPathNV") |
8169 gl_api_->glCoverFillPathNVFn(path, coverMode); | 8466 gl_api_->glCoverFillPathNVFn(path, coverMode); |
8170 } | 8467 } |
8171 | 8468 |
| 8469 void TraceGLApi::glCoverStrokePathInstancedNVFn( |
| 8470 GLsizei numPaths, |
| 8471 GLenum pathNameType, |
| 8472 const void* paths, |
| 8473 GLuint pathBase, |
| 8474 GLenum coverMode, |
| 8475 GLenum transformType, |
| 8476 const GLfloat* transformValues) { |
| 8477 TRACE_EVENT_BINARY_EFFICIENT0("gpu", |
| 8478 "TraceGLAPI::glCoverStrokePathInstancedNV") |
| 8479 gl_api_->glCoverStrokePathInstancedNVFn(numPaths, pathNameType, paths, |
| 8480 pathBase, coverMode, transformType, |
| 8481 transformValues); |
| 8482 } |
| 8483 |
8172 void TraceGLApi::glCoverStrokePathNVFn(GLuint name, GLenum coverMode) { | 8484 void TraceGLApi::glCoverStrokePathNVFn(GLuint name, GLenum coverMode) { |
8173 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCoverStrokePathNV") | 8485 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCoverStrokePathNV") |
8174 gl_api_->glCoverStrokePathNVFn(name, coverMode); | 8486 gl_api_->glCoverStrokePathNVFn(name, coverMode); |
8175 } | 8487 } |
8176 | 8488 |
8177 GLuint TraceGLApi::glCreateProgramFn(void) { | 8489 GLuint TraceGLApi::glCreateProgramFn(void) { |
8178 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCreateProgram") | 8490 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glCreateProgram") |
8179 return gl_api_->glCreateProgramFn(); | 8491 return gl_api_->glCreateProgramFn(); |
8180 } | 8492 } |
8181 | 8493 |
(...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9285 } | 9597 } |
9286 | 9598 |
9287 void TraceGLApi::glShaderSourceFn(GLuint shader, | 9599 void TraceGLApi::glShaderSourceFn(GLuint shader, |
9288 GLsizei count, | 9600 GLsizei count, |
9289 const char* const* str, | 9601 const char* const* str, |
9290 const GLint* length) { | 9602 const GLint* length) { |
9291 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glShaderSource") | 9603 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glShaderSource") |
9292 gl_api_->glShaderSourceFn(shader, count, str, length); | 9604 gl_api_->glShaderSourceFn(shader, count, str, length); |
9293 } | 9605 } |
9294 | 9606 |
| 9607 void TraceGLApi::glStencilFillPathInstancedNVFn( |
| 9608 GLsizei numPaths, |
| 9609 GLenum pathNameType, |
| 9610 const void* paths, |
| 9611 GLuint pathBase, |
| 9612 GLenum fillMode, |
| 9613 GLuint mask, |
| 9614 GLenum transformType, |
| 9615 const GLfloat* transformValues) { |
| 9616 TRACE_EVENT_BINARY_EFFICIENT0("gpu", |
| 9617 "TraceGLAPI::glStencilFillPathInstancedNV") |
| 9618 gl_api_->glStencilFillPathInstancedNVFn(numPaths, pathNameType, paths, |
| 9619 pathBase, fillMode, mask, |
| 9620 transformType, transformValues); |
| 9621 } |
| 9622 |
9295 void TraceGLApi::glStencilFillPathNVFn(GLuint path, | 9623 void TraceGLApi::glStencilFillPathNVFn(GLuint path, |
9296 GLenum fillMode, | 9624 GLenum fillMode, |
9297 GLuint mask) { | 9625 GLuint mask) { |
9298 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilFillPathNV") | 9626 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilFillPathNV") |
9299 gl_api_->glStencilFillPathNVFn(path, fillMode, mask); | 9627 gl_api_->glStencilFillPathNVFn(path, fillMode, mask); |
9300 } | 9628 } |
9301 | 9629 |
9302 void TraceGLApi::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) { | 9630 void TraceGLApi::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) { |
9303 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilFunc") | 9631 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilFunc") |
9304 gl_api_->glStencilFuncFn(func, ref, mask); | 9632 gl_api_->glStencilFuncFn(func, ref, mask); |
(...skipping 23 matching lines...) Expand all Loading... |
9328 } | 9656 } |
9329 | 9657 |
9330 void TraceGLApi::glStencilOpSeparateFn(GLenum face, | 9658 void TraceGLApi::glStencilOpSeparateFn(GLenum face, |
9331 GLenum fail, | 9659 GLenum fail, |
9332 GLenum zfail, | 9660 GLenum zfail, |
9333 GLenum zpass) { | 9661 GLenum zpass) { |
9334 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilOpSeparate") | 9662 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilOpSeparate") |
9335 gl_api_->glStencilOpSeparateFn(face, fail, zfail, zpass); | 9663 gl_api_->glStencilOpSeparateFn(face, fail, zfail, zpass); |
9336 } | 9664 } |
9337 | 9665 |
| 9666 void TraceGLApi::glStencilStrokePathInstancedNVFn( |
| 9667 GLsizei numPaths, |
| 9668 GLenum pathNameType, |
| 9669 const void* paths, |
| 9670 GLuint pathBase, |
| 9671 GLint ref, |
| 9672 GLuint mask, |
| 9673 GLenum transformType, |
| 9674 const GLfloat* transformValues) { |
| 9675 TRACE_EVENT_BINARY_EFFICIENT0("gpu", |
| 9676 "TraceGLAPI::glStencilStrokePathInstancedNV") |
| 9677 gl_api_->glStencilStrokePathInstancedNVFn(numPaths, pathNameType, paths, |
| 9678 pathBase, ref, mask, transformType, |
| 9679 transformValues); |
| 9680 } |
| 9681 |
9338 void TraceGLApi::glStencilStrokePathNVFn(GLuint path, | 9682 void TraceGLApi::glStencilStrokePathNVFn(GLuint path, |
9339 GLint reference, | 9683 GLint reference, |
9340 GLuint mask) { | 9684 GLuint mask) { |
9341 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilStrokePathNV") | 9685 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glStencilStrokePathNV") |
9342 gl_api_->glStencilStrokePathNVFn(path, reference, mask); | 9686 gl_api_->glStencilStrokePathNVFn(path, reference, mask); |
9343 } | 9687 } |
9344 | 9688 |
| 9689 void TraceGLApi::glStencilThenCoverFillPathInstancedNVFn( |
| 9690 GLsizei numPaths, |
| 9691 GLenum pathNameType, |
| 9692 const void* paths, |
| 9693 GLuint pathBase, |
| 9694 GLenum fillMode, |
| 9695 GLuint mask, |
| 9696 GLenum coverMode, |
| 9697 GLenum transformType, |
| 9698 const GLfloat* transformValues) { |
| 9699 TRACE_EVENT_BINARY_EFFICIENT0( |
| 9700 "gpu", "TraceGLAPI::glStencilThenCoverFillPathInstancedNV") |
| 9701 gl_api_->glStencilThenCoverFillPathInstancedNVFn( |
| 9702 numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, |
| 9703 transformType, transformValues); |
| 9704 } |
| 9705 |
9345 void TraceGLApi::glStencilThenCoverFillPathNVFn(GLuint path, | 9706 void TraceGLApi::glStencilThenCoverFillPathNVFn(GLuint path, |
9346 GLenum fillMode, | 9707 GLenum fillMode, |
9347 GLuint mask, | 9708 GLuint mask, |
9348 GLenum coverMode) { | 9709 GLenum coverMode) { |
9349 TRACE_EVENT_BINARY_EFFICIENT0("gpu", | 9710 TRACE_EVENT_BINARY_EFFICIENT0("gpu", |
9350 "TraceGLAPI::glStencilThenCoverFillPathNV") | 9711 "TraceGLAPI::glStencilThenCoverFillPathNV") |
9351 gl_api_->glStencilThenCoverFillPathNVFn(path, fillMode, mask, coverMode); | 9712 gl_api_->glStencilThenCoverFillPathNVFn(path, fillMode, mask, coverMode); |
9352 } | 9713 } |
9353 | 9714 |
| 9715 void TraceGLApi::glStencilThenCoverStrokePathInstancedNVFn( |
| 9716 GLsizei numPaths, |
| 9717 GLenum pathNameType, |
| 9718 const void* paths, |
| 9719 GLuint pathBase, |
| 9720 GLint ref, |
| 9721 GLuint mask, |
| 9722 GLenum coverMode, |
| 9723 GLenum transformType, |
| 9724 const GLfloat* transformValues) { |
| 9725 TRACE_EVENT_BINARY_EFFICIENT0( |
| 9726 "gpu", "TraceGLAPI::glStencilThenCoverStrokePathInstancedNV") |
| 9727 gl_api_->glStencilThenCoverStrokePathInstancedNVFn( |
| 9728 numPaths, pathNameType, paths, pathBase, ref, mask, coverMode, |
| 9729 transformType, transformValues); |
| 9730 } |
| 9731 |
9354 void TraceGLApi::glStencilThenCoverStrokePathNVFn(GLuint path, | 9732 void TraceGLApi::glStencilThenCoverStrokePathNVFn(GLuint path, |
9355 GLint reference, | 9733 GLint reference, |
9356 GLuint mask, | 9734 GLuint mask, |
9357 GLenum coverMode) { | 9735 GLenum coverMode) { |
9358 TRACE_EVENT_BINARY_EFFICIENT0("gpu", | 9736 TRACE_EVENT_BINARY_EFFICIENT0("gpu", |
9359 "TraceGLAPI::glStencilThenCoverStrokePathNV") | 9737 "TraceGLAPI::glStencilThenCoverStrokePathNV") |
9360 gl_api_->glStencilThenCoverStrokePathNVFn(path, reference, mask, coverMode); | 9738 gl_api_->glStencilThenCoverStrokePathNVFn(path, reference, mask, coverMode); |
9361 } | 9739 } |
9362 | 9740 |
9363 GLboolean TraceGLApi::glTestFenceAPPLEFn(GLuint fence) { | 9741 GLboolean TraceGLApi::glTestFenceAPPLEFn(GLuint fence) { |
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10261 GLint x, | 10639 GLint x, |
10262 GLint y, | 10640 GLint y, |
10263 GLsizei width, | 10641 GLsizei width, |
10264 GLsizei height) { | 10642 GLsizei height) { |
10265 NOTREACHED() | 10643 NOTREACHED() |
10266 << "Trying to call glCopyTexSubImage3D() without current GL context"; | 10644 << "Trying to call glCopyTexSubImage3D() without current GL context"; |
10267 LOG(ERROR) | 10645 LOG(ERROR) |
10268 << "Trying to call glCopyTexSubImage3D() without current GL context"; | 10646 << "Trying to call glCopyTexSubImage3D() without current GL context"; |
10269 } | 10647 } |
10270 | 10648 |
| 10649 void NoContextGLApi::glCoverFillPathInstancedNVFn( |
| 10650 GLsizei numPaths, |
| 10651 GLenum pathNameType, |
| 10652 const void* paths, |
| 10653 GLuint pathBase, |
| 10654 GLenum coverMode, |
| 10655 GLenum transformType, |
| 10656 const GLfloat* transformValues) { |
| 10657 NOTREACHED() << "Trying to call glCoverFillPathInstancedNV() without current " |
| 10658 "GL context"; |
| 10659 LOG(ERROR) << "Trying to call glCoverFillPathInstancedNV() without current " |
| 10660 "GL context"; |
| 10661 } |
| 10662 |
10271 void NoContextGLApi::glCoverFillPathNVFn(GLuint path, GLenum coverMode) { | 10663 void NoContextGLApi::glCoverFillPathNVFn(GLuint path, GLenum coverMode) { |
10272 NOTREACHED() | 10664 NOTREACHED() |
10273 << "Trying to call glCoverFillPathNV() without current GL context"; | 10665 << "Trying to call glCoverFillPathNV() without current GL context"; |
10274 LOG(ERROR) << "Trying to call glCoverFillPathNV() without current GL context"; | 10666 LOG(ERROR) << "Trying to call glCoverFillPathNV() without current GL context"; |
10275 } | 10667 } |
10276 | 10668 |
| 10669 void NoContextGLApi::glCoverStrokePathInstancedNVFn( |
| 10670 GLsizei numPaths, |
| 10671 GLenum pathNameType, |
| 10672 const void* paths, |
| 10673 GLuint pathBase, |
| 10674 GLenum coverMode, |
| 10675 GLenum transformType, |
| 10676 const GLfloat* transformValues) { |
| 10677 NOTREACHED() << "Trying to call glCoverStrokePathInstancedNV() without " |
| 10678 "current GL context"; |
| 10679 LOG(ERROR) << "Trying to call glCoverStrokePathInstancedNV() without current " |
| 10680 "GL context"; |
| 10681 } |
| 10682 |
10277 void NoContextGLApi::glCoverStrokePathNVFn(GLuint name, GLenum coverMode) { | 10683 void NoContextGLApi::glCoverStrokePathNVFn(GLuint name, GLenum coverMode) { |
10278 NOTREACHED() | 10684 NOTREACHED() |
10279 << "Trying to call glCoverStrokePathNV() without current GL context"; | 10685 << "Trying to call glCoverStrokePathNV() without current GL context"; |
10280 LOG(ERROR) | 10686 LOG(ERROR) |
10281 << "Trying to call glCoverStrokePathNV() without current GL context"; | 10687 << "Trying to call glCoverStrokePathNV() without current GL context"; |
10282 } | 10688 } |
10283 | 10689 |
10284 GLuint NoContextGLApi::glCreateProgramFn(void) { | 10690 GLuint NoContextGLApi::glCreateProgramFn(void) { |
10285 NOTREACHED() << "Trying to call glCreateProgram() without current GL context"; | 10691 NOTREACHED() << "Trying to call glCreateProgram() without current GL context"; |
10286 LOG(ERROR) << "Trying to call glCreateProgram() without current GL context"; | 10692 LOG(ERROR) << "Trying to call glCreateProgram() without current GL context"; |
(...skipping 1313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11600 } | 12006 } |
11601 | 12007 |
11602 void NoContextGLApi::glShaderSourceFn(GLuint shader, | 12008 void NoContextGLApi::glShaderSourceFn(GLuint shader, |
11603 GLsizei count, | 12009 GLsizei count, |
11604 const char* const* str, | 12010 const char* const* str, |
11605 const GLint* length) { | 12011 const GLint* length) { |
11606 NOTREACHED() << "Trying to call glShaderSource() without current GL context"; | 12012 NOTREACHED() << "Trying to call glShaderSource() without current GL context"; |
11607 LOG(ERROR) << "Trying to call glShaderSource() without current GL context"; | 12013 LOG(ERROR) << "Trying to call glShaderSource() without current GL context"; |
11608 } | 12014 } |
11609 | 12015 |
| 12016 void NoContextGLApi::glStencilFillPathInstancedNVFn( |
| 12017 GLsizei numPaths, |
| 12018 GLenum pathNameType, |
| 12019 const void* paths, |
| 12020 GLuint pathBase, |
| 12021 GLenum fillMode, |
| 12022 GLuint mask, |
| 12023 GLenum transformType, |
| 12024 const GLfloat* transformValues) { |
| 12025 NOTREACHED() << "Trying to call glStencilFillPathInstancedNV() without " |
| 12026 "current GL context"; |
| 12027 LOG(ERROR) << "Trying to call glStencilFillPathInstancedNV() without current " |
| 12028 "GL context"; |
| 12029 } |
| 12030 |
11610 void NoContextGLApi::glStencilFillPathNVFn(GLuint path, | 12031 void NoContextGLApi::glStencilFillPathNVFn(GLuint path, |
11611 GLenum fillMode, | 12032 GLenum fillMode, |
11612 GLuint mask) { | 12033 GLuint mask) { |
11613 NOTREACHED() | 12034 NOTREACHED() |
11614 << "Trying to call glStencilFillPathNV() without current GL context"; | 12035 << "Trying to call glStencilFillPathNV() without current GL context"; |
11615 LOG(ERROR) | 12036 LOG(ERROR) |
11616 << "Trying to call glStencilFillPathNV() without current GL context"; | 12037 << "Trying to call glStencilFillPathNV() without current GL context"; |
11617 } | 12038 } |
11618 | 12039 |
11619 void NoContextGLApi::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) { | 12040 void NoContextGLApi::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11651 void NoContextGLApi::glStencilOpSeparateFn(GLenum face, | 12072 void NoContextGLApi::glStencilOpSeparateFn(GLenum face, |
11652 GLenum fail, | 12073 GLenum fail, |
11653 GLenum zfail, | 12074 GLenum zfail, |
11654 GLenum zpass) { | 12075 GLenum zpass) { |
11655 NOTREACHED() | 12076 NOTREACHED() |
11656 << "Trying to call glStencilOpSeparate() without current GL context"; | 12077 << "Trying to call glStencilOpSeparate() without current GL context"; |
11657 LOG(ERROR) | 12078 LOG(ERROR) |
11658 << "Trying to call glStencilOpSeparate() without current GL context"; | 12079 << "Trying to call glStencilOpSeparate() without current GL context"; |
11659 } | 12080 } |
11660 | 12081 |
| 12082 void NoContextGLApi::glStencilStrokePathInstancedNVFn( |
| 12083 GLsizei numPaths, |
| 12084 GLenum pathNameType, |
| 12085 const void* paths, |
| 12086 GLuint pathBase, |
| 12087 GLint ref, |
| 12088 GLuint mask, |
| 12089 GLenum transformType, |
| 12090 const GLfloat* transformValues) { |
| 12091 NOTREACHED() << "Trying to call glStencilStrokePathInstancedNV() without " |
| 12092 "current GL context"; |
| 12093 LOG(ERROR) << "Trying to call glStencilStrokePathInstancedNV() without " |
| 12094 "current GL context"; |
| 12095 } |
| 12096 |
11661 void NoContextGLApi::glStencilStrokePathNVFn(GLuint path, | 12097 void NoContextGLApi::glStencilStrokePathNVFn(GLuint path, |
11662 GLint reference, | 12098 GLint reference, |
11663 GLuint mask) { | 12099 GLuint mask) { |
11664 NOTREACHED() | 12100 NOTREACHED() |
11665 << "Trying to call glStencilStrokePathNV() without current GL context"; | 12101 << "Trying to call glStencilStrokePathNV() without current GL context"; |
11666 LOG(ERROR) | 12102 LOG(ERROR) |
11667 << "Trying to call glStencilStrokePathNV() without current GL context"; | 12103 << "Trying to call glStencilStrokePathNV() without current GL context"; |
11668 } | 12104 } |
11669 | 12105 |
| 12106 void NoContextGLApi::glStencilThenCoverFillPathInstancedNVFn( |
| 12107 GLsizei numPaths, |
| 12108 GLenum pathNameType, |
| 12109 const void* paths, |
| 12110 GLuint pathBase, |
| 12111 GLenum fillMode, |
| 12112 GLuint mask, |
| 12113 GLenum coverMode, |
| 12114 GLenum transformType, |
| 12115 const GLfloat* transformValues) { |
| 12116 NOTREACHED() << "Trying to call glStencilThenCoverFillPathInstancedNV() " |
| 12117 "without current GL context"; |
| 12118 LOG(ERROR) << "Trying to call glStencilThenCoverFillPathInstancedNV() " |
| 12119 "without current GL context"; |
| 12120 } |
| 12121 |
11670 void NoContextGLApi::glStencilThenCoverFillPathNVFn(GLuint path, | 12122 void NoContextGLApi::glStencilThenCoverFillPathNVFn(GLuint path, |
11671 GLenum fillMode, | 12123 GLenum fillMode, |
11672 GLuint mask, | 12124 GLuint mask, |
11673 GLenum coverMode) { | 12125 GLenum coverMode) { |
11674 NOTREACHED() << "Trying to call glStencilThenCoverFillPathNV() without " | 12126 NOTREACHED() << "Trying to call glStencilThenCoverFillPathNV() without " |
11675 "current GL context"; | 12127 "current GL context"; |
11676 LOG(ERROR) << "Trying to call glStencilThenCoverFillPathNV() without current " | 12128 LOG(ERROR) << "Trying to call glStencilThenCoverFillPathNV() without current " |
11677 "GL context"; | 12129 "GL context"; |
11678 } | 12130 } |
11679 | 12131 |
| 12132 void NoContextGLApi::glStencilThenCoverStrokePathInstancedNVFn( |
| 12133 GLsizei numPaths, |
| 12134 GLenum pathNameType, |
| 12135 const void* paths, |
| 12136 GLuint pathBase, |
| 12137 GLint ref, |
| 12138 GLuint mask, |
| 12139 GLenum coverMode, |
| 12140 GLenum transformType, |
| 12141 const GLfloat* transformValues) { |
| 12142 NOTREACHED() << "Trying to call glStencilThenCoverStrokePathInstancedNV() " |
| 12143 "without current GL context"; |
| 12144 LOG(ERROR) << "Trying to call glStencilThenCoverStrokePathInstancedNV() " |
| 12145 "without current GL context"; |
| 12146 } |
| 12147 |
11680 void NoContextGLApi::glStencilThenCoverStrokePathNVFn(GLuint path, | 12148 void NoContextGLApi::glStencilThenCoverStrokePathNVFn(GLuint path, |
11681 GLint reference, | 12149 GLint reference, |
11682 GLuint mask, | 12150 GLuint mask, |
11683 GLenum coverMode) { | 12151 GLenum coverMode) { |
11684 NOTREACHED() << "Trying to call glStencilThenCoverStrokePathNV() without " | 12152 NOTREACHED() << "Trying to call glStencilThenCoverStrokePathNV() without " |
11685 "current GL context"; | 12153 "current GL context"; |
11686 LOG(ERROR) << "Trying to call glStencilThenCoverStrokePathNV() without " | 12154 LOG(ERROR) << "Trying to call glStencilThenCoverStrokePathNV() without " |
11687 "current GL context"; | 12155 "current GL context"; |
11688 } | 12156 } |
11689 | 12157 |
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12224 | 12692 |
12225 GLenum NoContextGLApi::glWaitSyncFn(GLsync sync, | 12693 GLenum NoContextGLApi::glWaitSyncFn(GLsync sync, |
12226 GLbitfield flags, | 12694 GLbitfield flags, |
12227 GLuint64 timeout) { | 12695 GLuint64 timeout) { |
12228 NOTREACHED() << "Trying to call glWaitSync() without current GL context"; | 12696 NOTREACHED() << "Trying to call glWaitSync() without current GL context"; |
12229 LOG(ERROR) << "Trying to call glWaitSync() without current GL context"; | 12697 LOG(ERROR) << "Trying to call glWaitSync() without current GL context"; |
12230 return static_cast<GLenum>(0); | 12698 return static_cast<GLenum>(0); |
12231 } | 12699 } |
12232 | 12700 |
12233 } // namespace gfx | 12701 } // namespace gfx |
OLD | NEW |