| 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 457 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   468                                                                GLint zoffset, |   468                                                                GLint zoffset, | 
|   469                                                                GLint x, |   469                                                                GLint x, | 
|   470                                                                GLint y, |   470                                                                GLint y, | 
|   471                                                                GLsizei width, |   471                                                                GLsizei width, | 
|   472                                                                GLsizei height) { |   472                                                                GLsizei height) { | 
|   473   MakeFunctionUnique("glCopyTexSubImage3D"); |   473   MakeFunctionUnique("glCopyTexSubImage3D"); | 
|   474   interface_->CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, |   474   interface_->CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, | 
|   475                                 width, height); |   475                                 width, height); | 
|   476 } |   476 } | 
|   477  |   477  | 
 |   478 void GL_BINDING_CALL | 
 |   479 MockGLInterface::Mock_glCoverFillPathNV(GLuint path, GLenum coverMode) { | 
 |   480   MakeFunctionUnique("glCoverFillPathNV"); | 
 |   481   interface_->CoverFillPathNV(path, coverMode); | 
 |   482 } | 
 |   483  | 
 |   484 void GL_BINDING_CALL | 
 |   485 MockGLInterface::Mock_glCoverStrokePathNV(GLuint name, GLenum coverMode) { | 
 |   486   MakeFunctionUnique("glCoverStrokePathNV"); | 
 |   487   interface_->CoverStrokePathNV(name, coverMode); | 
 |   488 } | 
 |   489  | 
|   478 GLuint GL_BINDING_CALL MockGLInterface::Mock_glCreateProgram(void) { |   490 GLuint GL_BINDING_CALL MockGLInterface::Mock_glCreateProgram(void) { | 
|   479   MakeFunctionUnique("glCreateProgram"); |   491   MakeFunctionUnique("glCreateProgram"); | 
|   480   return interface_->CreateProgram(); |   492   return interface_->CreateProgram(); | 
|   481 } |   493 } | 
|   482  |   494  | 
|   483 GLuint GL_BINDING_CALL MockGLInterface::Mock_glCreateShader(GLenum type) { |   495 GLuint GL_BINDING_CALL MockGLInterface::Mock_glCreateShader(GLenum type) { | 
|   484   MakeFunctionUnique("glCreateShader"); |   496   MakeFunctionUnique("glCreateShader"); | 
|   485   return interface_->CreateShader(type); |   497   return interface_->CreateShader(type); | 
|   486 } |   498 } | 
|   487  |   499  | 
| (...skipping 27 matching lines...) Expand all  Loading... | 
|   515   interface_->DeleteFramebuffersEXT(n, framebuffers); |   527   interface_->DeleteFramebuffersEXT(n, framebuffers); | 
|   516 } |   528 } | 
|   517  |   529  | 
|   518 void GL_BINDING_CALL |   530 void GL_BINDING_CALL | 
|   519 MockGLInterface::Mock_glDeleteFramebuffersEXT(GLsizei n, |   531 MockGLInterface::Mock_glDeleteFramebuffersEXT(GLsizei n, | 
|   520                                               const GLuint* framebuffers) { |   532                                               const GLuint* framebuffers) { | 
|   521   MakeFunctionUnique("glDeleteFramebuffersEXT"); |   533   MakeFunctionUnique("glDeleteFramebuffersEXT"); | 
|   522   interface_->DeleteFramebuffersEXT(n, framebuffers); |   534   interface_->DeleteFramebuffersEXT(n, framebuffers); | 
|   523 } |   535 } | 
|   524  |   536  | 
 |   537 void GL_BINDING_CALL | 
 |   538 MockGLInterface::Mock_glDeletePathsNV(GLuint path, GLsizei range) { | 
 |   539   MakeFunctionUnique("glDeletePathsNV"); | 
 |   540   interface_->DeletePathsNV(path, range); | 
 |   541 } | 
 |   542  | 
|   525 void GL_BINDING_CALL MockGLInterface::Mock_glDeleteProgram(GLuint program) { |   543 void GL_BINDING_CALL MockGLInterface::Mock_glDeleteProgram(GLuint program) { | 
|   526   MakeFunctionUnique("glDeleteProgram"); |   544   MakeFunctionUnique("glDeleteProgram"); | 
|   527   interface_->DeleteProgram(program); |   545   interface_->DeleteProgram(program); | 
|   528 } |   546 } | 
|   529  |   547  | 
|   530 void GL_BINDING_CALL |   548 void GL_BINDING_CALL | 
|   531 MockGLInterface::Mock_glDeleteQueries(GLsizei n, const GLuint* ids) { |   549 MockGLInterface::Mock_glDeleteQueries(GLsizei n, const GLuint* ids) { | 
|   532   MakeFunctionUnique("glDeleteQueries"); |   550   MakeFunctionUnique("glDeleteQueries"); | 
|   533   interface_->DeleteQueries(n, ids); |   551   interface_->DeleteQueries(n, ids); | 
|   534 } |   552 } | 
| (...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   943   MakeFunctionUnique("glGenFramebuffers"); |   961   MakeFunctionUnique("glGenFramebuffers"); | 
|   944   interface_->GenFramebuffersEXT(n, framebuffers); |   962   interface_->GenFramebuffersEXT(n, framebuffers); | 
|   945 } |   963 } | 
|   946  |   964  | 
|   947 void GL_BINDING_CALL |   965 void GL_BINDING_CALL | 
|   948 MockGLInterface::Mock_glGenFramebuffersEXT(GLsizei n, GLuint* framebuffers) { |   966 MockGLInterface::Mock_glGenFramebuffersEXT(GLsizei n, GLuint* framebuffers) { | 
|   949   MakeFunctionUnique("glGenFramebuffersEXT"); |   967   MakeFunctionUnique("glGenFramebuffersEXT"); | 
|   950   interface_->GenFramebuffersEXT(n, framebuffers); |   968   interface_->GenFramebuffersEXT(n, framebuffers); | 
|   951 } |   969 } | 
|   952  |   970  | 
 |   971 GLuint GL_BINDING_CALL MockGLInterface::Mock_glGenPathsNV(GLsizei range) { | 
 |   972   MakeFunctionUnique("glGenPathsNV"); | 
 |   973   return interface_->GenPathsNV(range); | 
 |   974 } | 
 |   975  | 
