Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: ui/gl/gl_bindings_autogen_mock.cc

Issue 2099503003: gl_bindings: add support for more extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address nits Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gl/gl_bindings_autogen_mock.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 interface_->BeginQuery(target, id); 56 interface_->BeginQuery(target, id);
57 } 57 }
58 58
59 void GL_BINDING_CALL 59 void GL_BINDING_CALL
60 MockGLInterface::Mock_glBeginTransformFeedback(GLenum primitiveMode) { 60 MockGLInterface::Mock_glBeginTransformFeedback(GLenum primitiveMode) {
61 MakeFunctionUnique("glBeginTransformFeedback"); 61 MakeFunctionUnique("glBeginTransformFeedback");
62 interface_->BeginTransformFeedback(primitiveMode); 62 interface_->BeginTransformFeedback(primitiveMode);
63 } 63 }
64 64
65 void GL_BINDING_CALL 65 void GL_BINDING_CALL
66 MockGLInterface::Mock_glBeginTransformFeedbackEXT(GLenum primitiveMode) {
67 MakeFunctionUnique("glBeginTransformFeedbackEXT");
68 interface_->BeginTransformFeedback(primitiveMode);
69 }
70
71 void GL_BINDING_CALL
66 MockGLInterface::Mock_glBindAttribLocation(GLuint program, 72 MockGLInterface::Mock_glBindAttribLocation(GLuint program,
67 GLuint index, 73 GLuint index,
68 const char* name) { 74 const char* name) {
69 MakeFunctionUnique("glBindAttribLocation"); 75 MakeFunctionUnique("glBindAttribLocation");
70 interface_->BindAttribLocation(program, index, name); 76 interface_->BindAttribLocation(program, index, name);
71 } 77 }
72 78
73 void GL_BINDING_CALL MockGLInterface::Mock_glBindBuffer(GLenum target, 79 void GL_BINDING_CALL MockGLInterface::Mock_glBindBuffer(GLenum target,
74 GLuint buffer) { 80 GLuint buffer) {
75 MakeFunctionUnique("glBindBuffer"); 81 MakeFunctionUnique("glBindBuffer");
76 interface_->BindBuffer(target, buffer); 82 interface_->BindBuffer(target, buffer);
77 } 83 }
78 84
79 void GL_BINDING_CALL MockGLInterface::Mock_glBindBufferBase(GLenum target, 85 void GL_BINDING_CALL MockGLInterface::Mock_glBindBufferBase(GLenum target,
80 GLuint index, 86 GLuint index,
81 GLuint buffer) { 87 GLuint buffer) {
82 MakeFunctionUnique("glBindBufferBase"); 88 MakeFunctionUnique("glBindBufferBase");
83 interface_->BindBufferBase(target, index, buffer); 89 interface_->BindBufferBase(target, index, buffer);
84 } 90 }
85 91
92 void GL_BINDING_CALL MockGLInterface::Mock_glBindBufferBaseEXT(GLenum target,
93 GLuint index,
94 GLuint buffer) {
95 MakeFunctionUnique("glBindBufferBaseEXT");
96 interface_->BindBufferBase(target, index, buffer);
97 }
98
86 void GL_BINDING_CALL MockGLInterface::Mock_glBindBufferRange(GLenum target, 99 void GL_BINDING_CALL MockGLInterface::Mock_glBindBufferRange(GLenum target,
87 GLuint index, 100 GLuint index,
88 GLuint buffer, 101 GLuint buffer,
89 GLintptr offset, 102 GLintptr offset,
90 GLsizeiptr size) { 103 GLsizeiptr size) {
91 MakeFunctionUnique("glBindBufferRange"); 104 MakeFunctionUnique("glBindBufferRange");
92 interface_->BindBufferRange(target, index, buffer, offset, size); 105 interface_->BindBufferRange(target, index, buffer, offset, size);
93 } 106 }
94 107
95 void GL_BINDING_CALL 108 void GL_BINDING_CALL
109 MockGLInterface::Mock_glBindBufferRangeEXT(GLenum target,
110 GLuint index,
111 GLuint buffer,
112 GLintptr offset,
113 GLsizeiptr size) {
114 MakeFunctionUnique("glBindBufferRangeEXT");
115 interface_->BindBufferRange(target, index, buffer, offset, size);
116 }
117
118 void GL_BINDING_CALL
96 MockGLInterface::Mock_glBindFragDataLocation(GLuint program, 119 MockGLInterface::Mock_glBindFragDataLocation(GLuint program,
97 GLuint colorNumber, 120 GLuint colorNumber,
98 const char* name) { 121 const char* name) {
99 MakeFunctionUnique("glBindFragDataLocation"); 122 MakeFunctionUnique("glBindFragDataLocation");
100 interface_->BindFragDataLocation(program, colorNumber, name); 123 interface_->BindFragDataLocation(program, colorNumber, name);
101 } 124 }
102 125
103 void GL_BINDING_CALL 126 void GL_BINDING_CALL
104 MockGLInterface::Mock_glBindFragDataLocationEXT(GLuint program, 127 MockGLInterface::Mock_glBindFragDataLocationEXT(GLuint program,
105 GLuint colorNumber, 128 GLuint colorNumber,
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 void GL_BINDING_CALL MockGLInterface::Mock_glEndQueryEXT(GLenum target) { 929 void GL_BINDING_CALL MockGLInterface::Mock_glEndQueryEXT(GLenum target) {
907 MakeFunctionUnique("glEndQueryEXT"); 930 MakeFunctionUnique("glEndQueryEXT");
908 interface_->EndQuery(target); 931 interface_->EndQuery(target);
909 } 932 }
910 933
911 void GL_BINDING_CALL MockGLInterface::Mock_glEndTransformFeedback(void) { 934 void GL_BINDING_CALL MockGLInterface::Mock_glEndTransformFeedback(void) {
912 MakeFunctionUnique("glEndTransformFeedback"); 935 MakeFunctionUnique("glEndTransformFeedback");
913 interface_->EndTransformFeedback(); 936 interface_->EndTransformFeedback();
914 } 937 }
915 938
939 void GL_BINDING_CALL MockGLInterface::Mock_glEndTransformFeedbackEXT(void) {
940 MakeFunctionUnique("glEndTransformFeedbackEXT");
941 interface_->EndTransformFeedback();
942 }
943
916 GLsync GL_BINDING_CALL MockGLInterface::Mock_glFenceSync(GLenum condition, 944 GLsync GL_BINDING_CALL MockGLInterface::Mock_glFenceSync(GLenum condition,
917 GLbitfield flags) { 945 GLbitfield flags) {
918 MakeFunctionUnique("glFenceSync"); 946 MakeFunctionUnique("glFenceSync");
919 return interface_->FenceSync(condition, flags); 947 return interface_->FenceSync(condition, flags);
920 } 948 }
921 949
922 void GL_BINDING_CALL MockGLInterface::Mock_glFinish(void) { 950 void GL_BINDING_CALL MockGLInterface::Mock_glFinish(void) {
923 MakeFunctionUnique("glFinish"); 951 MakeFunctionUnique("glFinish");
924 interface_->Finish(); 952 interface_->Finish();
925 } 953 }
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
1642 GLsizei* length, 1670 GLsizei* length,
1643 GLsizei* size, 1671 GLsizei* size,
1644 GLenum* type, 1672 GLenum* type,
1645 char* name) { 1673 char* name) {
1646 MakeFunctionUnique("glGetTransformFeedbackVarying"); 1674 MakeFunctionUnique("glGetTransformFeedbackVarying");
1647 interface_->GetTransformFeedbackVarying(program, index, bufSize, length, size, 1675 interface_->GetTransformFeedbackVarying(program, index, bufSize, length, size,
1648 type, name); 1676 type, name);
1649 } 1677 }
1650 1678
1651 void GL_BINDING_CALL 1679 void GL_BINDING_CALL
1680 MockGLInterface::Mock_glGetTransformFeedbackVaryingEXT(GLuint program,
1681 GLuint index,
1682 GLsizei bufSize,
1683 GLsizei* length,
1684 GLsizei* size,
1685 GLenum* type,
1686 char* name) {
1687 MakeFunctionUnique("glGetTransformFeedbackVaryingEXT");
1688 interface_->GetTransformFeedbackVarying(program, index, bufSize, length, size,
1689 type, name);
1690 }
1691
1692 void GL_BINDING_CALL
1652 MockGLInterface::Mock_glGetTranslatedShaderSourceANGLE(GLuint shader, 1693 MockGLInterface::Mock_glGetTranslatedShaderSourceANGLE(GLuint shader,
1653 GLsizei bufsize, 1694 GLsizei bufsize,
1654 GLsizei* length, 1695 GLsizei* length,
1655 char* source) { 1696 char* source) {
1656 MakeFunctionUnique("glGetTranslatedShaderSourceANGLE"); 1697 MakeFunctionUnique("glGetTranslatedShaderSourceANGLE");
1657 interface_->GetTranslatedShaderSourceANGLE(shader, bufsize, length, source); 1698 interface_->GetTranslatedShaderSourceANGLE(shader, bufsize, length, source);
1658 } 1699 }
1659 1700
1660 GLuint GL_BINDING_CALL 1701 GLuint GL_BINDING_CALL
1661 MockGLInterface::Mock_glGetUniformBlockIndex(GLuint program, 1702 MockGLInterface::Mock_glGetUniformBlockIndex(GLuint program,
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after
2484 2525
2485 void GL_BINDING_CALL 2526 void GL_BINDING_CALL
2486 MockGLInterface::Mock_glTransformFeedbackVaryings(GLuint program, 2527 MockGLInterface::Mock_glTransformFeedbackVaryings(GLuint program,
2487 GLsizei count, 2528 GLsizei count,
2488 const char* const* varyings, 2529 const char* const* varyings,
2489 GLenum bufferMode) { 2530 GLenum bufferMode) {
2490 MakeFunctionUnique("glTransformFeedbackVaryings"); 2531 MakeFunctionUnique("glTransformFeedbackVaryings");
2491 interface_->TransformFeedbackVaryings(program, count, varyings, bufferMode); 2532 interface_->TransformFeedbackVaryings(program, count, varyings, bufferMode);
2492 } 2533 }
2493 2534
2535 void GL_BINDING_CALL MockGLInterface::Mock_glTransformFeedbackVaryingsEXT(
2536 GLuint program,
2537 GLsizei count,
2538 const char* const* varyings,
2539 GLenum bufferMode) {
2540 MakeFunctionUnique("glTransformFeedbackVaryingsEXT");
2541 interface_->TransformFeedbackVaryings(program, count, varyings, bufferMode);
2542 }
2543
2494 void GL_BINDING_CALL MockGLInterface::Mock_glUniform1f(GLint location, 2544 void GL_BINDING_CALL MockGLInterface::Mock_glUniform1f(GLint location,
2495 GLfloat x) { 2545 GLfloat x) {
2496 MakeFunctionUnique("glUniform1f"); 2546 MakeFunctionUnique("glUniform1f");
2497 interface_->Uniform1f(location, x); 2547 interface_->Uniform1f(location, x);
2498 } 2548 }
2499 2549
2500 void GL_BINDING_CALL MockGLInterface::Mock_glUniform1fv(GLint location, 2550 void GL_BINDING_CALL MockGLInterface::Mock_glUniform1fv(GLint location,
2501 GLsizei count, 2551 GLsizei count,
2502 const GLfloat* v) { 2552 const GLfloat* v) {
2503 MakeFunctionUnique("glUniform1fv"); 2553 MakeFunctionUnique("glUniform1fv");
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
2926 if (strcmp(name, "glAttachShader") == 0) 2976 if (strcmp(name, "glAttachShader") == 0)
2927 return reinterpret_cast<void*>(Mock_glAttachShader); 2977 return reinterpret_cast<void*>(Mock_glAttachShader);
2928 if (strcmp(name, "glBeginQuery") == 0) 2978 if (strcmp(name, "glBeginQuery") == 0)
2929 return reinterpret_cast<void*>(Mock_glBeginQuery); 2979 return reinterpret_cast<void*>(Mock_glBeginQuery);
2930 if (strcmp(name, "glBeginQueryARB") == 0) 2980 if (strcmp(name, "glBeginQueryARB") == 0)
2931 return reinterpret_cast<void*>(Mock_glBeginQueryARB); 2981 return reinterpret_cast<void*>(Mock_glBeginQueryARB);
2932 if (strcmp(name, "glBeginQueryEXT") == 0) 2982 if (strcmp(name, "glBeginQueryEXT") == 0)
2933 return reinterpret_cast<void*>(Mock_glBeginQueryEXT); 2983 return reinterpret_cast<void*>(Mock_glBeginQueryEXT);
2934 if (strcmp(name, "glBeginTransformFeedback") == 0) 2984 if (strcmp(name, "glBeginTransformFeedback") == 0)
2935 return reinterpret_cast<void*>(Mock_glBeginTransformFeedback); 2985 return reinterpret_cast<void*>(Mock_glBeginTransformFeedback);
2986 if (strcmp(name, "glBeginTransformFeedbackEXT") == 0)
2987 return reinterpret_cast<void*>(Mock_glBeginTransformFeedbackEXT);
2936 if (strcmp(name, "glBindAttribLocation") == 0) 2988 if (strcmp(name, "glBindAttribLocation") == 0)
2937 return reinterpret_cast<void*>(Mock_glBindAttribLocation); 2989 return reinterpret_cast<void*>(Mock_glBindAttribLocation);
2938 if (strcmp(name, "glBindBuffer") == 0) 2990 if (strcmp(name, "glBindBuffer") == 0)
2939 return reinterpret_cast<void*>(Mock_glBindBuffer); 2991 return reinterpret_cast<void*>(Mock_glBindBuffer);
2940 if (strcmp(name, "glBindBufferBase") == 0) 2992 if (strcmp(name, "glBindBufferBase") == 0)
2941 return reinterpret_cast<void*>(Mock_glBindBufferBase); 2993 return reinterpret_cast<void*>(Mock_glBindBufferBase);
2994 if (strcmp(name, "glBindBufferBaseEXT") == 0)
2995 return reinterpret_cast<void*>(Mock_glBindBufferBaseEXT);
2942 if (strcmp(name, "glBindBufferRange") == 0) 2996 if (strcmp(name, "glBindBufferRange") == 0)
2943 return reinterpret_cast<void*>(Mock_glBindBufferRange); 2997 return reinterpret_cast<void*>(Mock_glBindBufferRange);
2998 if (strcmp(name, "glBindBufferRangeEXT") == 0)
2999 return reinterpret_cast<void*>(Mock_glBindBufferRangeEXT);
2944 if (strcmp(name, "glBindFragDataLocation") == 0) 3000 if (strcmp(name, "glBindFragDataLocation") == 0)
2945 return reinterpret_cast<void*>(Mock_glBindFragDataLocation); 3001 return reinterpret_cast<void*>(Mock_glBindFragDataLocation);
2946 if (strcmp(name, "glBindFragDataLocationEXT") == 0) 3002 if (strcmp(name, "glBindFragDataLocationEXT") == 0)
2947 return reinterpret_cast<void*>(Mock_glBindFragDataLocationEXT); 3003 return reinterpret_cast<void*>(Mock_glBindFragDataLocationEXT);
2948 if (strcmp(name, "glBindFragDataLocationIndexed") == 0) 3004 if (strcmp(name, "glBindFragDataLocationIndexed") == 0)
2949 return reinterpret_cast<void*>(Mock_glBindFragDataLocationIndexed); 3005 return reinterpret_cast<void*>(Mock_glBindFragDataLocationIndexed);
2950 if (strcmp(name, "glBindFragDataLocationIndexedEXT") == 0) 3006 if (strcmp(name, "glBindFragDataLocationIndexedEXT") == 0)
2951 return reinterpret_cast<void*>(Mock_glBindFragDataLocationIndexedEXT); 3007 return reinterpret_cast<void*>(Mock_glBindFragDataLocationIndexedEXT);
2952 if (strcmp(name, "glBindFramebuffer") == 0) 3008 if (strcmp(name, "glBindFramebuffer") == 0)
2953 return reinterpret_cast<void*>(Mock_glBindFramebuffer); 3009 return reinterpret_cast<void*>(Mock_glBindFramebuffer);
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
3150 if (strcmp(name, "glEnableVertexAttribArray") == 0) 3206 if (strcmp(name, "glEnableVertexAttribArray") == 0)
3151 return reinterpret_cast<void*>(Mock_glEnableVertexAttribArray); 3207 return reinterpret_cast<void*>(Mock_glEnableVertexAttribArray);
3152 if (strcmp(name, "glEndQuery") == 0) 3208 if (strcmp(name, "glEndQuery") == 0)
3153 return reinterpret_cast<void*>(Mock_glEndQuery); 3209 return reinterpret_cast<void*>(Mock_glEndQuery);
3154 if (strcmp(name, "glEndQueryARB") == 0) 3210 if (strcmp(name, "glEndQueryARB") == 0)
3155 return reinterpret_cast<void*>(Mock_glEndQueryARB); 3211 return reinterpret_cast<void*>(Mock_glEndQueryARB);
3156 if (strcmp(name, "glEndQueryEXT") == 0) 3212 if (strcmp(name, "glEndQueryEXT") == 0)
3157 return reinterpret_cast<void*>(Mock_glEndQueryEXT); 3213 return reinterpret_cast<void*>(Mock_glEndQueryEXT);
3158 if (strcmp(name, "glEndTransformFeedback") == 0) 3214 if (strcmp(name, "glEndTransformFeedback") == 0)
3159 return reinterpret_cast<void*>(Mock_glEndTransformFeedback); 3215 return reinterpret_cast<void*>(Mock_glEndTransformFeedback);
3216 if (strcmp(name, "glEndTransformFeedbackEXT") == 0)
3217 return reinterpret_cast<void*>(Mock_glEndTransformFeedbackEXT);
3160 if (strcmp(name, "glFenceSync") == 0) 3218 if (strcmp(name, "glFenceSync") == 0)
3161 return reinterpret_cast<void*>(Mock_glFenceSync); 3219 return reinterpret_cast<void*>(Mock_glFenceSync);
3162 if (strcmp(name, "glFinish") == 0) 3220 if (strcmp(name, "glFinish") == 0)
3163 return reinterpret_cast<void*>(Mock_glFinish); 3221 return reinterpret_cast<void*>(Mock_glFinish);
3164 if (strcmp(name, "glFinishFenceAPPLE") == 0) 3222 if (strcmp(name, "glFinishFenceAPPLE") == 0)
3165 return reinterpret_cast<void*>(Mock_glFinishFenceAPPLE); 3223 return reinterpret_cast<void*>(Mock_glFinishFenceAPPLE);
3166 if (strcmp(name, "glFinishFenceNV") == 0) 3224 if (strcmp(name, "glFinishFenceNV") == 0)
3167 return reinterpret_cast<void*>(Mock_glFinishFenceNV); 3225 return reinterpret_cast<void*>(Mock_glFinishFenceNV);
3168 if (strcmp(name, "glFlush") == 0) 3226 if (strcmp(name, "glFlush") == 0)
3169 return reinterpret_cast<void*>(Mock_glFlush); 3227 return reinterpret_cast<void*>(Mock_glFlush);
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
3343 if (strcmp(name, "glGetTexLevelParameterfv") == 0) 3401 if (strcmp(name, "glGetTexLevelParameterfv") == 0)
3344 return reinterpret_cast<void*>(Mock_glGetTexLevelParameterfv); 3402 return reinterpret_cast<void*>(Mock_glGetTexLevelParameterfv);
3345 if (strcmp(name, "glGetTexLevelParameteriv") == 0) 3403 if (strcmp(name, "glGetTexLevelParameteriv") == 0)
3346 return reinterpret_cast<void*>(Mock_glGetTexLevelParameteriv); 3404 return reinterpret_cast<void*>(Mock_glGetTexLevelParameteriv);
3347 if (strcmp(name, "glGetTexParameterfv") == 0) 3405 if (strcmp(name, "glGetTexParameterfv") == 0)
3348 return reinterpret_cast<void*>(Mock_glGetTexParameterfv); 3406 return reinterpret_cast<void*>(Mock_glGetTexParameterfv);
3349 if (strcmp(name, "glGetTexParameteriv") == 0) 3407 if (strcmp(name, "glGetTexParameteriv") == 0)
3350 return reinterpret_cast<void*>(Mock_glGetTexParameteriv); 3408 return reinterpret_cast<void*>(Mock_glGetTexParameteriv);
3351 if (strcmp(name, "glGetTransformFeedbackVarying") == 0) 3409 if (strcmp(name, "glGetTransformFeedbackVarying") == 0)
3352 return reinterpret_cast<void*>(Mock_glGetTransformFeedbackVarying); 3410 return reinterpret_cast<void*>(Mock_glGetTransformFeedbackVarying);
3411 if (strcmp(name, "glGetTransformFeedbackVaryingEXT") == 0)
3412 return reinterpret_cast<void*>(Mock_glGetTransformFeedbackVaryingEXT);
3353 if (strcmp(name, "glGetTranslatedShaderSourceANGLE") == 0) 3413 if (strcmp(name, "glGetTranslatedShaderSourceANGLE") == 0)
3354 return reinterpret_cast<void*>(Mock_glGetTranslatedShaderSourceANGLE); 3414 return reinterpret_cast<void*>(Mock_glGetTranslatedShaderSourceANGLE);
3355 if (strcmp(name, "glGetUniformBlockIndex") == 0) 3415 if (strcmp(name, "glGetUniformBlockIndex") == 0)
3356 return reinterpret_cast<void*>(Mock_glGetUniformBlockIndex); 3416 return reinterpret_cast<void*>(Mock_glGetUniformBlockIndex);
3357 if (strcmp(name, "glGetUniformIndices") == 0) 3417 if (strcmp(name, "glGetUniformIndices") == 0)
3358 return reinterpret_cast<void*>(Mock_glGetUniformIndices); 3418 return reinterpret_cast<void*>(Mock_glGetUniformIndices);
3359 if (strcmp(name, "glGetUniformLocation") == 0) 3419 if (strcmp(name, "glGetUniformLocation") == 0)
3360 return reinterpret_cast<void*>(Mock_glGetUniformLocation); 3420 return reinterpret_cast<void*>(Mock_glGetUniformLocation);
3361 if (strcmp(name, "glGetUniformfv") == 0) 3421 if (strcmp(name, "glGetUniformfv") == 0)
3362 return reinterpret_cast<void*>(Mock_glGetUniformfv); 3422 return reinterpret_cast<void*>(Mock_glGetUniformfv);
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
3564 if (strcmp(name, "glTexStorage2DEXT") == 0) 3624 if (strcmp(name, "glTexStorage2DEXT") == 0)
3565 return reinterpret_cast<void*>(Mock_glTexStorage2DEXT); 3625 return reinterpret_cast<void*>(Mock_glTexStorage2DEXT);
3566 if (strcmp(name, "glTexStorage3D") == 0) 3626 if (strcmp(name, "glTexStorage3D") == 0)
3567 return reinterpret_cast<void*>(Mock_glTexStorage3D); 3627 return reinterpret_cast<void*>(Mock_glTexStorage3D);
3568 if (strcmp(name, "glTexSubImage2D") == 0) 3628 if (strcmp(name, "glTexSubImage2D") == 0)
3569 return reinterpret_cast<void*>(Mock_glTexSubImage2D); 3629 return reinterpret_cast<void*>(Mock_glTexSubImage2D);
3570 if (strcmp(name, "glTexSubImage3D") == 0) 3630 if (strcmp(name, "glTexSubImage3D") == 0)
3571 return reinterpret_cast<void*>(Mock_glTexSubImage3D); 3631 return reinterpret_cast<void*>(Mock_glTexSubImage3D);
3572 if (strcmp(name, "glTransformFeedbackVaryings") == 0) 3632 if (strcmp(name, "glTransformFeedbackVaryings") == 0)
3573 return reinterpret_cast<void*>(Mock_glTransformFeedbackVaryings); 3633 return reinterpret_cast<void*>(Mock_glTransformFeedbackVaryings);
3634 if (strcmp(name, "glTransformFeedbackVaryingsEXT") == 0)
3635 return reinterpret_cast<void*>(Mock_glTransformFeedbackVaryingsEXT);
3574 if (strcmp(name, "glUniform1f") == 0) 3636 if (strcmp(name, "glUniform1f") == 0)
3575 return reinterpret_cast<void*>(Mock_glUniform1f); 3637 return reinterpret_cast<void*>(Mock_glUniform1f);
3576 if (strcmp(name, "glUniform1fv") == 0) 3638 if (strcmp(name, "glUniform1fv") == 0)
3577 return reinterpret_cast<void*>(Mock_glUniform1fv); 3639 return reinterpret_cast<void*>(Mock_glUniform1fv);
3578 if (strcmp(name, "glUniform1i") == 0) 3640 if (strcmp(name, "glUniform1i") == 0)
3579 return reinterpret_cast<void*>(Mock_glUniform1i); 3641 return reinterpret_cast<void*>(Mock_glUniform1i);
3580 if (strcmp(name, "glUniform1iv") == 0) 3642 if (strcmp(name, "glUniform1iv") == 0)
3581 return reinterpret_cast<void*>(Mock_glUniform1iv); 3643 return reinterpret_cast<void*>(Mock_glUniform1iv);
3582 if (strcmp(name, "glUniform1ui") == 0) 3644 if (strcmp(name, "glUniform1ui") == 0)
3583 return reinterpret_cast<void*>(Mock_glUniform1ui); 3645 return reinterpret_cast<void*>(Mock_glUniform1ui);
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
3682 if (strcmp(name, "glVertexAttribPointer") == 0) 3744 if (strcmp(name, "glVertexAttribPointer") == 0)
3683 return reinterpret_cast<void*>(Mock_glVertexAttribPointer); 3745 return reinterpret_cast<void*>(Mock_glVertexAttribPointer);
3684 if (strcmp(name, "glViewport") == 0) 3746 if (strcmp(name, "glViewport") == 0)
3685 return reinterpret_cast<void*>(Mock_glViewport); 3747 return reinterpret_cast<void*>(Mock_glViewport);
3686 if (strcmp(name, "glWaitSync") == 0) 3748 if (strcmp(name, "glWaitSync") == 0)
3687 return reinterpret_cast<void*>(Mock_glWaitSync); 3749 return reinterpret_cast<void*>(Mock_glWaitSync);
3688 return reinterpret_cast<void*>(&MockInvalidFunction); 3750 return reinterpret_cast<void*>(&MockInvalidFunction);
3689 } 3751 }
3690 3752
3691 } // namespace gl 3753 } // namespace gl
OLDNEW
« no previous file with comments | « ui/gl/gl_bindings_autogen_mock.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698