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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 94 |
95 void GL_BINDING_CALL | 95 void GL_BINDING_CALL |
96 MockGLInterface::Mock_glBindFragDataLocation(GLuint program, | 96 MockGLInterface::Mock_glBindFragDataLocation(GLuint program, |
97 GLuint colorNumber, | 97 GLuint colorNumber, |
98 const char* name) { | 98 const char* name) { |
99 MakeFunctionUnique("glBindFragDataLocation"); | 99 MakeFunctionUnique("glBindFragDataLocation"); |
100 interface_->BindFragDataLocation(program, colorNumber, name); | 100 interface_->BindFragDataLocation(program, colorNumber, name); |
101 } | 101 } |
102 | 102 |
103 void GL_BINDING_CALL | 103 void GL_BINDING_CALL |
| 104 MockGLInterface::Mock_glBindFragDataLocationEXT(GLuint program, |
| 105 GLuint colorNumber, |
| 106 const char* name) { |
| 107 MakeFunctionUnique("glBindFragDataLocationEXT"); |
| 108 interface_->BindFragDataLocation(program, colorNumber, name); |
| 109 } |
| 110 |
| 111 void GL_BINDING_CALL |
104 MockGLInterface::Mock_glBindFragDataLocationIndexed(GLuint program, | 112 MockGLInterface::Mock_glBindFragDataLocationIndexed(GLuint program, |
105 GLuint colorNumber, | 113 GLuint colorNumber, |
106 GLuint index, | 114 GLuint index, |
107 const char* name) { | 115 const char* name) { |
108 MakeFunctionUnique("glBindFragDataLocationIndexed"); | 116 MakeFunctionUnique("glBindFragDataLocationIndexed"); |
109 interface_->BindFragDataLocationIndexed(program, colorNumber, index, name); | 117 interface_->BindFragDataLocationIndexed(program, colorNumber, index, name); |
110 } | 118 } |
111 | 119 |
112 void GL_BINDING_CALL | 120 void GL_BINDING_CALL |
| 121 MockGLInterface::Mock_glBindFragDataLocationIndexedEXT(GLuint program, |
| 122 GLuint colorNumber, |
| 123 GLuint index, |
| 124 const char* name) { |
| 125 MakeFunctionUnique("glBindFragDataLocationIndexedEXT"); |
| 126 interface_->BindFragDataLocationIndexed(program, colorNumber, index, name); |
| 127 } |
| 128 |
| 129 void GL_BINDING_CALL |
113 MockGLInterface::Mock_glBindFramebuffer(GLenum target, GLuint framebuffer) { | 130 MockGLInterface::Mock_glBindFramebuffer(GLenum target, GLuint framebuffer) { |
114 MakeFunctionUnique("glBindFramebuffer"); | 131 MakeFunctionUnique("glBindFramebuffer"); |
115 interface_->BindFramebufferEXT(target, framebuffer); | 132 interface_->BindFramebufferEXT(target, framebuffer); |
116 } | 133 } |
117 | 134 |
118 void GL_BINDING_CALL | 135 void GL_BINDING_CALL |
119 MockGLInterface::Mock_glBindFramebufferEXT(GLenum target, GLuint framebuffer) { | 136 MockGLInterface::Mock_glBindFramebufferEXT(GLenum target, GLuint framebuffer) { |
120 MakeFunctionUnique("glBindFramebufferEXT"); | 137 MakeFunctionUnique("glBindFramebufferEXT"); |
121 interface_->BindFramebufferEXT(target, framebuffer); | 138 interface_->BindFramebufferEXT(target, framebuffer); |
122 } | 139 } |
(...skipping 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1181 interface_->GetFenceivNV(fence, pname, params); | 1198 interface_->GetFenceivNV(fence, pname, params); |
1182 } | 1199 } |
1183 | 1200 |
1184 void GL_BINDING_CALL MockGLInterface::Mock_glGetFloatv(GLenum pname, | 1201 void GL_BINDING_CALL MockGLInterface::Mock_glGetFloatv(GLenum pname, |
1185 GLfloat* params) { | 1202 GLfloat* params) { |
1186 MakeFunctionUnique("glGetFloatv"); | 1203 MakeFunctionUnique("glGetFloatv"); |
1187 interface_->GetFloatv(pname, params); | 1204 interface_->GetFloatv(pname, params); |
1188 } | 1205 } |
1189 | 1206 |
1190 GLint GL_BINDING_CALL | 1207 GLint GL_BINDING_CALL |
| 1208 MockGLInterface::Mock_glGetFragDataIndex(GLuint program, const char* name) { |
| 1209 MakeFunctionUnique("glGetFragDataIndex"); |
| 1210 return interface_->GetFragDataIndex(program, name); |
| 1211 } |
| 1212 |
| 1213 GLint GL_BINDING_CALL |
| 1214 MockGLInterface::Mock_glGetFragDataIndexEXT(GLuint program, const char* name) { |
| 1215 MakeFunctionUnique("glGetFragDataIndexEXT"); |
| 1216 return interface_->GetFragDataIndex(program, name); |
| 1217 } |
| 1218 |
| 1219 GLint GL_BINDING_CALL |
1191 MockGLInterface::Mock_glGetFragDataLocation(GLuint program, const char* name) { | 1220 MockGLInterface::Mock_glGetFragDataLocation(GLuint program, const char* name) { |
1192 MakeFunctionUnique("glGetFragDataLocation"); | 1221 MakeFunctionUnique("glGetFragDataLocation"); |
1193 return interface_->GetFragDataLocation(program, name); | 1222 return interface_->GetFragDataLocation(program, name); |
1194 } | 1223 } |
1195 | 1224 |
1196 void GL_BINDING_CALL | 1225 void GL_BINDING_CALL |
1197 MockGLInterface::Mock_glGetFramebufferAttachmentParameteriv(GLenum target, | 1226 MockGLInterface::Mock_glGetFramebufferAttachmentParameteriv(GLenum target, |
1198 GLenum attachment, | 1227 GLenum attachment, |
1199 GLenum pname, | 1228 GLenum pname, |
1200 GLint* params) { | 1229 GLint* params) { |
(...skipping 1649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2850 if (strcmp(name, "glBindAttribLocation") == 0) | 2879 if (strcmp(name, "glBindAttribLocation") == 0) |
2851 return reinterpret_cast<void*>(Mock_glBindAttribLocation); | 2880 return reinterpret_cast<void*>(Mock_glBindAttribLocation); |
2852 if (strcmp(name, "glBindBuffer") == 0) | 2881 if (strcmp(name, "glBindBuffer") == 0) |
2853 return reinterpret_cast<void*>(Mock_glBindBuffer); | 2882 return reinterpret_cast<void*>(Mock_glBindBuffer); |
2854 if (strcmp(name, "glBindBufferBase") == 0) | 2883 if (strcmp(name, "glBindBufferBase") == 0) |
2855 return reinterpret_cast<void*>(Mock_glBindBufferBase); | 2884 return reinterpret_cast<void*>(Mock_glBindBufferBase); |
2856 if (strcmp(name, "glBindBufferRange") == 0) | 2885 if (strcmp(name, "glBindBufferRange") == 0) |
2857 return reinterpret_cast<void*>(Mock_glBindBufferRange); | 2886 return reinterpret_cast<void*>(Mock_glBindBufferRange); |
2858 if (strcmp(name, "glBindFragDataLocation") == 0) | 2887 if (strcmp(name, "glBindFragDataLocation") == 0) |
2859 return reinterpret_cast<void*>(Mock_glBindFragDataLocation); | 2888 return reinterpret_cast<void*>(Mock_glBindFragDataLocation); |
| 2889 if (strcmp(name, "glBindFragDataLocationEXT") == 0) |
| 2890 return reinterpret_cast<void*>(Mock_glBindFragDataLocationEXT); |
2860 if (strcmp(name, "glBindFragDataLocationIndexed") == 0) | 2891 if (strcmp(name, "glBindFragDataLocationIndexed") == 0) |
2861 return reinterpret_cast<void*>(Mock_glBindFragDataLocationIndexed); | 2892 return reinterpret_cast<void*>(Mock_glBindFragDataLocationIndexed); |
| 2893 if (strcmp(name, "glBindFragDataLocationIndexedEXT") == 0) |
| 2894 return reinterpret_cast<void*>(Mock_glBindFragDataLocationIndexedEXT); |
2862 if (strcmp(name, "glBindFramebuffer") == 0) | 2895 if (strcmp(name, "glBindFramebuffer") == 0) |
2863 return reinterpret_cast<void*>(Mock_glBindFramebuffer); | 2896 return reinterpret_cast<void*>(Mock_glBindFramebuffer); |
2864 if (strcmp(name, "glBindFramebufferEXT") == 0) | 2897 if (strcmp(name, "glBindFramebufferEXT") == 0) |
2865 return reinterpret_cast<void*>(Mock_glBindFramebufferEXT); | 2898 return reinterpret_cast<void*>(Mock_glBindFramebufferEXT); |
2866 if (strcmp(name, "glBindRenderbuffer") == 0) | 2899 if (strcmp(name, "glBindRenderbuffer") == 0) |
2867 return reinterpret_cast<void*>(Mock_glBindRenderbuffer); | 2900 return reinterpret_cast<void*>(Mock_glBindRenderbuffer); |
2868 if (strcmp(name, "glBindRenderbufferEXT") == 0) | 2901 if (strcmp(name, "glBindRenderbufferEXT") == 0) |
2869 return reinterpret_cast<void*>(Mock_glBindRenderbufferEXT); | 2902 return reinterpret_cast<void*>(Mock_glBindRenderbufferEXT); |
2870 if (strcmp(name, "glBindSampler") == 0) | 2903 if (strcmp(name, "glBindSampler") == 0) |
2871 return reinterpret_cast<void*>(Mock_glBindSampler); | 2904 return reinterpret_cast<void*>(Mock_glBindSampler); |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3142 if (strcmp(name, "glGetBooleanv") == 0) | 3175 if (strcmp(name, "glGetBooleanv") == 0) |
3143 return reinterpret_cast<void*>(Mock_glGetBooleanv); | 3176 return reinterpret_cast<void*>(Mock_glGetBooleanv); |
3144 if (strcmp(name, "glGetBufferParameteriv") == 0) | 3177 if (strcmp(name, "glGetBufferParameteriv") == 0) |
3145 return reinterpret_cast<void*>(Mock_glGetBufferParameteriv); | 3178 return reinterpret_cast<void*>(Mock_glGetBufferParameteriv); |
3146 if (strcmp(name, "glGetError") == 0) | 3179 if (strcmp(name, "glGetError") == 0) |
3147 return reinterpret_cast<void*>(Mock_glGetError); | 3180 return reinterpret_cast<void*>(Mock_glGetError); |
3148 if (strcmp(name, "glGetFenceivNV") == 0) | 3181 if (strcmp(name, "glGetFenceivNV") == 0) |
3149 return reinterpret_cast<void*>(Mock_glGetFenceivNV); | 3182 return reinterpret_cast<void*>(Mock_glGetFenceivNV); |
3150 if (strcmp(name, "glGetFloatv") == 0) | 3183 if (strcmp(name, "glGetFloatv") == 0) |
3151 return reinterpret_cast<void*>(Mock_glGetFloatv); | 3184 return reinterpret_cast<void*>(Mock_glGetFloatv); |
| 3185 if (strcmp(name, "glGetFragDataIndex") == 0) |
| 3186 return reinterpret_cast<void*>(Mock_glGetFragDataIndex); |
| 3187 if (strcmp(name, "glGetFragDataIndexEXT") == 0) |
| 3188 return reinterpret_cast<void*>(Mock_glGetFragDataIndexEXT); |
3152 if (strcmp(name, "glGetFragDataLocation") == 0) | 3189 if (strcmp(name, "glGetFragDataLocation") == 0) |
3153 return reinterpret_cast<void*>(Mock_glGetFragDataLocation); | 3190 return reinterpret_cast<void*>(Mock_glGetFragDataLocation); |
3154 if (strcmp(name, "glGetFramebufferAttachmentParameteriv") == 0) | 3191 if (strcmp(name, "glGetFramebufferAttachmentParameteriv") == 0) |
3155 return reinterpret_cast<void*>(Mock_glGetFramebufferAttachmentParameteriv); | 3192 return reinterpret_cast<void*>(Mock_glGetFramebufferAttachmentParameteriv); |
3156 if (strcmp(name, "glGetFramebufferAttachmentParameterivEXT") == 0) | 3193 if (strcmp(name, "glGetFramebufferAttachmentParameterivEXT") == 0) |
3157 return reinterpret_cast<void*>( | 3194 return reinterpret_cast<void*>( |
3158 Mock_glGetFramebufferAttachmentParameterivEXT); | 3195 Mock_glGetFramebufferAttachmentParameterivEXT); |
3159 if (strcmp(name, "glGetGraphicsResetStatus") == 0) | 3196 if (strcmp(name, "glGetGraphicsResetStatus") == 0) |
3160 return reinterpret_cast<void*>(Mock_glGetGraphicsResetStatus); | 3197 return reinterpret_cast<void*>(Mock_glGetGraphicsResetStatus); |
3161 if (strcmp(name, "glGetGraphicsResetStatusARB") == 0) | 3198 if (strcmp(name, "glGetGraphicsResetStatusARB") == 0) |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3574 if (strcmp(name, "glVertexAttribPointer") == 0) | 3611 if (strcmp(name, "glVertexAttribPointer") == 0) |
3575 return reinterpret_cast<void*>(Mock_glVertexAttribPointer); | 3612 return reinterpret_cast<void*>(Mock_glVertexAttribPointer); |
3576 if (strcmp(name, "glViewport") == 0) | 3613 if (strcmp(name, "glViewport") == 0) |
3577 return reinterpret_cast<void*>(Mock_glViewport); | 3614 return reinterpret_cast<void*>(Mock_glViewport); |
3578 if (strcmp(name, "glWaitSync") == 0) | 3615 if (strcmp(name, "glWaitSync") == 0) |
3579 return reinterpret_cast<void*>(Mock_glWaitSync); | 3616 return reinterpret_cast<void*>(Mock_glWaitSync); |
3580 return reinterpret_cast<void*>(&MockInvalidFunction); | 3617 return reinterpret_cast<void*>(&MockInvalidFunction); |
3581 } | 3618 } |
3582 | 3619 |
3583 } // namespace gfx | 3620 } // namespace gfx |
OLD | NEW |