|   953 void GL_BINDING_CALL |   976 void GL_BINDING_CALL | 
|   954 MockGLInterface::Mock_glGenQueries(GLsizei n, GLuint* ids) { |   977 MockGLInterface::Mock_glGenQueries(GLsizei n, GLuint* ids) { | 
|   955   MakeFunctionUnique("glGenQueries"); |   978   MakeFunctionUnique("glGenQueries"); | 
|   956   interface_->GenQueries(n, ids); |   979   interface_->GenQueries(n, ids); | 
|   957 } |   980 } | 
|   958  |   981  | 
|   959 void GL_BINDING_CALL |   982 void GL_BINDING_CALL | 
|   960 MockGLInterface::Mock_glGenQueriesARB(GLsizei n, GLuint* ids) { |   983 MockGLInterface::Mock_glGenQueriesARB(GLsizei n, GLuint* ids) { | 
|   961   MakeFunctionUnique("glGenQueriesARB"); |   984   MakeFunctionUnique("glGenQueriesARB"); | 
|   962   interface_->GenQueries(n, ids); |   985   interface_->GenQueries(n, ids); | 
| (...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1620   MakeFunctionUnique("glIsFramebuffer"); |  1643   MakeFunctionUnique("glIsFramebuffer"); | 
|  1621   return interface_->IsFramebufferEXT(framebuffer); |  1644   return interface_->IsFramebufferEXT(framebuffer); | 
|  1622 } |  1645 } | 
|  1623  |  1646  | 
|  1624 GLboolean GL_BINDING_CALL |  1647 GLboolean GL_BINDING_CALL | 
|  1625 MockGLInterface::Mock_glIsFramebufferEXT(GLuint framebuffer) { |  1648 MockGLInterface::Mock_glIsFramebufferEXT(GLuint framebuffer) { | 
|  1626   MakeFunctionUnique("glIsFramebufferEXT"); |  1649   MakeFunctionUnique("glIsFramebufferEXT"); | 
|  1627   return interface_->IsFramebufferEXT(framebuffer); |  1650   return interface_->IsFramebufferEXT(framebuffer); | 
|  1628 } |  1651 } | 
|  1629  |  1652  | 
 |  1653 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glIsPathNV(GLuint path) { | 
 |  1654   MakeFunctionUnique("glIsPathNV"); | 
 |  1655   return interface_->IsPathNV(path); | 
 |  1656 } | 
 |  1657  | 
|  1630 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glIsProgram(GLuint program) { |  1658 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glIsProgram(GLuint program) { | 
|  1631   MakeFunctionUnique("glIsProgram"); |  1659   MakeFunctionUnique("glIsProgram"); | 
|  1632   return interface_->IsProgram(program); |  1660   return interface_->IsProgram(program); | 
|  1633 } |  1661 } | 
|  1634  |  1662  | 
|  1635 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glIsQuery(GLuint query) { |  1663 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glIsQuery(GLuint query) { | 
|  1636   MakeFunctionUnique("glIsQuery"); |  1664   MakeFunctionUnique("glIsQuery"); | 
|  1637   return interface_->IsQuery(query); |  1665   return interface_->IsQuery(query); | 
|  1638 } |  1666 } | 
|  1639  |  1667  | 
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1747   MakeFunctionUnique("glMatrixLoadIdentityEXT"); |  1775   MakeFunctionUnique("glMatrixLoadIdentityEXT"); | 
|  1748   interface_->MatrixLoadIdentityEXT(matrixMode); |  1776   interface_->MatrixLoadIdentityEXT(matrixMode); | 
|  1749 } |  1777 } | 
|  1750  |  1778  | 
|  1751 void GL_BINDING_CALL |  1779 void GL_BINDING_CALL | 
|  1752 MockGLInterface::Mock_glMatrixLoadfEXT(GLenum matrixMode, const GLfloat* m) { |  1780 MockGLInterface::Mock_glMatrixLoadfEXT(GLenum matrixMode, const GLfloat* m) { | 
|  1753   MakeFunctionUnique("glMatrixLoadfEXT"); |  1781   MakeFunctionUnique("glMatrixLoadfEXT"); | 
|  1754   interface_->MatrixLoadfEXT(matrixMode, m); |  1782   interface_->MatrixLoadfEXT(matrixMode, m); | 
|  1755 } |  1783 } | 
|  1756  |  1784  | 
 |  1785 void GL_BINDING_CALL | 
 |  1786 MockGLInterface::Mock_glPathCommandsNV(GLuint path, | 
 |  1787                                        GLsizei numCommands, | 
 |  1788                                        const GLubyte* commands, | 
 |  1789                                        GLsizei numCoords, | 
 |  1790                                        GLenum coordType, | 
 |  1791                                        const GLvoid* coords) { | 
 |  1792   MakeFunctionUnique("glPathCommandsNV"); | 
 |  1793   interface_->PathCommandsNV(path, numCommands, commands, numCoords, coordType, | 
 |  1794                              coords); | 
 |  1795 } | 
 |  1796  | 
 |  1797 void GL_BINDING_CALL MockGLInterface::Mock_glPathParameterfNV(GLuint path, | 
 |  1798                                                               GLenum pname, | 
 |  1799                                                               GLfloat value) { | 
 |  1800   MakeFunctionUnique("glPathParameterfNV"); | 
 |  1801   interface_->PathParameterfNV(path, pname, value); | 
 |  1802 } | 
 |  1803  | 
 |  1804 void GL_BINDING_CALL MockGLInterface::Mock_glPathParameteriNV(GLuint path, | 
 |  1805                                                               GLenum pname, | 
 |  1806                                                               GLint value) { | 
 |  1807   MakeFunctionUnique("glPathParameteriNV"); | 
 |  1808   interface_->PathParameteriNV(path, pname, value); | 
 |  1809 } | 
 |  1810  | 
 |  1811 void GL_BINDING_CALL | 
 |  1812 MockGLInterface::Mock_glPathStencilFuncNV(GLenum func, GLint ref, GLuint mask) { | 
 |  1813   MakeFunctionUnique("glPathStencilFuncNV"); | 
 |  1814   interface_->PathStencilFuncNV(func, ref, mask); | 
 |  1815 } | 
 |  1816  | 
