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

Side by Side Diff: mojo/public/c/gles2/gles2_call_visitor_autogen.h

Issue 776603003: Changed the GPU Tracer so the category names can be customized. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Service side GPU trace not turned on when device is turned on Created 6 years 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 | « gpu/command_buffer/service/gpu_tracer_unittest.cc ('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 // 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
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))
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, 229 VISIT_GL_CALL(GetFloatv, void, (GLenum pname, GLfloat* params), (pname, params))
230 void,
231 (GLenum pname, GLfloat * params),
232 (pname, params))
233 VISIT_GL_CALL(GetFramebufferAttachmentParameteriv, 230 VISIT_GL_CALL(GetFramebufferAttachmentParameteriv,
234 void, 231 void,
235 (GLenum target, GLenum attachment, GLenum pname, GLint * params), 232 (GLenum target, GLenum attachment, GLenum pname, GLint* params),
236 (target, attachment, pname, params)) 233 (target, attachment, pname, params))
237 VISIT_GL_CALL(GetIntegerv, 234 VISIT_GL_CALL(GetIntegerv, void, (GLenum pname, GLint* params), (pname, params))
238 void,
239 (GLenum pname, GLint * params),
240 (pname, params))
241 VISIT_GL_CALL(GetProgramiv, 235 VISIT_GL_CALL(GetProgramiv,
242 void, 236 void,
243 (GLuint program, GLenum pname, GLint * params), 237 (GLuint program, GLenum pname, GLint* params),
244 (program, pname, params)) 238 (program, pname, params))
245 VISIT_GL_CALL( 239 VISIT_GL_CALL(GetProgramInfoLog,
246 GetProgramInfoLog, 240 void,
247 void, 241 (GLuint program, GLsizei bufsize, GLsizei* length, char* infolog),
248 (GLuint program, GLsizei bufsize, GLsizei * length, char* infolog), 242 (program, bufsize, length, infolog))
249 (program, bufsize, length, infolog))
250 VISIT_GL_CALL(GetRenderbufferParameteriv, 243 VISIT_GL_CALL(GetRenderbufferParameteriv,
251 void, 244 void,
252 (GLenum target, GLenum pname, GLint * params), 245 (GLenum target, GLenum pname, GLint* params),
253 (target, pname, params)) 246 (target, pname, params))
254 VISIT_GL_CALL(GetShaderiv, 247 VISIT_GL_CALL(GetShaderiv,
255 void, 248 void,
256 (GLuint shader, GLenum pname, GLint * params), 249 (GLuint shader, GLenum pname, GLint* params),
257 (shader, pname, params)) 250 (shader, pname, params))
258 VISIT_GL_CALL(GetShaderInfoLog, 251 VISIT_GL_CALL(GetShaderInfoLog,
259 void, 252 void,
260 (GLuint shader, GLsizei bufsize, GLsizei * length, char* infolog), 253 (GLuint shader, GLsizei bufsize, GLsizei* length, char* infolog),
261 (shader, bufsize, length, infolog)) 254 (shader, bufsize, length, infolog))
262 VISIT_GL_CALL( 255 VISIT_GL_CALL(
263 GetShaderPrecisionFormat, 256 GetShaderPrecisionFormat,
264 void, 257 void,
265 (GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision), 258 (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision),
266 (shadertype, precisiontype, range, precision)) 259 (shadertype, precisiontype, range, precision))
267 VISIT_GL_CALL(GetShaderSource, 260 VISIT_GL_CALL(GetShaderSource,
268 void, 261 void,
269 (GLuint shader, GLsizei bufsize, GLsizei * length, char* source), 262 (GLuint shader, GLsizei bufsize, GLsizei* length, char* source),
270 (shader, bufsize, length, source)) 263 (shader, bufsize, length, source))
271 VISIT_GL_CALL(GetString, const GLubyte*, (GLenum name), (name)) 264 VISIT_GL_CALL(GetString, const GLubyte*, (GLenum name), (name))
272 VISIT_GL_CALL(GetTexParameterfv, 265 VISIT_GL_CALL(GetTexParameterfv,
273 void, 266 void,
274 (GLenum target, GLenum pname, GLfloat * params), 267 (GLenum target, GLenum pname, GLfloat* params),
275 (target, pname, params)) 268 (target, pname, params))
276 VISIT_GL_CALL(GetTexParameteriv, 269 VISIT_GL_CALL(GetTexParameteriv,
277 void, 270 void,
278 (GLenum target, GLenum pname, GLint * params), 271 (GLenum target, GLenum pname, GLint* params),
279 (target, pname, params)) 272 (target, pname, params))
280 VISIT_GL_CALL(GetUniformfv, 273 VISIT_GL_CALL(GetUniformfv,
281 void, 274 void,
282 (GLuint program, GLint location, GLfloat * params), 275 (GLuint program, GLint location, GLfloat* params),
283 (program, location, params)) 276 (program, location, params))
284 VISIT_GL_CALL(GetUniformiv, 277 VISIT_GL_CALL(GetUniformiv,
285 void, 278 void,
286 (GLuint program, GLint location, GLint * params), 279 (GLuint program, GLint location, GLint* params),
287 (program, location, params)) 280 (program, location, params))
288 VISIT_GL_CALL(GetUniformLocation, 281 VISIT_GL_CALL(GetUniformLocation,
289 GLint, 282 GLint,
290 (GLuint program, const char* name), 283 (GLuint program, const char* name),
291 (program, name)) 284 (program, name))
292 VISIT_GL_CALL(GetVertexAttribfv, 285 VISIT_GL_CALL(GetVertexAttribfv,
293 void, 286 void,
294 (GLuint index, GLenum pname, GLfloat * params), 287 (GLuint index, GLenum pname, GLfloat* params),
295 (index, pname, params)) 288 (index, pname, params))
296 VISIT_GL_CALL(GetVertexAttribiv, 289 VISIT_GL_CALL(GetVertexAttribiv,
297 void, 290 void,
298 (GLuint index, GLenum pname, GLint * params), 291 (GLuint index, GLenum pname, GLint* params),
299 (index, pname, params)) 292 (index, pname, params))
300 VISIT_GL_CALL(GetVertexAttribPointerv, 293 VISIT_GL_CALL(GetVertexAttribPointerv,
301 void, 294 void,
302 (GLuint index, GLenum pname, void** pointer), 295 (GLuint index, GLenum pname, void** pointer),
303 (index, pname, pointer)) 296 (index, pname, pointer))
304 VISIT_GL_CALL(Hint, void, (GLenum target, GLenum mode), (target, mode)) 297 VISIT_GL_CALL(Hint, void, (GLenum target, GLenum mode), (target, mode))
305 VISIT_GL_CALL(IsBuffer, GLboolean, (GLuint buffer), (buffer)) 298 VISIT_GL_CALL(IsBuffer, GLboolean, (GLuint buffer), (buffer))
306 VISIT_GL_CALL(IsEnabled, GLboolean, (GLenum cap), (cap)) 299 VISIT_GL_CALL(IsEnabled, GLboolean, (GLenum cap), (cap))
307 VISIT_GL_CALL(IsFramebuffer, GLboolean, (GLuint framebuffer), (framebuffer)) 300 VISIT_GL_CALL(IsFramebuffer, GLboolean, (GLuint framebuffer), (framebuffer))
308 VISIT_GL_CALL(IsProgram, GLboolean, (GLuint program), (program)) 301 VISIT_GL_CALL(IsProgram, GLboolean, (GLuint program), (program))
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 GLint size, 528 GLint size,
536 GLenum type, 529 GLenum type,
537 GLboolean normalized, 530 GLboolean normalized,
538 GLsizei stride, 531 GLsizei stride,
539 const void* ptr), 532 const void* ptr),
540 (indx, size, type, normalized, stride, ptr)) 533 (indx, size, type, normalized, stride, ptr))
541 VISIT_GL_CALL(Viewport, 534 VISIT_GL_CALL(Viewport,
542 void, 535 void,
543 (GLint x, GLint y, GLsizei width, GLsizei height), 536 (GLint x, GLint y, GLsizei width, GLsizei height),
544 (x, y, width, height)) 537 (x, y, width, height))
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gpu_tracer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698