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 1968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1979 GLfloat units) { | 1979 GLfloat units) { |
1980 MakeFunctionUnique("glPolygonOffset"); | 1980 MakeFunctionUnique("glPolygonOffset"); |
1981 interface_->PolygonOffset(factor, units); | 1981 interface_->PolygonOffset(factor, units); |
1982 } | 1982 } |
1983 | 1983 |
1984 void GL_BINDING_CALL MockGLInterface::Mock_glPopGroupMarkerEXT(void) { | 1984 void GL_BINDING_CALL MockGLInterface::Mock_glPopGroupMarkerEXT(void) { |
1985 MakeFunctionUnique("glPopGroupMarkerEXT"); | 1985 MakeFunctionUnique("glPopGroupMarkerEXT"); |
1986 interface_->PopGroupMarkerEXT(); | 1986 interface_->PopGroupMarkerEXT(); |
1987 } | 1987 } |
1988 | 1988 |
| 1989 void GL_BINDING_CALL |
| 1990 MockGLInterface::Mock_glPrimitiveRestartIndex(GLuint index) { |
| 1991 MakeFunctionUnique("glPrimitiveRestartIndex"); |
| 1992 interface_->PrimitiveRestartIndex(index); |
| 1993 } |
| 1994 |
1989 void GL_BINDING_CALL MockGLInterface::Mock_glProgramBinary(GLuint program, | 1995 void GL_BINDING_CALL MockGLInterface::Mock_glProgramBinary(GLuint program, |
1990 GLenum binaryFormat, | 1996 GLenum binaryFormat, |
1991 const GLvoid* binary, | 1997 const GLvoid* binary, |
1992 GLsizei length) { | 1998 GLsizei length) { |
1993 MakeFunctionUnique("glProgramBinary"); | 1999 MakeFunctionUnique("glProgramBinary"); |
1994 interface_->ProgramBinary(program, binaryFormat, binary, length); | 2000 interface_->ProgramBinary(program, binaryFormat, binary, length); |
1995 } | 2001 } |
1996 | 2002 |
1997 void GL_BINDING_CALL | 2003 void GL_BINDING_CALL |
1998 MockGLInterface::Mock_glProgramBinaryOES(GLuint program, | 2004 MockGLInterface::Mock_glProgramBinaryOES(GLuint program, |
(...skipping 1436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3435 if (strcmp(name, "glPauseTransformFeedback") == 0) | 3441 if (strcmp(name, "glPauseTransformFeedback") == 0) |
3436 return reinterpret_cast<void*>(Mock_glPauseTransformFeedback); | 3442 return reinterpret_cast<void*>(Mock_glPauseTransformFeedback); |
3437 if (strcmp(name, "glPixelStorei") == 0) | 3443 if (strcmp(name, "glPixelStorei") == 0) |
3438 return reinterpret_cast<void*>(Mock_glPixelStorei); | 3444 return reinterpret_cast<void*>(Mock_glPixelStorei); |
3439 if (strcmp(name, "glPointParameteri") == 0) | 3445 if (strcmp(name, "glPointParameteri") == 0) |
3440 return reinterpret_cast<void*>(Mock_glPointParameteri); | 3446 return reinterpret_cast<void*>(Mock_glPointParameteri); |
3441 if (strcmp(name, "glPolygonOffset") == 0) | 3447 if (strcmp(name, "glPolygonOffset") == 0) |
3442 return reinterpret_cast<void*>(Mock_glPolygonOffset); | 3448 return reinterpret_cast<void*>(Mock_glPolygonOffset); |
3443 if (strcmp(name, "glPopGroupMarkerEXT") == 0) | 3449 if (strcmp(name, "glPopGroupMarkerEXT") == 0) |
3444 return reinterpret_cast<void*>(Mock_glPopGroupMarkerEXT); | 3450 return reinterpret_cast<void*>(Mock_glPopGroupMarkerEXT); |
| 3451 if (strcmp(name, "glPrimitiveRestartIndex") == 0) |
| 3452 return reinterpret_cast<void*>(Mock_glPrimitiveRestartIndex); |
3445 if (strcmp(name, "glProgramBinary") == 0) | 3453 if (strcmp(name, "glProgramBinary") == 0) |
3446 return reinterpret_cast<void*>(Mock_glProgramBinary); | 3454 return reinterpret_cast<void*>(Mock_glProgramBinary); |
3447 if (strcmp(name, "glProgramBinaryOES") == 0) | 3455 if (strcmp(name, "glProgramBinaryOES") == 0) |
3448 return reinterpret_cast<void*>(Mock_glProgramBinaryOES); | 3456 return reinterpret_cast<void*>(Mock_glProgramBinaryOES); |
3449 if (strcmp(name, "glProgramParameteri") == 0) | 3457 if (strcmp(name, "glProgramParameteri") == 0) |
3450 return reinterpret_cast<void*>(Mock_glProgramParameteri); | 3458 return reinterpret_cast<void*>(Mock_glProgramParameteri); |
3451 if (strcmp(name, "glProgramPathFragmentInputGenNV") == 0) | 3459 if (strcmp(name, "glProgramPathFragmentInputGenNV") == 0) |
3452 return reinterpret_cast<void*>(Mock_glProgramPathFragmentInputGenNV); | 3460 return reinterpret_cast<void*>(Mock_glProgramPathFragmentInputGenNV); |
3453 if (strcmp(name, "glPushGroupMarkerEXT") == 0) | 3461 if (strcmp(name, "glPushGroupMarkerEXT") == 0) |
3454 return reinterpret_cast<void*>(Mock_glPushGroupMarkerEXT); | 3462 return reinterpret_cast<void*>(Mock_glPushGroupMarkerEXT); |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3664 if (strcmp(name, "glVertexAttribPointer") == 0) | 3672 if (strcmp(name, "glVertexAttribPointer") == 0) |
3665 return reinterpret_cast<void*>(Mock_glVertexAttribPointer); | 3673 return reinterpret_cast<void*>(Mock_glVertexAttribPointer); |
3666 if (strcmp(name, "glViewport") == 0) | 3674 if (strcmp(name, "glViewport") == 0) |
3667 return reinterpret_cast<void*>(Mock_glViewport); | 3675 return reinterpret_cast<void*>(Mock_glViewport); |
3668 if (strcmp(name, "glWaitSync") == 0) | 3676 if (strcmp(name, "glWaitSync") == 0) |
3669 return reinterpret_cast<void*>(Mock_glWaitSync); | 3677 return reinterpret_cast<void*>(Mock_glWaitSync); |
3670 return reinterpret_cast<void*>(&MockInvalidFunction); | 3678 return reinterpret_cast<void*>(&MockInvalidFunction); |
3671 } | 3679 } |
3672 | 3680 |
3673 } // namespace gfx | 3681 } // namespace gfx |
OLD | NEW |