|  1757 void GL_BINDING_CALL MockGLInterface::Mock_glPauseTransformFeedback(void) { |  1817 void GL_BINDING_CALL MockGLInterface::Mock_glPauseTransformFeedback(void) { | 
|  1758   MakeFunctionUnique("glPauseTransformFeedback"); |  1818   MakeFunctionUnique("glPauseTransformFeedback"); | 
|  1759   interface_->PauseTransformFeedback(); |  1819   interface_->PauseTransformFeedback(); | 
|  1760 } |  1820 } | 
|  1761  |  1821  | 
|  1762 void GL_BINDING_CALL |  1822 void GL_BINDING_CALL | 
|  1763 MockGLInterface::Mock_glPixelStorei(GLenum pname, GLint param) { |  1823 MockGLInterface::Mock_glPixelStorei(GLenum pname, GLint param) { | 
|  1764   MakeFunctionUnique("glPixelStorei"); |  1824   MakeFunctionUnique("glPixelStorei"); | 
|  1765   interface_->PixelStorei(pname, param); |  1825   interface_->PixelStorei(pname, param); | 
|  1766 } |  1826 } | 
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1979  |  2039  | 
|  1980 void GL_BINDING_CALL |  2040 void GL_BINDING_CALL | 
|  1981 MockGLInterface::Mock_glShaderSource(GLuint shader, |  2041 MockGLInterface::Mock_glShaderSource(GLuint shader, | 
|  1982                                      GLsizei count, |  2042                                      GLsizei count, | 
|  1983                                      const char* const* str, |  2043                                      const char* const* str, | 
|  1984                                      const GLint* length) { |  2044                                      const GLint* length) { | 
|  1985   MakeFunctionUnique("glShaderSource"); |  2045   MakeFunctionUnique("glShaderSource"); | 
|  1986   interface_->ShaderSource(shader, count, str, length); |  2046   interface_->ShaderSource(shader, count, str, length); | 
|  1987 } |  2047 } | 
|  1988  |  2048  | 
 |  2049 void GL_BINDING_CALL MockGLInterface::Mock_glStencilFillPathNV(GLuint path, | 
 |  2050                                                                GLenum fillMode, | 
 |  2051                                                                GLuint mask) { | 
 |  2052   MakeFunctionUnique("glStencilFillPathNV"); | 
 |  2053   interface_->StencilFillPathNV(path, fillMode, mask); | 
 |  2054 } | 
 |  2055  | 
