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 // gpu/command_buffer/build_gles2_cmd_buffer.py | 6 // gpu/command_buffer/build_gles2_cmd_buffer.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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
170 (target, attachment, renderbuffertarget, renderbuffer)) | 170 (target, attachment, renderbuffertarget, renderbuffer)) |
171 VISIT_GL_CALL(FramebufferTexture2D, | 171 VISIT_GL_CALL(FramebufferTexture2D, |
172 void, | 172 void, |
173 (GLenum target, | 173 (GLenum target, |
174 GLenum attachment, | 174 GLenum attachment, |
175 GLenum textarget, | 175 GLenum textarget, |
176 GLuint texture, | 176 GLuint texture, |
177 GLint level), | 177 GLint level), |
178 (target, attachment, textarget, texture, level)) | 178 (target, attachment, textarget, texture, level)) |
179 VISIT_GL_CALL(FrontFace, void, (GLenum mode), (mode)) | 179 VISIT_GL_CALL(FrontFace, void, (GLenum mode), (mode)) |
180 VISIT_GL_CALL(GenBuffers, void, (GLsizei n, GLuint* buffers), (n, buffers)) | 180 VISIT_GL_CALL(GenBuffers, void, (GLsizei n, GLuint * buffers), (n, buffers)) |
piman
2014/05/05 19:37:54
Bad clang format - https://code.google.com/p/chrom
Nico
2014/05/05 20:14:58
Ack. Do you want me to do something about this in
| |
181 VISIT_GL_CALL(GenerateMipmap, void, (GLenum target), (target)) | 181 VISIT_GL_CALL(GenerateMipmap, void, (GLenum target), (target)) |
182 VISIT_GL_CALL(GenFramebuffers, | 182 VISIT_GL_CALL(GenFramebuffers, |
183 void, | 183 void, |
184 (GLsizei n, GLuint* framebuffers), | 184 (GLsizei n, GLuint * framebuffers), |
185 (n, framebuffers)) | 185 (n, framebuffers)) |
186 VISIT_GL_CALL(GenRenderbuffers, | 186 VISIT_GL_CALL(GenRenderbuffers, |
187 void, | 187 void, |
188 (GLsizei n, GLuint* renderbuffers), | 188 (GLsizei n, GLuint * renderbuffers), |
189 (n, renderbuffers)) | 189 (n, renderbuffers)) |
190 VISIT_GL_CALL(GenTextures, void, (GLsizei n, GLuint* textures), (n, textures)) | 190 VISIT_GL_CALL(GenTextures, void, (GLsizei n, GLuint * textures), (n, textures)) |
191 VISIT_GL_CALL(GetActiveAttrib, | 191 VISIT_GL_CALL(GetActiveAttrib, |
192 void, | 192 void, |
193 (GLuint program, | 193 (GLuint program, |
194 GLuint index, | 194 GLuint index, |
195 GLsizei bufsize, | 195 GLsizei bufsize, |
196 GLsizei* length, | 196 GLsizei * length, |
197 GLint* size, | 197 GLint * size, |
198 GLenum* type, | 198 GLenum * type, |
199 char* name), | 199 char* name), |
200 (program, index, bufsize, length, size, type, name)) | 200 (program, index, bufsize, length, size, type, name)) |
201 VISIT_GL_CALL(GetActiveUniform, | 201 VISIT_GL_CALL(GetActiveUniform, |
202 void, | 202 void, |
203 (GLuint program, | 203 (GLuint program, |
204 GLuint index, | 204 GLuint index, |
205 GLsizei bufsize, | 205 GLsizei bufsize, |
206 GLsizei* length, | 206 GLsizei * length, |
207 GLint* size, | 207 GLint * size, |
208 GLenum* type, | 208 GLenum * type, |
209 char* name), | 209 char* name), |
210 (program, index, bufsize, length, size, type, name)) | 210 (program, index, bufsize, length, size, type, name)) |
211 VISIT_GL_CALL( | 211 VISIT_GL_CALL( |
212 GetAttachedShaders, | 212 GetAttachedShaders, |
213 void, | 213 void, |
214 (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders), | 214 (GLuint program, GLsizei maxcount, GLsizei * count, GLuint * shaders), |
215 (program, maxcount, count, shaders)) | 215 (program, maxcount, count, shaders)) |
216 VISIT_GL_CALL(GetAttribLocation, | 216 VISIT_GL_CALL(GetAttribLocation, |
217 GLint, | 217 GLint, |
218 (GLuint program, const char* name), | 218 (GLuint program, const char* name), |
219 (program, name)) | 219 (program, name)) |
220 VISIT_GL_CALL(GetBooleanv, | 220 VISIT_GL_CALL(GetBooleanv, |
221 void, | 221 void, |
222 (GLenum pname, GLboolean* params), | 222 (GLenum pname, GLboolean * params), |
223 (pname, params)) | 223 (pname, params)) |
224 VISIT_GL_CALL(GetBufferParameteriv, | 224 VISIT_GL_CALL(GetBufferParameteriv, |
225 void, | 225 void, |
226 (GLenum target, GLenum pname, GLint* params), | 226 (GLenum target, GLenum pname, GLint * params), |
227 (target, pname, params)) | 227 (target, pname, params)) |
228 VISIT_GL_CALL(GetError, GLenum, (), ()) | 228 VISIT_GL_CALL(GetError, GLenum, (), ()) |
229 VISIT_GL_CALL(GetFloatv, void, (GLenum pname, GLfloat* params), (pname, params)) | 229 VISIT_GL_CALL(GetFloatv, |
230 void, | |
231 (GLenum pname, GLfloat * params), | |
232 (pname, params)) | |
230 VISIT_GL_CALL(GetFramebufferAttachmentParameteriv, | 233 VISIT_GL_CALL(GetFramebufferAttachmentParameteriv, |
231 void, | 234 void, |
232 (GLenum target, GLenum attachment, GLenum pname, GLint* params), | 235 (GLenum target, GLenum attachment, GLenum pname, GLint * params), |
233 (target, attachment, pname, params)) | 236 (target, attachment, pname, params)) |
234 VISIT_GL_CALL(GetIntegerv, void, (GLenum pname, GLint* params), (pname, params)) | 237 VISIT_GL_CALL(GetIntegerv, |
238 void, | |
239 (GLenum pname, GLint * params), | |
240 (pname, params)) | |
235 VISIT_GL_CALL(GetProgramiv, | 241 VISIT_GL_CALL(GetProgramiv, |
236 void, | 242 void, |
237 (GLuint program, GLenum pname, GLint* params), | 243 (GLuint program, GLenum pname, GLint * params), |
238 (program, pname, params)) | 244 (program, pname, params)) |
239 VISIT_GL_CALL(GetProgramInfoLog, | 245 VISIT_GL_CALL( |
240 void, | 246 GetProgramInfoLog, |
241 (GLuint program, GLsizei bufsize, GLsizei* length, char* infolog), | 247 void, |
242 (program, bufsize, length, infolog)) | 248 (GLuint program, GLsizei bufsize, GLsizei * length, char* infolog), |
249 (program, bufsize, length, infolog)) | |
243 VISIT_GL_CALL(GetRenderbufferParameteriv, | 250 VISIT_GL_CALL(GetRenderbufferParameteriv, |
244 void, | 251 void, |
245 (GLenum target, GLenum pname, GLint* params), | 252 (GLenum target, GLenum pname, GLint * params), |
246 (target, pname, params)) | 253 (target, pname, params)) |
247 VISIT_GL_CALL(GetShaderiv, | 254 VISIT_GL_CALL(GetShaderiv, |
248 void, | 255 void, |
249 (GLuint shader, GLenum pname, GLint* params), | 256 (GLuint shader, GLenum pname, GLint * params), |
250 (shader, pname, params)) | 257 (shader, pname, params)) |
251 VISIT_GL_CALL(GetShaderInfoLog, | 258 VISIT_GL_CALL(GetShaderInfoLog, |
252 void, | 259 void, |
253 (GLuint shader, GLsizei bufsize, GLsizei* length, char* infolog), | 260 (GLuint shader, GLsizei bufsize, GLsizei * length, char* infolog), |
254 (shader, bufsize, length, infolog)) | 261 (shader, bufsize, length, infolog)) |
255 VISIT_GL_CALL( | 262 VISIT_GL_CALL( |
256 GetShaderPrecisionFormat, | 263 GetShaderPrecisionFormat, |
257 void, | 264 void, |
258 (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision), | 265 (GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision), |
259 (shadertype, precisiontype, range, precision)) | 266 (shadertype, precisiontype, range, precision)) |
260 VISIT_GL_CALL(GetShaderSource, | 267 VISIT_GL_CALL(GetShaderSource, |
261 void, | 268 void, |
262 (GLuint shader, GLsizei bufsize, GLsizei* length, char* source), | 269 (GLuint shader, GLsizei bufsize, GLsizei * length, char* source), |
263 (shader, bufsize, length, source)) | 270 (shader, bufsize, length, source)) |
264 VISIT_GL_CALL(GetString, const GLubyte*, (GLenum name), (name)) | 271 VISIT_GL_CALL(GetString, const GLubyte*, (GLenum name), (name)) |
265 VISIT_GL_CALL(GetTexParameterfv, | 272 VISIT_GL_CALL(GetTexParameterfv, |
266 void, | 273 void, |
267 (GLenum target, GLenum pname, GLfloat* params), | 274 (GLenum target, GLenum pname, GLfloat * params), |
268 (target, pname, params)) | 275 (target, pname, params)) |
269 VISIT_GL_CALL(GetTexParameteriv, | 276 VISIT_GL_CALL(GetTexParameteriv, |
270 void, | 277 void, |
271 (GLenum target, GLenum pname, GLint* params), | 278 (GLenum target, GLenum pname, GLint * params), |
272 (target, pname, params)) | 279 (target, pname, params)) |
273 VISIT_GL_CALL(GetUniformfv, | 280 VISIT_GL_CALL(GetUniformfv, |
274 void, | 281 void, |
275 (GLuint program, GLint location, GLfloat* params), | 282 (GLuint program, GLint location, GLfloat * params), |
276 (program, location, params)) | 283 (program, location, params)) |
277 VISIT_GL_CALL(GetUniformiv, | 284 VISIT_GL_CALL(GetUniformiv, |
278 void, | 285 void, |
279 (GLuint program, GLint location, GLint* params), | 286 (GLuint program, GLint location, GLint * params), |
280 (program, location, params)) | 287 (program, location, params)) |
281 VISIT_GL_CALL(GetUniformLocation, | 288 VISIT_GL_CALL(GetUniformLocation, |
282 GLint, | 289 GLint, |
283 (GLuint program, const char* name), | 290 (GLuint program, const char* name), |
284 (program, name)) | 291 (program, name)) |
285 VISIT_GL_CALL(GetVertexAttribfv, | 292 VISIT_GL_CALL(GetVertexAttribfv, |
286 void, | 293 void, |
287 (GLuint index, GLenum pname, GLfloat* params), | 294 (GLuint index, GLenum pname, GLfloat * params), |
288 (index, pname, params)) | 295 (index, pname, params)) |
289 VISIT_GL_CALL(GetVertexAttribiv, | 296 VISIT_GL_CALL(GetVertexAttribiv, |
290 void, | 297 void, |
291 (GLuint index, GLenum pname, GLint* params), | 298 (GLuint index, GLenum pname, GLint * params), |
292 (index, pname, params)) | 299 (index, pname, params)) |
293 VISIT_GL_CALL(GetVertexAttribPointerv, | 300 VISIT_GL_CALL(GetVertexAttribPointerv, |
294 void, | 301 void, |
295 (GLuint index, GLenum pname, void** pointer), | 302 (GLuint index, GLenum pname, void** pointer), |
296 (index, pname, pointer)) | 303 (index, pname, pointer)) |
297 VISIT_GL_CALL(Hint, void, (GLenum target, GLenum mode), (target, mode)) | 304 VISIT_GL_CALL(Hint, void, (GLenum target, GLenum mode), (target, mode)) |
298 VISIT_GL_CALL(IsBuffer, GLboolean, (GLuint buffer), (buffer)) | 305 VISIT_GL_CALL(IsBuffer, GLboolean, (GLuint buffer), (buffer)) |
299 VISIT_GL_CALL(IsEnabled, GLboolean, (GLenum cap), (cap)) | 306 VISIT_GL_CALL(IsEnabled, GLboolean, (GLenum cap), (cap)) |
300 VISIT_GL_CALL(IsFramebuffer, GLboolean, (GLuint framebuffer), (framebuffer)) | 307 VISIT_GL_CALL(IsFramebuffer, GLboolean, (GLuint framebuffer), (framebuffer)) |
301 VISIT_GL_CALL(IsProgram, GLboolean, (GLuint program), (program)) | 308 VISIT_GL_CALL(IsProgram, GLboolean, (GLuint program), (program)) |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
528 GLint size, | 535 GLint size, |
529 GLenum type, | 536 GLenum type, |
530 GLboolean normalized, | 537 GLboolean normalized, |
531 GLsizei stride, | 538 GLsizei stride, |
532 const void* ptr), | 539 const void* ptr), |
533 (indx, size, type, normalized, stride, ptr)) | 540 (indx, size, type, normalized, stride, ptr)) |
534 VISIT_GL_CALL(Viewport, | 541 VISIT_GL_CALL(Viewport, |
535 void, | 542 void, |
536 (GLint x, GLint y, GLsizei width, GLsizei height), | 543 (GLint x, GLint y, GLsizei width, GLsizei height), |
537 (x, y, width, height)) | 544 (x, y, width, height)) |
OLD | NEW |