|  1989 void GL_BINDING_CALL |  2056 void GL_BINDING_CALL | 
|  1990 MockGLInterface::Mock_glStencilFunc(GLenum func, GLint ref, GLuint mask) { |  2057 MockGLInterface::Mock_glStencilFunc(GLenum func, GLint ref, GLuint mask) { | 
|  1991   MakeFunctionUnique("glStencilFunc"); |  2058   MakeFunctionUnique("glStencilFunc"); | 
|  1992   interface_->StencilFunc(func, ref, mask); |  2059   interface_->StencilFunc(func, ref, mask); | 
|  1993 } |  2060 } | 
|  1994  |  2061  | 
|  1995 void GL_BINDING_CALL MockGLInterface::Mock_glStencilFuncSeparate(GLenum face, |  2062 void GL_BINDING_CALL MockGLInterface::Mock_glStencilFuncSeparate(GLenum face, | 
|  1996                                                                  GLenum func, |  2063                                                                  GLenum func, | 
|  1997                                                                  GLint ref, |  2064                                                                  GLint ref, | 
|  1998                                                                  GLuint mask) { |  2065                                                                  GLuint mask) { | 
| (...skipping 19 matching lines...) Expand all  Loading... | 
|  2018 } |  2085 } | 
|  2019  |  2086  | 
|  2020 void GL_BINDING_CALL MockGLInterface::Mock_glStencilOpSeparate(GLenum face, |  2087 void GL_BINDING_CALL MockGLInterface::Mock_glStencilOpSeparate(GLenum face, | 
|  2021                                                                GLenum fail, |  2088                                                                GLenum fail, | 
|  2022                                                                GLenum zfail, |  2089                                                                GLenum zfail, | 
|  2023                                                                GLenum zpass) { |  2090                                                                GLenum zpass) { | 
|  2024   MakeFunctionUnique("glStencilOpSeparate"); |  2091   MakeFunctionUnique("glStencilOpSeparate"); | 
|  2025   interface_->StencilOpSeparate(face, fail, zfail, zpass); |  2092   interface_->StencilOpSeparate(face, fail, zfail, zpass); | 
|  2026 } |  2093 } | 
|  2027  |  2094  | 
 |  2095 void GL_BINDING_CALL | 
 |  2096 MockGLInterface::Mock_glStencilStrokePathNV(GLuint path, | 
 |  2097                                             GLint reference, | 
 |  2098                                             GLuint mask) { | 
 |  2099   MakeFunctionUnique("glStencilStrokePathNV"); | 
 |  2100   interface_->StencilStrokePathNV(path, reference, mask); | 
 |  2101 } | 
 |  2102  | 
 |  2103 void GL_BINDING_CALL | 
 |  2104 MockGLInterface::Mock_glStencilThenCoverFillPathNV(GLuint path, | 
 |  2105                                                    GLenum fillMode, | 
 |  2106                                                    GLuint mask, | 
 |  2107                                                    GLenum coverMode) { | 
 |  2108   MakeFunctionUnique("glStencilThenCoverFillPathNV"); | 
 |  2109   interface_->StencilThenCoverFillPathNV(path, fillMode, mask, coverMode); | 
 |  2110 } | 
 |  2111  | 
 |  2112 void GL_BINDING_CALL | 
 |  2113 MockGLInterface::Mock_glStencilThenCoverStrokePathNV(GLuint path, | 
 |  2114                                                      GLint reference, | 
 |  2115                                                      GLuint mask, | 
 |  2116                                                      GLenum coverMode) { | 
 |  2117   MakeFunctionUnique("glStencilThenCoverStrokePathNV"); | 
 |  2118   interface_->StencilThenCoverStrokePathNV(path, reference, mask, coverMode); | 
 |  2119 } | 
 |  2120  | 
|  2028 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glTestFenceAPPLE(GLuint fence) { |  2121 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glTestFenceAPPLE(GLuint fence) { | 
|  2029   MakeFunctionUnique("glTestFenceAPPLE"); |  2122   MakeFunctionUnique("glTestFenceAPPLE"); | 
|  2030   return interface_->TestFenceAPPLE(fence); |  2123   return interface_->TestFenceAPPLE(fence); | 
|  2031 } |  2124 } | 
|  2032  |  2125  | 
|  2033 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glTestFenceNV(GLuint fence) { |  2126 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glTestFenceNV(GLuint fence) { | 
|  2034   MakeFunctionUnique("glTestFenceNV"); |  2127   MakeFunctionUnique("glTestFenceNV"); | 
|  2035   return interface_->TestFenceNV(fence); |  2128   return interface_->TestFenceNV(fence); | 
|  2036 } |  2129 } | 
|  2037  |  2130  | 
| (...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2690   if (strcmp(name, "glCompressedTexSubImage3D") == 0) |  2783   if (strcmp(name, "glCompressedTexSubImage3D") == 0) | 
|  2691     return reinterpret_cast<void*>(Mock_glCompressedTexSubImage3D); |  2784     return reinterpret_cast<void*>(Mock_glCompressedTexSubImage3D); | 
|  2692   if (strcmp(name, "glCopyBufferSubData") == 0) |  2785   if (strcmp(name, "glCopyBufferSubData") == 0) | 
|  2693     return reinterpret_cast<void*>(Mock_glCopyBufferSubData); |  2786     return reinterpret_cast<void*>(Mock_glCopyBufferSubData); | 
|  2694   if (strcmp(name, "glCopyTexImage2D") == 0) |  2787   if (strcmp(name, "glCopyTexImage2D") == 0) | 
|  2695     return reinterpret_cast<void*>(Mock_glCopyTexImage2D); |  2788     return reinterpret_cast<void*>(Mock_glCopyTexImage2D); | 
|  2696   if (strcmp(name, "glCopyTexSubImage2D") == 0) |  2789   if (strcmp(name, "glCopyTexSubImage2D") == 0) | 
|  2697     return reinterpret_cast<void*>(Mock_glCopyTexSubImage2D); |  2790     return reinterpret_cast<void*>(Mock_glCopyTexSubImage2D); | 
|  2698   if (strcmp(name, "glCopyTexSubImage3D") == 0) |  2791   if (strcmp(name, "glCopyTexSubImage3D") == 0) | 
|  2699     return reinterpret_cast<void*>(Mock_glCopyTexSubImage3D); |  2792     return reinterpret_cast<void*>(Mock_glCopyTexSubImage3D); | 
 |  2793   if (strcmp(name, "glCoverFillPathNV") == 0) | 
 |  2794     return reinterpret_cast<void*>(Mock_glCoverFillPathNV); | 
 |  2795   if (strcmp(name, "glCoverStrokePathNV") == 0) | 
 |  2796     return reinterpret_cast<void*>(Mock_glCoverStrokePathNV); | 
|  2700   if (strcmp(name, "glCreateProgram") == 0) |  2797   if (strcmp(name, "glCreateProgram") == 0) | 
|  2701     return reinterpret_cast<void*>(Mock_glCreateProgram); |  2798     return reinterpret_cast<void*>(Mock_glCreateProgram); | 
|  2702   if (strcmp(name, "glCreateShader") == 0) |  2799   if (strcmp(name, "glCreateShader") == 0) | 
|  2703     return reinterpret_cast<void*>(Mock_glCreateShader); |  2800     return reinterpret_cast<void*>(Mock_glCreateShader); | 
|  2704   if (strcmp(name, "glCullFace") == 0) |  2801   if (strcmp(name, "glCullFace") == 0) | 
|  2705     return reinterpret_cast<void*>(Mock_glCullFace); |  2802     return reinterpret_cast<void*>(Mock_glCullFace); | 
|  2706   if (strcmp(name, "glDeleteBuffers") == 0) |  2803   if (strcmp(name, "glDeleteBuffers") == 0) | 
|  2707     return reinterpret_cast<void*>(Mock_glDeleteBuffers); |  2804     return reinterpret_cast<void*>(Mock_glDeleteBuffers); | 
|  2708   if (strcmp(name, "glDeleteFencesAPPLE") == 0) |  2805   if (strcmp(name, "glDeleteFencesAPPLE") == 0) | 
|  2709     return reinterpret_cast<void*>(Mock_glDeleteFencesAPPLE); |  2806     return reinterpret_cast<void*>(Mock_glDeleteFencesAPPLE); | 
|  2710   if (strcmp(name, "glDeleteFencesNV") == 0) |  2807   if (strcmp(name, "glDeleteFencesNV") == 0) | 
|  2711     return reinterpret_cast<void*>(Mock_glDeleteFencesNV); |  2808     return reinterpret_cast<void*>(Mock_glDeleteFencesNV); | 
|  2712   if (strcmp(name, "glDeleteFramebuffers") == 0) |  2809   if (strcmp(name, "glDeleteFramebuffers") == 0) | 
|  2713     return reinterpret_cast<void*>(Mock_glDeleteFramebuffers); |  2810     return reinterpret_cast<void*>(Mock_glDeleteFramebuffers); | 
|  2714   if (strcmp(name, "glDeleteFramebuffersEXT") == 0) |  2811   if (strcmp(name, "glDeleteFramebuffersEXT") == 0) | 
|  2715     return reinterpret_cast<void*>(Mock_glDeleteFramebuffersEXT); |  2812     return reinterpret_cast<void*>(Mock_glDeleteFramebuffersEXT); | 
 |  2813   if (strcmp(name, "glDeletePathsNV") == 0) | 
 |  2814     return reinterpret_cast<void*>(Mock_glDeletePathsNV); | 
|  2716   if (strcmp(name, "glDeleteProgram") == 0) |  2815   if (strcmp(name, "glDeleteProgram") == 0) | 
|  2717     return reinterpret_cast<void*>(Mock_glDeleteProgram); |  2816     return reinterpret_cast<void*>(Mock_glDeleteProgram); | 
|  2718   if (strcmp(name, "glDeleteQueries") == 0) |  2817   if (strcmp(name, "glDeleteQueries") == 0) | 
|  2719     return reinterpret_cast<void*>(Mock_glDeleteQueries); |  2818     return reinterpret_cast<void*>(Mock_glDeleteQueries); | 
|  2720   if (strcmp(name, "glDeleteQueriesARB") == 0) |  2819   if (strcmp(name, "glDeleteQueriesARB") == 0) | 
|  2721     return reinterpret_cast<void*>(Mock_glDeleteQueriesARB); |  2820     return reinterpret_cast<void*>(Mock_glDeleteQueriesARB); | 
|  2722   if (strcmp(name, "glDeleteQueriesEXT") == 0) |  2821   if (strcmp(name, "glDeleteQueriesEXT") == 0) | 
|  2723     return reinterpret_cast<void*>(Mock_glDeleteQueriesEXT); |  2822     return reinterpret_cast<void*>(Mock_glDeleteQueriesEXT); | 
|  2724   if (strcmp(name, "glDeleteRenderbuffers") == 0) |  2823   if (strcmp(name, "glDeleteRenderbuffers") == 0) | 
|  2725     return reinterpret_cast<void*>(Mock_glDeleteRenderbuffers); |  2824     return reinterpret_cast<void*>(Mock_glDeleteRenderbuffers); | 
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2830   if (strcmp(name, "glGenBuffers") == 0) |  2929   if (strcmp(name, "glGenBuffers") == 0) | 
|  2831     return reinterpret_cast<void*>(Mock_glGenBuffers); |  2930     return reinterpret_cast<void*>(Mock_glGenBuffers); | 
|  2832   if (strcmp(name, "glGenFencesAPPLE") == 0) |  2931   if (strcmp(name, "glGenFencesAPPLE") == 0) | 
|  2833     return reinterpret_cast<void*>(Mock_glGenFencesAPPLE); |  2932     return reinterpret_cast<void*>(Mock_glGenFencesAPPLE); | 
|  2834   if (strcmp(name, "glGenFencesNV") == 0) |  2933   if (strcmp(name, "glGenFencesNV") == 0) | 
|  2835     return reinterpret_cast<void*>(Mock_glGenFencesNV); |  2934     return reinterpret_cast<void*>(Mock_glGenFencesNV); | 
|  2836   if (strcmp(name, "glGenFramebuffers") == 0) |  2935   if (strcmp(name, "glGenFramebuffers") == 0) | 
|  2837     return reinterpret_cast<void*>(Mock_glGenFramebuffers); |  2936     return reinterpret_cast<void*>(Mock_glGenFramebuffers); | 
|  2838   if (strcmp(name, "glGenFramebuffersEXT") == 0) |  2937   if (strcmp(name, "glGenFramebuffersEXT") == 0) | 
|  2839     return reinterpret_cast<void*>(Mock_glGenFramebuffersEXT); |  2938     return reinterpret_cast<void*>(Mock_glGenFramebuffersEXT); | 
 |  2939   if (strcmp(name, "glGenPathsNV") == 0) | 
 |  2940     return reinterpret_cast<void*>(Mock_glGenPathsNV); | 
|  2840   if (strcmp(name, "glGenQueries") == 0) |  2941   if (strcmp(name, "glGenQueries") == 0) | 
|  2841     return reinterpret_cast<void*>(Mock_glGenQueries); |  2942     return reinterpret_cast<void*>(Mock_glGenQueries); | 
|  2842   if (strcmp(name, "glGenQueriesARB") == 0) |  2943   if (strcmp(name, "glGenQueriesARB") == 0) | 
|  2843     return reinterpret_cast<void*>(Mock_glGenQueriesARB); |  2944     return reinterpret_cast<void*>(Mock_glGenQueriesARB); | 
|  2844   if (strcmp(name, "glGenQueriesEXT") == 0) |  2945   if (strcmp(name, "glGenQueriesEXT") == 0) | 
|  2845     return reinterpret_cast<void*>(Mock_glGenQueriesEXT); |  2946     return reinterpret_cast<void*>(Mock_glGenQueriesEXT); | 
|  2846   if (strcmp(name, "glGenRenderbuffers") == 0) |  2947   if (strcmp(name, "glGenRenderbuffers") == 0) | 
|  2847     return reinterpret_cast<void*>(Mock_glGenRenderbuffers); |  2948     return reinterpret_cast<void*>(Mock_glGenRenderbuffers); | 
|  2848   if (strcmp(name, "glGenRenderbuffersEXT") == 0) |  2949   if (strcmp(name, "glGenRenderbuffersEXT") == 0) | 
|  2849     return reinterpret_cast<void*>(Mock_glGenRenderbuffersEXT); |  2950     return reinterpret_cast<void*>(Mock_glGenRenderbuffersEXT); | 
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  3013   if (strcmp(name, "glIsEnabled") == 0) |  3114   if (strcmp(name, "glIsEnabled") == 0) | 
|  3014     return reinterpret_cast<void*>(Mock_glIsEnabled); |  3115     return reinterpret_cast<void*>(Mock_glIsEnabled); | 
|  3015   if (strcmp(name, "glIsFenceAPPLE") == 0) |  3116   if (strcmp(name, "glIsFenceAPPLE") == 0) | 
|  3016     return reinterpret_cast<void*>(Mock_glIsFenceAPPLE); |  3117     return reinterpret_cast<void*>(Mock_glIsFenceAPPLE); | 
|  3017   if (strcmp(name, "glIsFenceNV") == 0) |  3118   if (strcmp(name, "glIsFenceNV") == 0) | 
|  3018     return reinterpret_cast<void*>(Mock_glIsFenceNV); |  3119     return reinterpret_cast<void*>(Mock_glIsFenceNV); | 
|  3019   if (strcmp(name, "glIsFramebuffer") == 0) |  3120   if (strcmp(name, "glIsFramebuffer") == 0) | 
|  3020     return reinterpret_cast<void*>(Mock_glIsFramebuffer); |  3121     return reinterpret_cast<void*>(Mock_glIsFramebuffer); | 
|  3021   if (strcmp(name, "glIsFramebufferEXT") == 0) |  3122   if (strcmp(name, "glIsFramebufferEXT") == 0) | 
|  3022     return reinterpret_cast<void*>(Mock_glIsFramebufferEXT); |  3123     return reinterpret_cast<void*>(Mock_glIsFramebufferEXT); | 
 |  3124   if (strcmp(name, "glIsPathNV") == 0) | 
 |  3125     return reinterpret_cast<void*>(Mock_glIsPathNV); | 
|  3023   if (strcmp(name, "glIsProgram") == 0) |  3126   if (strcmp(name, "glIsProgram") == 0) | 
|  3024     return reinterpret_cast<void*>(Mock_glIsProgram); |  3127     return reinterpret_cast<void*>(Mock_glIsProgram); | 
|  3025   if (strcmp(name, "glIsQuery") == 0) |  3128   if (strcmp(name, "glIsQuery") == 0) | 
|  3026     return reinterpret_cast<void*>(Mock_glIsQuery); |  3129     return reinterpret_cast<void*>(Mock_glIsQuery); | 
|  3027   if (strcmp(name, "glIsQueryARB") == 0) |  3130   if (strcmp(name, "glIsQueryARB") == 0) | 
|  3028     return reinterpret_cast<void*>(Mock_glIsQueryARB); |  3131     return reinterpret_cast<void*>(Mock_glIsQueryARB); | 
|  3029   if (strcmp(name, "glIsQueryEXT") == 0) |  3132   if (strcmp(name, "glIsQueryEXT") == 0) | 
|  3030     return reinterpret_cast<void*>(Mock_glIsQueryEXT); |  3133     return reinterpret_cast<void*>(Mock_glIsQueryEXT); | 
|  3031   if (strcmp(name, "glIsRenderbuffer") == 0) |  3134   if (strcmp(name, "glIsRenderbuffer") == 0) | 
|  3032     return reinterpret_cast<void*>(Mock_glIsRenderbuffer); |  3135     return reinterpret_cast<void*>(Mock_glIsRenderbuffer); | 
| (...skipping 24 matching lines...) Expand all  Loading... | 
|  3057   if (strcmp(name, "glMapBufferOES") == 0) |  3160   if (strcmp(name, "glMapBufferOES") == 0) | 
|  3058     return reinterpret_cast<void*>(Mock_glMapBufferOES); |  3161     return reinterpret_cast<void*>(Mock_glMapBufferOES); | 
|  3059   if (strcmp(name, "glMapBufferRange") == 0) |  3162   if (strcmp(name, "glMapBufferRange") == 0) | 
|  3060     return reinterpret_cast<void*>(Mock_glMapBufferRange); |  3163     return reinterpret_cast<void*>(Mock_glMapBufferRange); | 
|  3061   if (strcmp(name, "glMapBufferRangeEXT") == 0) |  3164   if (strcmp(name, "glMapBufferRangeEXT") == 0) | 
|  3062     return reinterpret_cast<void*>(Mock_glMapBufferRangeEXT); |  3165     return reinterpret_cast<void*>(Mock_glMapBufferRangeEXT); | 
|  3063   if (strcmp(name, "glMatrixLoadIdentityEXT") == 0) |  3166   if (strcmp(name, "glMatrixLoadIdentityEXT") == 0) | 
|  3064     return reinterpret_cast<void*>(Mock_glMatrixLoadIdentityEXT); |  3167     return reinterpret_cast<void*>(Mock_glMatrixLoadIdentityEXT); | 
|  3065   if (strcmp(name, "glMatrixLoadfEXT") == 0) |  3168   if (strcmp(name, "glMatrixLoadfEXT") == 0) | 
|  3066     return reinterpret_cast<void*>(Mock_glMatrixLoadfEXT); |  3169     return reinterpret_cast<void*>(Mock_glMatrixLoadfEXT); | 
 |  3170   if (strcmp(name, "glPathCommandsNV") == 0) | 
 |  3171     return reinterpret_cast<void*>(Mock_glPathCommandsNV); | 
 |  3172   if (strcmp(name, "glPathParameterfNV") == 0) | 
 |  3173     return reinterpret_cast<void*>(Mock_glPathParameterfNV); | 
 |  3174   if (strcmp(name, "glPathParameteriNV") == 0) | 
 |  3175     return reinterpret_cast<void*>(Mock_glPathParameteriNV); | 
 |  3176   if (strcmp(name, "glPathStencilFuncNV") == 0) | 
 |  3177     return reinterpret_cast<void*>(Mock_glPathStencilFuncNV); | 
|  3067   if (strcmp(name, "glPauseTransformFeedback") == 0) |  3178   if (strcmp(name, "glPauseTransformFeedback") == 0) | 
|  3068     return reinterpret_cast<void*>(Mock_glPauseTransformFeedback); |  3179     return reinterpret_cast<void*>(Mock_glPauseTransformFeedback); | 
|  3069   if (strcmp(name, "glPixelStorei") == 0) |  3180   if (strcmp(name, "glPixelStorei") == 0) | 
|  3070     return reinterpret_cast<void*>(Mock_glPixelStorei); |  3181     return reinterpret_cast<void*>(Mock_glPixelStorei); | 
|  3071   if (strcmp(name, "glPointParameteri") == 0) |  3182   if (strcmp(name, "glPointParameteri") == 0) | 
|  3072     return reinterpret_cast<void*>(Mock_glPointParameteri); |  3183     return reinterpret_cast<void*>(Mock_glPointParameteri); | 
|  3073   if (strcmp(name, "glPolygonOffset") == 0) |  3184   if (strcmp(name, "glPolygonOffset") == 0) | 
|  3074     return reinterpret_cast<void*>(Mock_glPolygonOffset); |  3185     return reinterpret_cast<void*>(Mock_glPolygonOffset); | 
|  3075   if (strcmp(name, "glPopGroupMarkerEXT") == 0) |  3186   if (strcmp(name, "glPopGroupMarkerEXT") == 0) | 
|  3076     return reinterpret_cast<void*>(Mock_glPopGroupMarkerEXT); |  3187     return reinterpret_cast<void*>(Mock_glPopGroupMarkerEXT); | 
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  3119   if (strcmp(name, "glScissor") == 0) |  3230   if (strcmp(name, "glScissor") == 0) | 
|  3120     return reinterpret_cast<void*>(Mock_glScissor); |  3231     return reinterpret_cast<void*>(Mock_glScissor); | 
|  3121   if (strcmp(name, "glSetFenceAPPLE") == 0) |  3232   if (strcmp(name, "glSetFenceAPPLE") == 0) | 
|  3122     return reinterpret_cast<void*>(Mock_glSetFenceAPPLE); |  3233     return reinterpret_cast<void*>(Mock_glSetFenceAPPLE); | 
|  3123   if (strcmp(name, "glSetFenceNV") == 0) |  3234   if (strcmp(name, "glSetFenceNV") == 0) | 
|  3124     return reinterpret_cast<void*>(Mock_glSetFenceNV); |  3235     return reinterpret_cast<void*>(Mock_glSetFenceNV); | 
|  3125   if (strcmp(name, "glShaderBinary") == 0) |  3236   if (strcmp(name, "glShaderBinary") == 0) | 
|  3126     return reinterpret_cast<void*>(Mock_glShaderBinary); |  3237     return reinterpret_cast<void*>(Mock_glShaderBinary); | 
|  3127   if (strcmp(name, "glShaderSource") == 0) |  3238   if (strcmp(name, "glShaderSource") == 0) | 
|  3128     return reinterpret_cast<void*>(Mock_glShaderSource); |  3239     return reinterpret_cast<void*>(Mock_glShaderSource); | 
 |  3240   if (strcmp(name, "glStencilFillPathNV") == 0) | 
 |  3241     return reinterpret_cast<void*>(Mock_glStencilFillPathNV); | 
|  3129   if (strcmp(name, "glStencilFunc") == 0) |  3242   if (strcmp(name, "glStencilFunc") == 0) | 
|  3130     return reinterpret_cast<void*>(Mock_glStencilFunc); |  3243     return reinterpret_cast<void*>(Mock_glStencilFunc); | 
|  3131   if (strcmp(name, "glStencilFuncSeparate") == 0) |  3244   if (strcmp(name, "glStencilFuncSeparate") == 0) | 
|  3132     return reinterpret_cast<void*>(Mock_glStencilFuncSeparate); |  3245     return reinterpret_cast<void*>(Mock_glStencilFuncSeparate); | 
|  3133   if (strcmp(name, "glStencilMask") == 0) |  3246   if (strcmp(name, "glStencilMask") == 0) | 
|  3134     return reinterpret_cast<void*>(Mock_glStencilMask); |  3247     return reinterpret_cast<void*>(Mock_glStencilMask); | 
|  3135   if (strcmp(name, "glStencilMaskSeparate") == 0) |  3248   if (strcmp(name, "glStencilMaskSeparate") == 0) | 
|  3136     return reinterpret_cast<void*>(Mock_glStencilMaskSeparate); |  3249     return reinterpret_cast<void*>(Mock_glStencilMaskSeparate); | 
|  3137   if (strcmp(name, "glStencilOp") == 0) |  3250   if (strcmp(name, "glStencilOp") == 0) | 
|  3138     return reinterpret_cast<void*>(Mock_glStencilOp); |  3251     return reinterpret_cast<void*>(Mock_glStencilOp); | 
|  3139   if (strcmp(name, "glStencilOpSeparate") == 0) |  3252   if (strcmp(name, "glStencilOpSeparate") == 0) | 
|  3140     return reinterpret_cast<void*>(Mock_glStencilOpSeparate); |  3253     return reinterpret_cast<void*>(Mock_glStencilOpSeparate); | 
 |  3254   if (strcmp(name, "glStencilStrokePathNV") == 0) | 
 |  3255     return reinterpret_cast<void*>(Mock_glStencilStrokePathNV); | 
 |  3256   if (strcmp(name, "glStencilThenCoverFillPathNV") == 0) | 
 |  3257     return reinterpret_cast<void*>(Mock_glStencilThenCoverFillPathNV); | 
 |  3258   if (strcmp(name, "glStencilThenCoverStrokePathNV") == 0) | 
 |  3259     return reinterpret_cast<void*>(Mock_glStencilThenCoverStrokePathNV); | 
|  3141   if (strcmp(name, "glTestFenceAPPLE") == 0) |  3260   if (strcmp(name, "glTestFenceAPPLE") == 0) | 
|  3142     return reinterpret_cast<void*>(Mock_glTestFenceAPPLE); |  3261     return reinterpret_cast<void*>(Mock_glTestFenceAPPLE); | 
|  3143   if (strcmp(name, "glTestFenceNV") == 0) |  3262   if (strcmp(name, "glTestFenceNV") == 0) | 
|  3144     return reinterpret_cast<void*>(Mock_glTestFenceNV); |  3263     return reinterpret_cast<void*>(Mock_glTestFenceNV); | 
|  3145   if (strcmp(name, "glTexImage2D") == 0) |  3264   if (strcmp(name, "glTexImage2D") == 0) | 
|  3146     return reinterpret_cast<void*>(Mock_glTexImage2D); |  3265     return reinterpret_cast<void*>(Mock_glTexImage2D); | 
|  3147   if (strcmp(name, "glTexImage3D") == 0) |  3266   if (strcmp(name, "glTexImage3D") == 0) | 
|  3148     return reinterpret_cast<void*>(Mock_glTexImage3D); |  3267     return reinterpret_cast<void*>(Mock_glTexImage3D); | 
|  3149   if (strcmp(name, "glTexParameterf") == 0) |  3268   if (strcmp(name, "glTexParameterf") == 0) | 
|  3150     return reinterpret_cast<void*>(Mock_glTexParameterf); |  3269     return reinterpret_cast<void*>(Mock_glTexParameterf); | 
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  3277   if (strcmp(name, "glVertexAttribPointer") == 0) |  3396   if (strcmp(name, "glVertexAttribPointer") == 0) | 
|  3278     return reinterpret_cast<void*>(Mock_glVertexAttribPointer); |  3397     return reinterpret_cast<void*>(Mock_glVertexAttribPointer); | 
|  3279   if (strcmp(name, "glViewport") == 0) |  3398   if (strcmp(name, "glViewport") == 0) | 
|  3280     return reinterpret_cast<void*>(Mock_glViewport); |  3399     return reinterpret_cast<void*>(Mock_glViewport); | 
|  3281   if (strcmp(name, "glWaitSync") == 0) |  3400   if (strcmp(name, "glWaitSync") == 0) | 
|  3282     return reinterpret_cast<void*>(Mock_glWaitSync); |  3401     return reinterpret_cast<void*>(Mock_glWaitSync); | 
|  3283   return reinterpret_cast<void*>(&MockInvalidFunction); |  3402   return reinterpret_cast<void*>(&MockInvalidFunction); | 
|  3284 } |  3403 } | 
|  3285  |  3404  | 
|  3286 }  // namespace gfx |  3405 }  // namespace gfx | 
| OLD | NEW |