Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / gpu / command_buffer / client / gles2_trace_implementation_impl_autogen.h
blobbe4a0307e1f67c3769107f9daca191f6290f1c2f
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
3 // found in the LICENSE file.
5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT!
11 // This file is included by gles2_trace_implementation.cc
12 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_
13 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_
15 void GLES2TraceImplementation::ActiveTexture(GLenum texture) {
16 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ActiveTexture");
17 gl_->ActiveTexture(texture);
20 void GLES2TraceImplementation::AttachShader(GLuint program, GLuint shader) {
21 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::AttachShader");
22 gl_->AttachShader(program, shader);
25 void GLES2TraceImplementation::BindAttribLocation(GLuint program,
26 GLuint index,
27 const char* name) {
28 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BindAttribLocation");
29 gl_->BindAttribLocation(program, index, name);
32 void GLES2TraceImplementation::BindBuffer(GLenum target, GLuint buffer) {
33 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BindBuffer");
34 gl_->BindBuffer(target, buffer);
37 void GLES2TraceImplementation::BindBufferBase(GLenum target,
38 GLuint index,
39 GLuint buffer) {
40 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BindBufferBase");
41 gl_->BindBufferBase(target, index, buffer);
44 void GLES2TraceImplementation::BindBufferRange(GLenum target,
45 GLuint index,
46 GLuint buffer,
47 GLintptr offset,
48 GLsizeiptr size) {
49 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BindBufferRange");
50 gl_->BindBufferRange(target, index, buffer, offset, size);
53 void GLES2TraceImplementation::BindFramebuffer(GLenum target,
54 GLuint framebuffer) {
55 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BindFramebuffer");
56 gl_->BindFramebuffer(target, framebuffer);
59 void GLES2TraceImplementation::BindRenderbuffer(GLenum target,
60 GLuint renderbuffer) {
61 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BindRenderbuffer");
62 gl_->BindRenderbuffer(target, renderbuffer);
65 void GLES2TraceImplementation::BindSampler(GLuint unit, GLuint sampler) {
66 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BindSampler");
67 gl_->BindSampler(unit, sampler);
70 void GLES2TraceImplementation::BindTexture(GLenum target, GLuint texture) {
71 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BindTexture");
72 gl_->BindTexture(target, texture);
75 void GLES2TraceImplementation::BindTransformFeedback(GLenum target,
76 GLuint transformfeedback) {
77 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BindTransformFeedback");
78 gl_->BindTransformFeedback(target, transformfeedback);
81 void GLES2TraceImplementation::BlendColor(GLclampf red,
82 GLclampf green,
83 GLclampf blue,
84 GLclampf alpha) {
85 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendColor");
86 gl_->BlendColor(red, green, blue, alpha);
89 void GLES2TraceImplementation::BlendEquation(GLenum mode) {
90 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendEquation");
91 gl_->BlendEquation(mode);
94 void GLES2TraceImplementation::BlendEquationSeparate(GLenum modeRGB,
95 GLenum modeAlpha) {
96 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendEquationSeparate");
97 gl_->BlendEquationSeparate(modeRGB, modeAlpha);
100 void GLES2TraceImplementation::BlendFunc(GLenum sfactor, GLenum dfactor) {
101 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendFunc");
102 gl_->BlendFunc(sfactor, dfactor);
105 void GLES2TraceImplementation::BlendFuncSeparate(GLenum srcRGB,
106 GLenum dstRGB,
107 GLenum srcAlpha,
108 GLenum dstAlpha) {
109 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendFuncSeparate");
110 gl_->BlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha);
113 void GLES2TraceImplementation::BufferData(GLenum target,
114 GLsizeiptr size,
115 const void* data,
116 GLenum usage) {
117 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BufferData");
118 gl_->BufferData(target, size, data, usage);
121 void GLES2TraceImplementation::BufferSubData(GLenum target,
122 GLintptr offset,
123 GLsizeiptr size,
124 const void* data) {
125 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BufferSubData");
126 gl_->BufferSubData(target, offset, size, data);
129 GLenum GLES2TraceImplementation::CheckFramebufferStatus(GLenum target) {
130 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CheckFramebufferStatus");
131 return gl_->CheckFramebufferStatus(target);
134 void GLES2TraceImplementation::Clear(GLbitfield mask) {
135 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Clear");
136 gl_->Clear(mask);
139 void GLES2TraceImplementation::ClearBufferfi(GLenum buffer,
140 GLint drawbuffers,
141 GLfloat depth,
142 GLint stencil) {
143 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ClearBufferfi");
144 gl_->ClearBufferfi(buffer, drawbuffers, depth, stencil);
147 void GLES2TraceImplementation::ClearBufferfv(GLenum buffer,
148 GLint drawbuffers,
149 const GLfloat* value) {
150 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ClearBufferfv");
151 gl_->ClearBufferfv(buffer, drawbuffers, value);
154 void GLES2TraceImplementation::ClearBufferiv(GLenum buffer,
155 GLint drawbuffers,
156 const GLint* value) {
157 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ClearBufferiv");
158 gl_->ClearBufferiv(buffer, drawbuffers, value);
161 void GLES2TraceImplementation::ClearBufferuiv(GLenum buffer,
162 GLint drawbuffers,
163 const GLuint* value) {
164 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ClearBufferuiv");
165 gl_->ClearBufferuiv(buffer, drawbuffers, value);
168 void GLES2TraceImplementation::ClearColor(GLclampf red,
169 GLclampf green,
170 GLclampf blue,
171 GLclampf alpha) {
172 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ClearColor");
173 gl_->ClearColor(red, green, blue, alpha);
176 void GLES2TraceImplementation::ClearDepthf(GLclampf depth) {
177 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ClearDepthf");
178 gl_->ClearDepthf(depth);
181 void GLES2TraceImplementation::ClearStencil(GLint s) {
182 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ClearStencil");
183 gl_->ClearStencil(s);
186 GLenum GLES2TraceImplementation::ClientWaitSync(GLsync sync,
187 GLbitfield flags,
188 GLuint64 timeout) {
189 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ClientWaitSync");
190 return gl_->ClientWaitSync(sync, flags, timeout);
193 void GLES2TraceImplementation::ColorMask(GLboolean red,
194 GLboolean green,
195 GLboolean blue,
196 GLboolean alpha) {
197 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ColorMask");
198 gl_->ColorMask(red, green, blue, alpha);
201 void GLES2TraceImplementation::CompileShader(GLuint shader) {
202 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CompileShader");
203 gl_->CompileShader(shader);
206 void GLES2TraceImplementation::CompressedTexImage2D(GLenum target,
207 GLint level,
208 GLenum internalformat,
209 GLsizei width,
210 GLsizei height,
211 GLint border,
212 GLsizei imageSize,
213 const void* data) {
214 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CompressedTexImage2D");
215 gl_->CompressedTexImage2D(target, level, internalformat, width, height,
216 border, imageSize, data);
219 void GLES2TraceImplementation::CompressedTexSubImage2D(GLenum target,
220 GLint level,
221 GLint xoffset,
222 GLint yoffset,
223 GLsizei width,
224 GLsizei height,
225 GLenum format,
226 GLsizei imageSize,
227 const void* data) {
228 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CompressedTexSubImage2D");
229 gl_->CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height,
230 format, imageSize, data);
233 void GLES2TraceImplementation::CompressedTexImage3D(GLenum target,
234 GLint level,
235 GLenum internalformat,
236 GLsizei width,
237 GLsizei height,
238 GLsizei depth,
239 GLint border,
240 GLsizei imageSize,
241 const void* data) {
242 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CompressedTexImage3D");
243 gl_->CompressedTexImage3D(target, level, internalformat, width, height, depth,
244 border, imageSize, data);
247 void GLES2TraceImplementation::CompressedTexSubImage3D(GLenum target,
248 GLint level,
249 GLint xoffset,
250 GLint yoffset,
251 GLint zoffset,
252 GLsizei width,
253 GLsizei height,
254 GLsizei depth,
255 GLenum format,
256 GLsizei imageSize,
257 const void* data) {
258 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CompressedTexSubImage3D");
259 gl_->CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width,
260 height, depth, format, imageSize, data);
263 void GLES2TraceImplementation::CopyBufferSubData(GLenum readtarget,
264 GLenum writetarget,
265 GLintptr readoffset,
266 GLintptr writeoffset,
267 GLsizeiptr size) {
268 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopyBufferSubData");
269 gl_->CopyBufferSubData(readtarget, writetarget, readoffset, writeoffset,
270 size);
273 void GLES2TraceImplementation::CopyTexImage2D(GLenum target,
274 GLint level,
275 GLenum internalformat,
276 GLint x,
277 GLint y,
278 GLsizei width,
279 GLsizei height,
280 GLint border) {
281 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopyTexImage2D");
282 gl_->CopyTexImage2D(target, level, internalformat, x, y, width, height,
283 border);
286 void GLES2TraceImplementation::CopyTexSubImage2D(GLenum target,
287 GLint level,
288 GLint xoffset,
289 GLint yoffset,
290 GLint x,
291 GLint y,
292 GLsizei width,
293 GLsizei height) {
294 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopyTexSubImage2D");
295 gl_->CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
298 void GLES2TraceImplementation::CopyTexSubImage3D(GLenum target,
299 GLint level,
300 GLint xoffset,
301 GLint yoffset,
302 GLint zoffset,
303 GLint x,
304 GLint y,
305 GLsizei width,
306 GLsizei height) {
307 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopyTexSubImage3D");
308 gl_->CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width,
309 height);
312 GLuint GLES2TraceImplementation::CreateProgram() {
313 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CreateProgram");
314 return gl_->CreateProgram();
317 GLuint GLES2TraceImplementation::CreateShader(GLenum type) {
318 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CreateShader");
319 return gl_->CreateShader(type);
322 void GLES2TraceImplementation::CullFace(GLenum mode) {
323 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CullFace");
324 gl_->CullFace(mode);
327 void GLES2TraceImplementation::DeleteBuffers(GLsizei n, const GLuint* buffers) {
328 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DeleteBuffers");
329 gl_->DeleteBuffers(n, buffers);
332 void GLES2TraceImplementation::DeleteFramebuffers(GLsizei n,
333 const GLuint* framebuffers) {
334 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DeleteFramebuffers");
335 gl_->DeleteFramebuffers(n, framebuffers);
338 void GLES2TraceImplementation::DeleteProgram(GLuint program) {
339 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DeleteProgram");
340 gl_->DeleteProgram(program);
343 void GLES2TraceImplementation::DeleteRenderbuffers(
344 GLsizei n,
345 const GLuint* renderbuffers) {
346 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DeleteRenderbuffers");
347 gl_->DeleteRenderbuffers(n, renderbuffers);
350 void GLES2TraceImplementation::DeleteSamplers(GLsizei n,
351 const GLuint* samplers) {
352 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DeleteSamplers");
353 gl_->DeleteSamplers(n, samplers);
356 void GLES2TraceImplementation::DeleteSync(GLsync sync) {
357 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DeleteSync");
358 gl_->DeleteSync(sync);
361 void GLES2TraceImplementation::DeleteShader(GLuint shader) {
362 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DeleteShader");
363 gl_->DeleteShader(shader);
366 void GLES2TraceImplementation::DeleteTextures(GLsizei n,
367 const GLuint* textures) {
368 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DeleteTextures");
369 gl_->DeleteTextures(n, textures);
372 void GLES2TraceImplementation::DeleteTransformFeedbacks(GLsizei n,
373 const GLuint* ids) {
374 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DeleteTransformFeedbacks");
375 gl_->DeleteTransformFeedbacks(n, ids);
378 void GLES2TraceImplementation::DepthFunc(GLenum func) {
379 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DepthFunc");
380 gl_->DepthFunc(func);
383 void GLES2TraceImplementation::DepthMask(GLboolean flag) {
384 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DepthMask");
385 gl_->DepthMask(flag);
388 void GLES2TraceImplementation::DepthRangef(GLclampf zNear, GLclampf zFar) {
389 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DepthRangef");
390 gl_->DepthRangef(zNear, zFar);
393 void GLES2TraceImplementation::DetachShader(GLuint program, GLuint shader) {
394 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DetachShader");
395 gl_->DetachShader(program, shader);
398 void GLES2TraceImplementation::Disable(GLenum cap) {
399 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Disable");
400 gl_->Disable(cap);
403 void GLES2TraceImplementation::DisableVertexAttribArray(GLuint index) {
404 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DisableVertexAttribArray");
405 gl_->DisableVertexAttribArray(index);
408 void GLES2TraceImplementation::DrawArrays(GLenum mode,
409 GLint first,
410 GLsizei count) {
411 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DrawArrays");
412 gl_->DrawArrays(mode, first, count);
415 void GLES2TraceImplementation::DrawElements(GLenum mode,
416 GLsizei count,
417 GLenum type,
418 const void* indices) {
419 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DrawElements");
420 gl_->DrawElements(mode, count, type, indices);
423 void GLES2TraceImplementation::DrawRangeElements(GLenum mode,
424 GLuint start,
425 GLuint end,
426 GLsizei count,
427 GLenum type,
428 const void* indices) {
429 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DrawRangeElements");
430 gl_->DrawRangeElements(mode, start, end, count, type, indices);
433 void GLES2TraceImplementation::Enable(GLenum cap) {
434 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Enable");
435 gl_->Enable(cap);
438 void GLES2TraceImplementation::EnableVertexAttribArray(GLuint index) {
439 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::EnableVertexAttribArray");
440 gl_->EnableVertexAttribArray(index);
443 GLsync GLES2TraceImplementation::FenceSync(GLenum condition, GLbitfield flags) {
444 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::FenceSync");
445 return gl_->FenceSync(condition, flags);
448 void GLES2TraceImplementation::Finish() {
449 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Finish");
450 gl_->Finish();
453 void GLES2TraceImplementation::Flush() {
454 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Flush");
455 gl_->Flush();
458 void GLES2TraceImplementation::FramebufferRenderbuffer(
459 GLenum target,
460 GLenum attachment,
461 GLenum renderbuffertarget,
462 GLuint renderbuffer) {
463 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::FramebufferRenderbuffer");
464 gl_->FramebufferRenderbuffer(target, attachment, renderbuffertarget,
465 renderbuffer);
468 void GLES2TraceImplementation::FramebufferTexture2D(GLenum target,
469 GLenum attachment,
470 GLenum textarget,
471 GLuint texture,
472 GLint level) {
473 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::FramebufferTexture2D");
474 gl_->FramebufferTexture2D(target, attachment, textarget, texture, level);
477 void GLES2TraceImplementation::FramebufferTextureLayer(GLenum target,
478 GLenum attachment,
479 GLuint texture,
480 GLint level,
481 GLint layer) {
482 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::FramebufferTextureLayer");
483 gl_->FramebufferTextureLayer(target, attachment, texture, level, layer);
486 void GLES2TraceImplementation::FrontFace(GLenum mode) {
487 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::FrontFace");
488 gl_->FrontFace(mode);
491 void GLES2TraceImplementation::GenBuffers(GLsizei n, GLuint* buffers) {
492 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GenBuffers");
493 gl_->GenBuffers(n, buffers);
496 void GLES2TraceImplementation::GenerateMipmap(GLenum target) {
497 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GenerateMipmap");
498 gl_->GenerateMipmap(target);
501 void GLES2TraceImplementation::GenFramebuffers(GLsizei n,
502 GLuint* framebuffers) {
503 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GenFramebuffers");
504 gl_->GenFramebuffers(n, framebuffers);
507 void GLES2TraceImplementation::GenRenderbuffers(GLsizei n,
508 GLuint* renderbuffers) {
509 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GenRenderbuffers");
510 gl_->GenRenderbuffers(n, renderbuffers);
513 void GLES2TraceImplementation::GenSamplers(GLsizei n, GLuint* samplers) {
514 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GenSamplers");
515 gl_->GenSamplers(n, samplers);
518 void GLES2TraceImplementation::GenTextures(GLsizei n, GLuint* textures) {
519 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GenTextures");
520 gl_->GenTextures(n, textures);
523 void GLES2TraceImplementation::GenTransformFeedbacks(GLsizei n, GLuint* ids) {
524 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GenTransformFeedbacks");
525 gl_->GenTransformFeedbacks(n, ids);
528 void GLES2TraceImplementation::GetActiveAttrib(GLuint program,
529 GLuint index,
530 GLsizei bufsize,
531 GLsizei* length,
532 GLint* size,
533 GLenum* type,
534 char* name) {
535 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetActiveAttrib");
536 gl_->GetActiveAttrib(program, index, bufsize, length, size, type, name);
539 void GLES2TraceImplementation::GetActiveUniform(GLuint program,
540 GLuint index,
541 GLsizei bufsize,
542 GLsizei* length,
543 GLint* size,
544 GLenum* type,
545 char* name) {
546 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetActiveUniform");
547 gl_->GetActiveUniform(program, index, bufsize, length, size, type, name);
550 void GLES2TraceImplementation::GetActiveUniformBlockiv(GLuint program,
551 GLuint index,
552 GLenum pname,
553 GLint* params) {
554 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetActiveUniformBlockiv");
555 gl_->GetActiveUniformBlockiv(program, index, pname, params);
558 void GLES2TraceImplementation::GetActiveUniformBlockName(GLuint program,
559 GLuint index,
560 GLsizei bufsize,
561 GLsizei* length,
562 char* name) {
563 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetActiveUniformBlockName");
564 gl_->GetActiveUniformBlockName(program, index, bufsize, length, name);
567 void GLES2TraceImplementation::GetActiveUniformsiv(GLuint program,
568 GLsizei count,
569 const GLuint* indices,
570 GLenum pname,
571 GLint* params) {
572 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetActiveUniformsiv");
573 gl_->GetActiveUniformsiv(program, count, indices, pname, params);
576 void GLES2TraceImplementation::GetAttachedShaders(GLuint program,
577 GLsizei maxcount,
578 GLsizei* count,
579 GLuint* shaders) {
580 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetAttachedShaders");
581 gl_->GetAttachedShaders(program, maxcount, count, shaders);
584 GLint GLES2TraceImplementation::GetAttribLocation(GLuint program,
585 const char* name) {
586 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetAttribLocation");
587 return gl_->GetAttribLocation(program, name);
590 void GLES2TraceImplementation::GetBooleanv(GLenum pname, GLboolean* params) {
591 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetBooleanv");
592 gl_->GetBooleanv(pname, params);
595 void GLES2TraceImplementation::GetBufferParameteriv(GLenum target,
596 GLenum pname,
597 GLint* params) {
598 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetBufferParameteriv");
599 gl_->GetBufferParameteriv(target, pname, params);
602 GLenum GLES2TraceImplementation::GetError() {
603 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetError");
604 return gl_->GetError();
607 void GLES2TraceImplementation::GetFloatv(GLenum pname, GLfloat* params) {
608 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetFloatv");
609 gl_->GetFloatv(pname, params);
612 GLint GLES2TraceImplementation::GetFragDataLocation(GLuint program,
613 const char* name) {
614 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetFragDataLocation");
615 return gl_->GetFragDataLocation(program, name);
618 void GLES2TraceImplementation::GetFramebufferAttachmentParameteriv(
619 GLenum target,
620 GLenum attachment,
621 GLenum pname,
622 GLint* params) {
623 TRACE_EVENT_BINARY_EFFICIENT0(
624 "gpu", "GLES2Trace::GetFramebufferAttachmentParameteriv");
625 gl_->GetFramebufferAttachmentParameteriv(target, attachment, pname, params);
628 void GLES2TraceImplementation::GetInteger64v(GLenum pname, GLint64* params) {
629 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetInteger64v");
630 gl_->GetInteger64v(pname, params);
633 void GLES2TraceImplementation::GetIntegeri_v(GLenum pname,
634 GLuint index,
635 GLint* data) {
636 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetIntegeri_v");
637 gl_->GetIntegeri_v(pname, index, data);
640 void GLES2TraceImplementation::GetInteger64i_v(GLenum pname,
641 GLuint index,
642 GLint64* data) {
643 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetInteger64i_v");
644 gl_->GetInteger64i_v(pname, index, data);
647 void GLES2TraceImplementation::GetIntegerv(GLenum pname, GLint* params) {
648 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetIntegerv");
649 gl_->GetIntegerv(pname, params);
652 void GLES2TraceImplementation::GetInternalformativ(GLenum target,
653 GLenum format,
654 GLenum pname,
655 GLsizei bufSize,
656 GLint* params) {
657 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetInternalformativ");
658 gl_->GetInternalformativ(target, format, pname, bufSize, params);
661 void GLES2TraceImplementation::GetProgramiv(GLuint program,
662 GLenum pname,
663 GLint* params) {
664 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetProgramiv");
665 gl_->GetProgramiv(program, pname, params);
668 void GLES2TraceImplementation::GetProgramInfoLog(GLuint program,
669 GLsizei bufsize,
670 GLsizei* length,
671 char* infolog) {
672 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetProgramInfoLog");
673 gl_->GetProgramInfoLog(program, bufsize, length, infolog);
676 void GLES2TraceImplementation::GetRenderbufferParameteriv(GLenum target,
677 GLenum pname,
678 GLint* params) {
679 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
680 "GLES2Trace::GetRenderbufferParameteriv");
681 gl_->GetRenderbufferParameteriv(target, pname, params);
684 void GLES2TraceImplementation::GetSamplerParameterfv(GLuint sampler,
685 GLenum pname,
686 GLfloat* params) {
687 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetSamplerParameterfv");
688 gl_->GetSamplerParameterfv(sampler, pname, params);
691 void GLES2TraceImplementation::GetSamplerParameteriv(GLuint sampler,
692 GLenum pname,
693 GLint* params) {
694 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetSamplerParameteriv");
695 gl_->GetSamplerParameteriv(sampler, pname, params);
698 void GLES2TraceImplementation::GetShaderiv(GLuint shader,
699 GLenum pname,
700 GLint* params) {
701 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetShaderiv");
702 gl_->GetShaderiv(shader, pname, params);
705 void GLES2TraceImplementation::GetShaderInfoLog(GLuint shader,
706 GLsizei bufsize,
707 GLsizei* length,
708 char* infolog) {
709 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetShaderInfoLog");
710 gl_->GetShaderInfoLog(shader, bufsize, length, infolog);
713 void GLES2TraceImplementation::GetShaderPrecisionFormat(GLenum shadertype,
714 GLenum precisiontype,
715 GLint* range,
716 GLint* precision) {
717 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetShaderPrecisionFormat");
718 gl_->GetShaderPrecisionFormat(shadertype, precisiontype, range, precision);
721 void GLES2TraceImplementation::GetShaderSource(GLuint shader,
722 GLsizei bufsize,
723 GLsizei* length,
724 char* source) {
725 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetShaderSource");
726 gl_->GetShaderSource(shader, bufsize, length, source);
729 const GLubyte* GLES2TraceImplementation::GetString(GLenum name) {
730 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetString");
731 return gl_->GetString(name);
734 void GLES2TraceImplementation::GetSynciv(GLsync sync,
735 GLenum pname,
736 GLsizei bufsize,
737 GLsizei* length,
738 GLint* values) {
739 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetSynciv");
740 gl_->GetSynciv(sync, pname, bufsize, length, values);
743 void GLES2TraceImplementation::GetTexParameterfv(GLenum target,
744 GLenum pname,
745 GLfloat* params) {
746 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetTexParameterfv");
747 gl_->GetTexParameterfv(target, pname, params);
750 void GLES2TraceImplementation::GetTexParameteriv(GLenum target,
751 GLenum pname,
752 GLint* params) {
753 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetTexParameteriv");
754 gl_->GetTexParameteriv(target, pname, params);
757 void GLES2TraceImplementation::GetTransformFeedbackVarying(GLuint program,
758 GLuint index,
759 GLsizei bufsize,
760 GLsizei* length,
761 GLsizei* size,
762 GLenum* type,
763 char* name) {
764 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
765 "GLES2Trace::GetTransformFeedbackVarying");
766 gl_->GetTransformFeedbackVarying(program, index, bufsize, length, size, type,
767 name);
770 GLuint GLES2TraceImplementation::GetUniformBlockIndex(GLuint program,
771 const char* name) {
772 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetUniformBlockIndex");
773 return gl_->GetUniformBlockIndex(program, name);
776 void GLES2TraceImplementation::GetUniformfv(GLuint program,
777 GLint location,
778 GLfloat* params) {
779 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetUniformfv");
780 gl_->GetUniformfv(program, location, params);
783 void GLES2TraceImplementation::GetUniformiv(GLuint program,
784 GLint location,
785 GLint* params) {
786 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetUniformiv");
787 gl_->GetUniformiv(program, location, params);
790 void GLES2TraceImplementation::GetUniformuiv(GLuint program,
791 GLint location,
792 GLuint* params) {
793 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetUniformuiv");
794 gl_->GetUniformuiv(program, location, params);
797 void GLES2TraceImplementation::GetUniformIndices(GLuint program,
798 GLsizei count,
799 const char* const* names,
800 GLuint* indices) {
801 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetUniformIndices");
802 gl_->GetUniformIndices(program, count, names, indices);
805 GLint GLES2TraceImplementation::GetUniformLocation(GLuint program,
806 const char* name) {
807 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetUniformLocation");
808 return gl_->GetUniformLocation(program, name);
811 void GLES2TraceImplementation::GetVertexAttribfv(GLuint index,
812 GLenum pname,
813 GLfloat* params) {
814 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetVertexAttribfv");
815 gl_->GetVertexAttribfv(index, pname, params);
818 void GLES2TraceImplementation::GetVertexAttribiv(GLuint index,
819 GLenum pname,
820 GLint* params) {
821 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetVertexAttribiv");
822 gl_->GetVertexAttribiv(index, pname, params);
825 void GLES2TraceImplementation::GetVertexAttribIiv(GLuint index,
826 GLenum pname,
827 GLint* params) {
828 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetVertexAttribIiv");
829 gl_->GetVertexAttribIiv(index, pname, params);
832 void GLES2TraceImplementation::GetVertexAttribIuiv(GLuint index,
833 GLenum pname,
834 GLuint* params) {
835 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetVertexAttribIuiv");
836 gl_->GetVertexAttribIuiv(index, pname, params);
839 void GLES2TraceImplementation::GetVertexAttribPointerv(GLuint index,
840 GLenum pname,
841 void** pointer) {
842 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetVertexAttribPointerv");
843 gl_->GetVertexAttribPointerv(index, pname, pointer);
846 void GLES2TraceImplementation::Hint(GLenum target, GLenum mode) {
847 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Hint");
848 gl_->Hint(target, mode);
851 void GLES2TraceImplementation::InvalidateFramebuffer(
852 GLenum target,
853 GLsizei count,
854 const GLenum* attachments) {
855 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::InvalidateFramebuffer");
856 gl_->InvalidateFramebuffer(target, count, attachments);
859 void GLES2TraceImplementation::InvalidateSubFramebuffer(
860 GLenum target,
861 GLsizei count,
862 const GLenum* attachments,
863 GLint x,
864 GLint y,
865 GLsizei width,
866 GLsizei height) {
867 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::InvalidateSubFramebuffer");
868 gl_->InvalidateSubFramebuffer(target, count, attachments, x, y, width,
869 height);
872 GLboolean GLES2TraceImplementation::IsBuffer(GLuint buffer) {
873 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::IsBuffer");
874 return gl_->IsBuffer(buffer);
877 GLboolean GLES2TraceImplementation::IsEnabled(GLenum cap) {
878 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::IsEnabled");
879 return gl_->IsEnabled(cap);
882 GLboolean GLES2TraceImplementation::IsFramebuffer(GLuint framebuffer) {
883 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::IsFramebuffer");
884 return gl_->IsFramebuffer(framebuffer);
887 GLboolean GLES2TraceImplementation::IsProgram(GLuint program) {
888 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::IsProgram");
889 return gl_->IsProgram(program);
892 GLboolean GLES2TraceImplementation::IsRenderbuffer(GLuint renderbuffer) {
893 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::IsRenderbuffer");
894 return gl_->IsRenderbuffer(renderbuffer);
897 GLboolean GLES2TraceImplementation::IsSampler(GLuint sampler) {
898 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::IsSampler");
899 return gl_->IsSampler(sampler);
902 GLboolean GLES2TraceImplementation::IsShader(GLuint shader) {
903 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::IsShader");
904 return gl_->IsShader(shader);
907 GLboolean GLES2TraceImplementation::IsSync(GLsync sync) {
908 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::IsSync");
909 return gl_->IsSync(sync);
912 GLboolean GLES2TraceImplementation::IsTexture(GLuint texture) {
913 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::IsTexture");
914 return gl_->IsTexture(texture);
917 GLboolean GLES2TraceImplementation::IsTransformFeedback(
918 GLuint transformfeedback) {
919 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::IsTransformFeedback");
920 return gl_->IsTransformFeedback(transformfeedback);
923 void GLES2TraceImplementation::LineWidth(GLfloat width) {
924 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::LineWidth");
925 gl_->LineWidth(width);
928 void GLES2TraceImplementation::LinkProgram(GLuint program) {
929 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::LinkProgram");
930 gl_->LinkProgram(program);
933 void GLES2TraceImplementation::PauseTransformFeedback() {
934 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::PauseTransformFeedback");
935 gl_->PauseTransformFeedback();
938 void GLES2TraceImplementation::PixelStorei(GLenum pname, GLint param) {
939 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::PixelStorei");
940 gl_->PixelStorei(pname, param);
943 void GLES2TraceImplementation::PolygonOffset(GLfloat factor, GLfloat units) {
944 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::PolygonOffset");
945 gl_->PolygonOffset(factor, units);
948 void GLES2TraceImplementation::ReadBuffer(GLenum src) {
949 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ReadBuffer");
950 gl_->ReadBuffer(src);
953 void GLES2TraceImplementation::ReadPixels(GLint x,
954 GLint y,
955 GLsizei width,
956 GLsizei height,
957 GLenum format,
958 GLenum type,
959 void* pixels) {
960 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ReadPixels");
961 gl_->ReadPixels(x, y, width, height, format, type, pixels);
964 void GLES2TraceImplementation::ReleaseShaderCompiler() {
965 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ReleaseShaderCompiler");
966 gl_->ReleaseShaderCompiler();
969 void GLES2TraceImplementation::RenderbufferStorage(GLenum target,
970 GLenum internalformat,
971 GLsizei width,
972 GLsizei height) {
973 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::RenderbufferStorage");
974 gl_->RenderbufferStorage(target, internalformat, width, height);
977 void GLES2TraceImplementation::ResumeTransformFeedback() {
978 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ResumeTransformFeedback");
979 gl_->ResumeTransformFeedback();
982 void GLES2TraceImplementation::SampleCoverage(GLclampf value,
983 GLboolean invert) {
984 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SampleCoverage");
985 gl_->SampleCoverage(value, invert);
988 void GLES2TraceImplementation::SamplerParameterf(GLuint sampler,
989 GLenum pname,
990 GLfloat param) {
991 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SamplerParameterf");
992 gl_->SamplerParameterf(sampler, pname, param);
995 void GLES2TraceImplementation::SamplerParameterfv(GLuint sampler,
996 GLenum pname,
997 const GLfloat* params) {
998 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SamplerParameterfv");
999 gl_->SamplerParameterfv(sampler, pname, params);
1002 void GLES2TraceImplementation::SamplerParameteri(GLuint sampler,
1003 GLenum pname,
1004 GLint param) {
1005 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SamplerParameteri");
1006 gl_->SamplerParameteri(sampler, pname, param);
1009 void GLES2TraceImplementation::SamplerParameteriv(GLuint sampler,
1010 GLenum pname,
1011 const GLint* params) {
1012 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SamplerParameteriv");
1013 gl_->SamplerParameteriv(sampler, pname, params);
1016 void GLES2TraceImplementation::Scissor(GLint x,
1017 GLint y,
1018 GLsizei width,
1019 GLsizei height) {
1020 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Scissor");
1021 gl_->Scissor(x, y, width, height);
1024 void GLES2TraceImplementation::ShaderBinary(GLsizei n,
1025 const GLuint* shaders,
1026 GLenum binaryformat,
1027 const void* binary,
1028 GLsizei length) {
1029 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ShaderBinary");
1030 gl_->ShaderBinary(n, shaders, binaryformat, binary, length);
1033 void GLES2TraceImplementation::ShaderSource(GLuint shader,
1034 GLsizei count,
1035 const GLchar* const* str,
1036 const GLint* length) {
1037 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ShaderSource");
1038 gl_->ShaderSource(shader, count, str, length);
1041 void GLES2TraceImplementation::ShallowFinishCHROMIUM() {
1042 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ShallowFinishCHROMIUM");
1043 gl_->ShallowFinishCHROMIUM();
1046 void GLES2TraceImplementation::ShallowFlushCHROMIUM() {
1047 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ShallowFlushCHROMIUM");
1048 gl_->ShallowFlushCHROMIUM();
1051 void GLES2TraceImplementation::OrderingBarrierCHROMIUM() {
1052 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::OrderingBarrierCHROMIUM");
1053 gl_->OrderingBarrierCHROMIUM();
1056 void GLES2TraceImplementation::StencilFunc(GLenum func,
1057 GLint ref,
1058 GLuint mask) {
1059 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::StencilFunc");
1060 gl_->StencilFunc(func, ref, mask);
1063 void GLES2TraceImplementation::StencilFuncSeparate(GLenum face,
1064 GLenum func,
1065 GLint ref,
1066 GLuint mask) {
1067 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::StencilFuncSeparate");
1068 gl_->StencilFuncSeparate(face, func, ref, mask);
1071 void GLES2TraceImplementation::StencilMask(GLuint mask) {
1072 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::StencilMask");
1073 gl_->StencilMask(mask);
1076 void GLES2TraceImplementation::StencilMaskSeparate(GLenum face, GLuint mask) {
1077 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::StencilMaskSeparate");
1078 gl_->StencilMaskSeparate(face, mask);
1081 void GLES2TraceImplementation::StencilOp(GLenum fail,
1082 GLenum zfail,
1083 GLenum zpass) {
1084 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::StencilOp");
1085 gl_->StencilOp(fail, zfail, zpass);
1088 void GLES2TraceImplementation::StencilOpSeparate(GLenum face,
1089 GLenum fail,
1090 GLenum zfail,
1091 GLenum zpass) {
1092 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::StencilOpSeparate");
1093 gl_->StencilOpSeparate(face, fail, zfail, zpass);
1096 void GLES2TraceImplementation::TexImage2D(GLenum target,
1097 GLint level,
1098 GLint internalformat,
1099 GLsizei width,
1100 GLsizei height,
1101 GLint border,
1102 GLenum format,
1103 GLenum type,
1104 const void* pixels) {
1105 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexImage2D");
1106 gl_->TexImage2D(target, level, internalformat, width, height, border, format,
1107 type, pixels);
1110 void GLES2TraceImplementation::TexImage3D(GLenum target,
1111 GLint level,
1112 GLint internalformat,
1113 GLsizei width,
1114 GLsizei height,
1115 GLsizei depth,
1116 GLint border,
1117 GLenum format,
1118 GLenum type,
1119 const void* pixels) {
1120 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexImage3D");
1121 gl_->TexImage3D(target, level, internalformat, width, height, depth, border,
1122 format, type, pixels);
1125 void GLES2TraceImplementation::TexParameterf(GLenum target,
1126 GLenum pname,
1127 GLfloat param) {
1128 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexParameterf");
1129 gl_->TexParameterf(target, pname, param);
1132 void GLES2TraceImplementation::TexParameterfv(GLenum target,
1133 GLenum pname,
1134 const GLfloat* params) {
1135 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexParameterfv");
1136 gl_->TexParameterfv(target, pname, params);
1139 void GLES2TraceImplementation::TexParameteri(GLenum target,
1140 GLenum pname,
1141 GLint param) {
1142 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexParameteri");
1143 gl_->TexParameteri(target, pname, param);
1146 void GLES2TraceImplementation::TexParameteriv(GLenum target,
1147 GLenum pname,
1148 const GLint* params) {
1149 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexParameteriv");
1150 gl_->TexParameteriv(target, pname, params);
1153 void GLES2TraceImplementation::TexStorage3D(GLenum target,
1154 GLsizei levels,
1155 GLenum internalFormat,
1156 GLsizei width,
1157 GLsizei height,
1158 GLsizei depth) {
1159 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexStorage3D");
1160 gl_->TexStorage3D(target, levels, internalFormat, width, height, depth);
1163 void GLES2TraceImplementation::TexSubImage2D(GLenum target,
1164 GLint level,
1165 GLint xoffset,
1166 GLint yoffset,
1167 GLsizei width,
1168 GLsizei height,
1169 GLenum format,
1170 GLenum type,
1171 const void* pixels) {
1172 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexSubImage2D");
1173 gl_->TexSubImage2D(target, level, xoffset, yoffset, width, height, format,
1174 type, pixels);
1177 void GLES2TraceImplementation::TexSubImage3D(GLenum target,
1178 GLint level,
1179 GLint xoffset,
1180 GLint yoffset,
1181 GLint zoffset,
1182 GLsizei width,
1183 GLsizei height,
1184 GLsizei depth,
1185 GLenum format,
1186 GLenum type,
1187 const void* pixels) {
1188 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexSubImage3D");
1189 gl_->TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height,
1190 depth, format, type, pixels);
1193 void GLES2TraceImplementation::TransformFeedbackVaryings(
1194 GLuint program,
1195 GLsizei count,
1196 const char* const* varyings,
1197 GLenum buffermode) {
1198 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TransformFeedbackVaryings");
1199 gl_->TransformFeedbackVaryings(program, count, varyings, buffermode);
1202 void GLES2TraceImplementation::Uniform1f(GLint location, GLfloat x) {
1203 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform1f");
1204 gl_->Uniform1f(location, x);
1207 void GLES2TraceImplementation::Uniform1fv(GLint location,
1208 GLsizei count,
1209 const GLfloat* v) {
1210 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform1fv");
1211 gl_->Uniform1fv(location, count, v);
1214 void GLES2TraceImplementation::Uniform1i(GLint location, GLint x) {
1215 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform1i");
1216 gl_->Uniform1i(location, x);
1219 void GLES2TraceImplementation::Uniform1iv(GLint location,
1220 GLsizei count,
1221 const GLint* v) {
1222 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform1iv");
1223 gl_->Uniform1iv(location, count, v);
1226 void GLES2TraceImplementation::Uniform1ui(GLint location, GLuint x) {
1227 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform1ui");
1228 gl_->Uniform1ui(location, x);
1231 void GLES2TraceImplementation::Uniform1uiv(GLint location,
1232 GLsizei count,
1233 const GLuint* v) {
1234 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform1uiv");
1235 gl_->Uniform1uiv(location, count, v);
1238 void GLES2TraceImplementation::Uniform2f(GLint location, GLfloat x, GLfloat y) {
1239 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform2f");
1240 gl_->Uniform2f(location, x, y);
1243 void GLES2TraceImplementation::Uniform2fv(GLint location,
1244 GLsizei count,
1245 const GLfloat* v) {
1246 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform2fv");
1247 gl_->Uniform2fv(location, count, v);
1250 void GLES2TraceImplementation::Uniform2i(GLint location, GLint x, GLint y) {
1251 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform2i");
1252 gl_->Uniform2i(location, x, y);
1255 void GLES2TraceImplementation::Uniform2iv(GLint location,
1256 GLsizei count,
1257 const GLint* v) {
1258 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform2iv");
1259 gl_->Uniform2iv(location, count, v);
1262 void GLES2TraceImplementation::Uniform2ui(GLint location, GLuint x, GLuint y) {
1263 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform2ui");
1264 gl_->Uniform2ui(location, x, y);
1267 void GLES2TraceImplementation::Uniform2uiv(GLint location,
1268 GLsizei count,
1269 const GLuint* v) {
1270 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform2uiv");
1271 gl_->Uniform2uiv(location, count, v);
1274 void GLES2TraceImplementation::Uniform3f(GLint location,
1275 GLfloat x,
1276 GLfloat y,
1277 GLfloat z) {
1278 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform3f");
1279 gl_->Uniform3f(location, x, y, z);
1282 void GLES2TraceImplementation::Uniform3fv(GLint location,
1283 GLsizei count,
1284 const GLfloat* v) {
1285 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform3fv");
1286 gl_->Uniform3fv(location, count, v);
1289 void GLES2TraceImplementation::Uniform3i(GLint location,
1290 GLint x,
1291 GLint y,
1292 GLint z) {
1293 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform3i");
1294 gl_->Uniform3i(location, x, y, z);
1297 void GLES2TraceImplementation::Uniform3iv(GLint location,
1298 GLsizei count,
1299 const GLint* v) {
1300 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform3iv");
1301 gl_->Uniform3iv(location, count, v);
1304 void GLES2TraceImplementation::Uniform3ui(GLint location,
1305 GLuint x,
1306 GLuint y,
1307 GLuint z) {
1308 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform3ui");
1309 gl_->Uniform3ui(location, x, y, z);
1312 void GLES2TraceImplementation::Uniform3uiv(GLint location,
1313 GLsizei count,
1314 const GLuint* v) {
1315 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform3uiv");
1316 gl_->Uniform3uiv(location, count, v);
1319 void GLES2TraceImplementation::Uniform4f(GLint location,
1320 GLfloat x,
1321 GLfloat y,
1322 GLfloat z,
1323 GLfloat w) {
1324 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform4f");
1325 gl_->Uniform4f(location, x, y, z, w);
1328 void GLES2TraceImplementation::Uniform4fv(GLint location,
1329 GLsizei count,
1330 const GLfloat* v) {
1331 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform4fv");
1332 gl_->Uniform4fv(location, count, v);
1335 void GLES2TraceImplementation::Uniform4i(GLint location,
1336 GLint x,
1337 GLint y,
1338 GLint z,
1339 GLint w) {
1340 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform4i");
1341 gl_->Uniform4i(location, x, y, z, w);
1344 void GLES2TraceImplementation::Uniform4iv(GLint location,
1345 GLsizei count,
1346 const GLint* v) {
1347 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform4iv");
1348 gl_->Uniform4iv(location, count, v);
1351 void GLES2TraceImplementation::Uniform4ui(GLint location,
1352 GLuint x,
1353 GLuint y,
1354 GLuint z,
1355 GLuint w) {
1356 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform4ui");
1357 gl_->Uniform4ui(location, x, y, z, w);
1360 void GLES2TraceImplementation::Uniform4uiv(GLint location,
1361 GLsizei count,
1362 const GLuint* v) {
1363 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform4uiv");
1364 gl_->Uniform4uiv(location, count, v);
1367 void GLES2TraceImplementation::UniformBlockBinding(GLuint program,
1368 GLuint index,
1369 GLuint binding) {
1370 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformBlockBinding");
1371 gl_->UniformBlockBinding(program, index, binding);
1374 void GLES2TraceImplementation::UniformMatrix2fv(GLint location,
1375 GLsizei count,
1376 GLboolean transpose,
1377 const GLfloat* value) {
1378 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix2fv");
1379 gl_->UniformMatrix2fv(location, count, transpose, value);
1382 void GLES2TraceImplementation::UniformMatrix2x3fv(GLint location,
1383 GLsizei count,
1384 GLboolean transpose,
1385 const GLfloat* value) {
1386 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix2x3fv");
1387 gl_->UniformMatrix2x3fv(location, count, transpose, value);
1390 void GLES2TraceImplementation::UniformMatrix2x4fv(GLint location,
1391 GLsizei count,
1392 GLboolean transpose,
1393 const GLfloat* value) {
1394 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix2x4fv");
1395 gl_->UniformMatrix2x4fv(location, count, transpose, value);
1398 void GLES2TraceImplementation::UniformMatrix3fv(GLint location,
1399 GLsizei count,
1400 GLboolean transpose,
1401 const GLfloat* value) {
1402 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix3fv");
1403 gl_->UniformMatrix3fv(location, count, transpose, value);
1406 void GLES2TraceImplementation::UniformMatrix3x2fv(GLint location,
1407 GLsizei count,
1408 GLboolean transpose,
1409 const GLfloat* value) {
1410 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix3x2fv");
1411 gl_->UniformMatrix3x2fv(location, count, transpose, value);
1414 void GLES2TraceImplementation::UniformMatrix3x4fv(GLint location,
1415 GLsizei count,
1416 GLboolean transpose,
1417 const GLfloat* value) {
1418 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix3x4fv");
1419 gl_->UniformMatrix3x4fv(location, count, transpose, value);
1422 void GLES2TraceImplementation::UniformMatrix4fv(GLint location,
1423 GLsizei count,
1424 GLboolean transpose,
1425 const GLfloat* value) {
1426 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix4fv");
1427 gl_->UniformMatrix4fv(location, count, transpose, value);
1430 void GLES2TraceImplementation::UniformMatrix4x2fv(GLint location,
1431 GLsizei count,
1432 GLboolean transpose,
1433 const GLfloat* value) {
1434 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix4x2fv");
1435 gl_->UniformMatrix4x2fv(location, count, transpose, value);
1438 void GLES2TraceImplementation::UniformMatrix4x3fv(GLint location,
1439 GLsizei count,
1440 GLboolean transpose,
1441 const GLfloat* value) {
1442 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UniformMatrix4x3fv");
1443 gl_->UniformMatrix4x3fv(location, count, transpose, value);
1446 void GLES2TraceImplementation::UseProgram(GLuint program) {
1447 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UseProgram");
1448 gl_->UseProgram(program);
1451 void GLES2TraceImplementation::ValidateProgram(GLuint program) {
1452 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ValidateProgram");
1453 gl_->ValidateProgram(program);
1456 void GLES2TraceImplementation::VertexAttrib1f(GLuint indx, GLfloat x) {
1457 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttrib1f");
1458 gl_->VertexAttrib1f(indx, x);
1461 void GLES2TraceImplementation::VertexAttrib1fv(GLuint indx,
1462 const GLfloat* values) {
1463 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttrib1fv");
1464 gl_->VertexAttrib1fv(indx, values);
1467 void GLES2TraceImplementation::VertexAttrib2f(GLuint indx,
1468 GLfloat x,
1469 GLfloat y) {
1470 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttrib2f");
1471 gl_->VertexAttrib2f(indx, x, y);
1474 void GLES2TraceImplementation::VertexAttrib2fv(GLuint indx,
1475 const GLfloat* values) {
1476 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttrib2fv");
1477 gl_->VertexAttrib2fv(indx, values);
1480 void GLES2TraceImplementation::VertexAttrib3f(GLuint indx,
1481 GLfloat x,
1482 GLfloat y,
1483 GLfloat z) {
1484 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttrib3f");
1485 gl_->VertexAttrib3f(indx, x, y, z);
1488 void GLES2TraceImplementation::VertexAttrib3fv(GLuint indx,
1489 const GLfloat* values) {
1490 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttrib3fv");
1491 gl_->VertexAttrib3fv(indx, values);
1494 void GLES2TraceImplementation::VertexAttrib4f(GLuint indx,
1495 GLfloat x,
1496 GLfloat y,
1497 GLfloat z,
1498 GLfloat w) {
1499 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttrib4f");
1500 gl_->VertexAttrib4f(indx, x, y, z, w);
1503 void GLES2TraceImplementation::VertexAttrib4fv(GLuint indx,
1504 const GLfloat* values) {
1505 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttrib4fv");
1506 gl_->VertexAttrib4fv(indx, values);
1509 void GLES2TraceImplementation::VertexAttribI4i(GLuint indx,
1510 GLint x,
1511 GLint y,
1512 GLint z,
1513 GLint w) {
1514 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttribI4i");
1515 gl_->VertexAttribI4i(indx, x, y, z, w);
1518 void GLES2TraceImplementation::VertexAttribI4iv(GLuint indx,
1519 const GLint* values) {
1520 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttribI4iv");
1521 gl_->VertexAttribI4iv(indx, values);
1524 void GLES2TraceImplementation::VertexAttribI4ui(GLuint indx,
1525 GLuint x,
1526 GLuint y,
1527 GLuint z,
1528 GLuint w) {
1529 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttribI4ui");
1530 gl_->VertexAttribI4ui(indx, x, y, z, w);
1533 void GLES2TraceImplementation::VertexAttribI4uiv(GLuint indx,
1534 const GLuint* values) {
1535 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttribI4uiv");
1536 gl_->VertexAttribI4uiv(indx, values);
1539 void GLES2TraceImplementation::VertexAttribIPointer(GLuint indx,
1540 GLint size,
1541 GLenum type,
1542 GLsizei stride,
1543 const void* ptr) {
1544 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttribIPointer");
1545 gl_->VertexAttribIPointer(indx, size, type, stride, ptr);
1548 void GLES2TraceImplementation::VertexAttribPointer(GLuint indx,
1549 GLint size,
1550 GLenum type,
1551 GLboolean normalized,
1552 GLsizei stride,
1553 const void* ptr) {
1554 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttribPointer");
1555 gl_->VertexAttribPointer(indx, size, type, normalized, stride, ptr);
1558 void GLES2TraceImplementation::Viewport(GLint x,
1559 GLint y,
1560 GLsizei width,
1561 GLsizei height) {
1562 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Viewport");
1563 gl_->Viewport(x, y, width, height);
1566 void GLES2TraceImplementation::WaitSync(GLsync sync,
1567 GLbitfield flags,
1568 GLuint64 timeout) {
1569 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::WaitSync");
1570 gl_->WaitSync(sync, flags, timeout);
1573 void GLES2TraceImplementation::BlitFramebufferCHROMIUM(GLint srcX0,
1574 GLint srcY0,
1575 GLint srcX1,
1576 GLint srcY1,
1577 GLint dstX0,
1578 GLint dstY0,
1579 GLint dstX1,
1580 GLint dstY1,
1581 GLbitfield mask,
1582 GLenum filter) {
1583 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlitFramebufferCHROMIUM");
1584 gl_->BlitFramebufferCHROMIUM(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1,
1585 dstY1, mask, filter);
1588 void GLES2TraceImplementation::RenderbufferStorageMultisampleCHROMIUM(
1589 GLenum target,
1590 GLsizei samples,
1591 GLenum internalformat,
1592 GLsizei width,
1593 GLsizei height) {
1594 TRACE_EVENT_BINARY_EFFICIENT0(
1595 "gpu", "GLES2Trace::RenderbufferStorageMultisampleCHROMIUM");
1596 gl_->RenderbufferStorageMultisampleCHROMIUM(target, samples, internalformat,
1597 width, height);
1600 void GLES2TraceImplementation::RenderbufferStorageMultisampleEXT(
1601 GLenum target,
1602 GLsizei samples,
1603 GLenum internalformat,
1604 GLsizei width,
1605 GLsizei height) {
1606 TRACE_EVENT_BINARY_EFFICIENT0(
1607 "gpu", "GLES2Trace::RenderbufferStorageMultisampleEXT");
1608 gl_->RenderbufferStorageMultisampleEXT(target, samples, internalformat, width,
1609 height);
1612 void GLES2TraceImplementation::FramebufferTexture2DMultisampleEXT(
1613 GLenum target,
1614 GLenum attachment,
1615 GLenum textarget,
1616 GLuint texture,
1617 GLint level,
1618 GLsizei samples) {
1619 TRACE_EVENT_BINARY_EFFICIENT0(
1620 "gpu", "GLES2Trace::FramebufferTexture2DMultisampleEXT");
1621 gl_->FramebufferTexture2DMultisampleEXT(target, attachment, textarget,
1622 texture, level, samples);
1625 void GLES2TraceImplementation::TexStorage2DEXT(GLenum target,
1626 GLsizei levels,
1627 GLenum internalFormat,
1628 GLsizei width,
1629 GLsizei height) {
1630 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexStorage2DEXT");
1631 gl_->TexStorage2DEXT(target, levels, internalFormat, width, height);
1634 void GLES2TraceImplementation::GenQueriesEXT(GLsizei n, GLuint* queries) {
1635 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GenQueriesEXT");
1636 gl_->GenQueriesEXT(n, queries);
1639 void GLES2TraceImplementation::DeleteQueriesEXT(GLsizei n,
1640 const GLuint* queries) {
1641 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DeleteQueriesEXT");
1642 gl_->DeleteQueriesEXT(n, queries);
1645 GLboolean GLES2TraceImplementation::IsQueryEXT(GLuint id) {
1646 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::IsQueryEXT");
1647 return gl_->IsQueryEXT(id);
1650 void GLES2TraceImplementation::BeginQueryEXT(GLenum target, GLuint id) {
1651 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BeginQueryEXT");
1652 gl_->BeginQueryEXT(target, id);
1655 void GLES2TraceImplementation::BeginTransformFeedback(GLenum primitivemode) {
1656 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BeginTransformFeedback");
1657 gl_->BeginTransformFeedback(primitivemode);
1660 void GLES2TraceImplementation::EndQueryEXT(GLenum target) {
1661 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::EndQueryEXT");
1662 gl_->EndQueryEXT(target);
1665 void GLES2TraceImplementation::EndTransformFeedback() {
1666 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::EndTransformFeedback");
1667 gl_->EndTransformFeedback();
1670 void GLES2TraceImplementation::GetQueryivEXT(GLenum target,
1671 GLenum pname,
1672 GLint* params) {
1673 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetQueryivEXT");
1674 gl_->GetQueryivEXT(target, pname, params);
1677 void GLES2TraceImplementation::GetQueryObjectuivEXT(GLuint id,
1678 GLenum pname,
1679 GLuint* params) {
1680 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetQueryObjectuivEXT");
1681 gl_->GetQueryObjectuivEXT(id, pname, params);
1684 void GLES2TraceImplementation::InsertEventMarkerEXT(GLsizei length,
1685 const GLchar* marker) {
1686 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::InsertEventMarkerEXT");
1687 gl_->InsertEventMarkerEXT(length, marker);
1690 void GLES2TraceImplementation::PushGroupMarkerEXT(GLsizei length,
1691 const GLchar* marker) {
1692 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::PushGroupMarkerEXT");
1693 gl_->PushGroupMarkerEXT(length, marker);
1696 void GLES2TraceImplementation::PopGroupMarkerEXT() {
1697 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::PopGroupMarkerEXT");
1698 gl_->PopGroupMarkerEXT();
1701 void GLES2TraceImplementation::GenVertexArraysOES(GLsizei n, GLuint* arrays) {
1702 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GenVertexArraysOES");
1703 gl_->GenVertexArraysOES(n, arrays);
1706 void GLES2TraceImplementation::DeleteVertexArraysOES(GLsizei n,
1707 const GLuint* arrays) {
1708 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DeleteVertexArraysOES");
1709 gl_->DeleteVertexArraysOES(n, arrays);
1712 GLboolean GLES2TraceImplementation::IsVertexArrayOES(GLuint array) {
1713 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::IsVertexArrayOES");
1714 return gl_->IsVertexArrayOES(array);
1717 void GLES2TraceImplementation::BindVertexArrayOES(GLuint array) {
1718 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BindVertexArrayOES");
1719 gl_->BindVertexArrayOES(array);
1722 void GLES2TraceImplementation::SwapBuffers() {
1723 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SwapBuffers");
1724 gl_->SwapBuffers();
1727 GLuint GLES2TraceImplementation::GetMaxValueInBufferCHROMIUM(GLuint buffer_id,
1728 GLsizei count,
1729 GLenum type,
1730 GLuint offset) {
1731 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
1732 "GLES2Trace::GetMaxValueInBufferCHROMIUM");
1733 return gl_->GetMaxValueInBufferCHROMIUM(buffer_id, count, type, offset);
1736 GLboolean GLES2TraceImplementation::EnableFeatureCHROMIUM(const char* feature) {
1737 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::EnableFeatureCHROMIUM");
1738 return gl_->EnableFeatureCHROMIUM(feature);
1741 void* GLES2TraceImplementation::MapBufferCHROMIUM(GLuint target,
1742 GLenum access) {
1743 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::MapBufferCHROMIUM");
1744 return gl_->MapBufferCHROMIUM(target, access);
1747 GLboolean GLES2TraceImplementation::UnmapBufferCHROMIUM(GLuint target) {
1748 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UnmapBufferCHROMIUM");
1749 return gl_->UnmapBufferCHROMIUM(target);
1752 void* GLES2TraceImplementation::MapBufferSubDataCHROMIUM(GLuint target,
1753 GLintptr offset,
1754 GLsizeiptr size,
1755 GLenum access) {
1756 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::MapBufferSubDataCHROMIUM");
1757 return gl_->MapBufferSubDataCHROMIUM(target, offset, size, access);
1760 void GLES2TraceImplementation::UnmapBufferSubDataCHROMIUM(const void* mem) {
1761 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
1762 "GLES2Trace::UnmapBufferSubDataCHROMIUM");
1763 gl_->UnmapBufferSubDataCHROMIUM(mem);
1766 void* GLES2TraceImplementation::MapBufferRange(GLenum target,
1767 GLintptr offset,
1768 GLsizeiptr size,
1769 GLbitfield access) {
1770 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::MapBufferRange");
1771 return gl_->MapBufferRange(target, offset, size, access);
1774 GLboolean GLES2TraceImplementation::UnmapBuffer(GLenum target) {
1775 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::UnmapBuffer");
1776 return gl_->UnmapBuffer(target);
1779 void* GLES2TraceImplementation::MapTexSubImage2DCHROMIUM(GLenum target,
1780 GLint level,
1781 GLint xoffset,
1782 GLint yoffset,
1783 GLsizei width,
1784 GLsizei height,
1785 GLenum format,
1786 GLenum type,
1787 GLenum access) {
1788 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::MapTexSubImage2DCHROMIUM");
1789 return gl_->MapTexSubImage2DCHROMIUM(target, level, xoffset, yoffset, width,
1790 height, format, type, access);
1793 void GLES2TraceImplementation::UnmapTexSubImage2DCHROMIUM(const void* mem) {
1794 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
1795 "GLES2Trace::UnmapTexSubImage2DCHROMIUM");
1796 gl_->UnmapTexSubImage2DCHROMIUM(mem);
1799 void GLES2TraceImplementation::ResizeCHROMIUM(GLuint width,
1800 GLuint height,
1801 GLfloat scale_factor) {
1802 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ResizeCHROMIUM");
1803 gl_->ResizeCHROMIUM(width, height, scale_factor);
1806 const GLchar* GLES2TraceImplementation::GetRequestableExtensionsCHROMIUM() {
1807 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
1808 "GLES2Trace::GetRequestableExtensionsCHROMIUM");
1809 return gl_->GetRequestableExtensionsCHROMIUM();
1812 void GLES2TraceImplementation::RequestExtensionCHROMIUM(const char* extension) {
1813 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::RequestExtensionCHROMIUM");
1814 gl_->RequestExtensionCHROMIUM(extension);
1817 void GLES2TraceImplementation::RateLimitOffscreenContextCHROMIUM() {
1818 TRACE_EVENT_BINARY_EFFICIENT0(
1819 "gpu", "GLES2Trace::RateLimitOffscreenContextCHROMIUM");
1820 gl_->RateLimitOffscreenContextCHROMIUM();
1823 void GLES2TraceImplementation::GetProgramInfoCHROMIUM(GLuint program,
1824 GLsizei bufsize,
1825 GLsizei* size,
1826 void* info) {
1827 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetProgramInfoCHROMIUM");
1828 gl_->GetProgramInfoCHROMIUM(program, bufsize, size, info);
1831 void GLES2TraceImplementation::GetUniformBlocksCHROMIUM(GLuint program,
1832 GLsizei bufsize,
1833 GLsizei* size,
1834 void* info) {
1835 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetUniformBlocksCHROMIUM");
1836 gl_->GetUniformBlocksCHROMIUM(program, bufsize, size, info);
1839 void GLES2TraceImplementation::GetTransformFeedbackVaryingsCHROMIUM(
1840 GLuint program,
1841 GLsizei bufsize,
1842 GLsizei* size,
1843 void* info) {
1844 TRACE_EVENT_BINARY_EFFICIENT0(
1845 "gpu", "GLES2Trace::GetTransformFeedbackVaryingsCHROMIUM");
1846 gl_->GetTransformFeedbackVaryingsCHROMIUM(program, bufsize, size, info);
1849 void GLES2TraceImplementation::GetUniformsES3CHROMIUM(GLuint program,
1850 GLsizei bufsize,
1851 GLsizei* size,
1852 void* info) {
1853 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GetUniformsES3CHROMIUM");
1854 gl_->GetUniformsES3CHROMIUM(program, bufsize, size, info);
1857 GLuint GLES2TraceImplementation::CreateStreamTextureCHROMIUM(GLuint texture) {
1858 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
1859 "GLES2Trace::CreateStreamTextureCHROMIUM");
1860 return gl_->CreateStreamTextureCHROMIUM(texture);
1863 GLuint GLES2TraceImplementation::CreateImageCHROMIUM(ClientBuffer buffer,
1864 GLsizei width,
1865 GLsizei height,
1866 GLenum internalformat) {
1867 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CreateImageCHROMIUM");
1868 return gl_->CreateImageCHROMIUM(buffer, width, height, internalformat);
1871 void GLES2TraceImplementation::DestroyImageCHROMIUM(GLuint image_id) {
1872 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DestroyImageCHROMIUM");
1873 gl_->DestroyImageCHROMIUM(image_id);
1876 GLuint GLES2TraceImplementation::CreateGpuMemoryBufferImageCHROMIUM(
1877 GLsizei width,
1878 GLsizei height,
1879 GLenum internalformat,
1880 GLenum usage) {
1881 TRACE_EVENT_BINARY_EFFICIENT0(
1882 "gpu", "GLES2Trace::CreateGpuMemoryBufferImageCHROMIUM");
1883 return gl_->CreateGpuMemoryBufferImageCHROMIUM(width, height, internalformat,
1884 usage);
1887 void GLES2TraceImplementation::GetTranslatedShaderSourceANGLE(GLuint shader,
1888 GLsizei bufsize,
1889 GLsizei* length,
1890 char* source) {
1891 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
1892 "GLES2Trace::GetTranslatedShaderSourceANGLE");
1893 gl_->GetTranslatedShaderSourceANGLE(shader, bufsize, length, source);
1896 void GLES2TraceImplementation::PostSubBufferCHROMIUM(GLint x,
1897 GLint y,
1898 GLint width,
1899 GLint height) {
1900 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::PostSubBufferCHROMIUM");
1901 gl_->PostSubBufferCHROMIUM(x, y, width, height);
1904 void GLES2TraceImplementation::TexImageIOSurface2DCHROMIUM(GLenum target,
1905 GLsizei width,
1906 GLsizei height,
1907 GLuint ioSurfaceId,
1908 GLuint plane) {
1909 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
1910 "GLES2Trace::TexImageIOSurface2DCHROMIUM");
1911 gl_->TexImageIOSurface2DCHROMIUM(target, width, height, ioSurfaceId, plane);
1914 void GLES2TraceImplementation::CopyTextureCHROMIUM(GLenum target,
1915 GLenum source_id,
1916 GLenum dest_id,
1917 GLint internalformat,
1918 GLenum dest_type) {
1919 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopyTextureCHROMIUM");
1920 gl_->CopyTextureCHROMIUM(target, source_id, dest_id, internalformat,
1921 dest_type);
1924 void GLES2TraceImplementation::CopySubTextureCHROMIUM(GLenum target,
1925 GLenum source_id,
1926 GLenum dest_id,
1927 GLint xoffset,
1928 GLint yoffset,
1929 GLint x,
1930 GLint y,
1931 GLsizei width,
1932 GLsizei height) {
1933 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopySubTextureCHROMIUM");
1934 gl_->CopySubTextureCHROMIUM(target, source_id, dest_id, xoffset, yoffset, x,
1935 y, width, height);
1938 void GLES2TraceImplementation::DrawArraysInstancedANGLE(GLenum mode,
1939 GLint first,
1940 GLsizei count,
1941 GLsizei primcount) {
1942 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DrawArraysInstancedANGLE");
1943 gl_->DrawArraysInstancedANGLE(mode, first, count, primcount);
1946 void GLES2TraceImplementation::DrawElementsInstancedANGLE(GLenum mode,
1947 GLsizei count,
1948 GLenum type,
1949 const void* indices,
1950 GLsizei primcount) {
1951 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
1952 "GLES2Trace::DrawElementsInstancedANGLE");
1953 gl_->DrawElementsInstancedANGLE(mode, count, type, indices, primcount);
1956 void GLES2TraceImplementation::VertexAttribDivisorANGLE(GLuint index,
1957 GLuint divisor) {
1958 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::VertexAttribDivisorANGLE");
1959 gl_->VertexAttribDivisorANGLE(index, divisor);
1962 void GLES2TraceImplementation::GenMailboxCHROMIUM(GLbyte* mailbox) {
1963 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GenMailboxCHROMIUM");
1964 gl_->GenMailboxCHROMIUM(mailbox);
1967 void GLES2TraceImplementation::ProduceTextureCHROMIUM(GLenum target,
1968 const GLbyte* mailbox) {
1969 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ProduceTextureCHROMIUM");
1970 gl_->ProduceTextureCHROMIUM(target, mailbox);
1973 void GLES2TraceImplementation::ProduceTextureDirectCHROMIUM(
1974 GLuint texture,
1975 GLenum target,
1976 const GLbyte* mailbox) {
1977 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
1978 "GLES2Trace::ProduceTextureDirectCHROMIUM");
1979 gl_->ProduceTextureDirectCHROMIUM(texture, target, mailbox);
1982 void GLES2TraceImplementation::ConsumeTextureCHROMIUM(GLenum target,
1983 const GLbyte* mailbox) {
1984 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ConsumeTextureCHROMIUM");
1985 gl_->ConsumeTextureCHROMIUM(target, mailbox);
1988 GLuint GLES2TraceImplementation::CreateAndConsumeTextureCHROMIUM(
1989 GLenum target,
1990 const GLbyte* mailbox) {
1991 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
1992 "GLES2Trace::CreateAndConsumeTextureCHROMIUM");
1993 return gl_->CreateAndConsumeTextureCHROMIUM(target, mailbox);
1996 void GLES2TraceImplementation::BindUniformLocationCHROMIUM(GLuint program,
1997 GLint location,
1998 const char* name) {
1999 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
2000 "GLES2Trace::BindUniformLocationCHROMIUM");
2001 gl_->BindUniformLocationCHROMIUM(program, location, name);
2004 void GLES2TraceImplementation::GenValuebuffersCHROMIUM(GLsizei n,
2005 GLuint* buffers) {
2006 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::GenValuebuffersCHROMIUM");
2007 gl_->GenValuebuffersCHROMIUM(n, buffers);
2010 void GLES2TraceImplementation::DeleteValuebuffersCHROMIUM(
2011 GLsizei n,
2012 const GLuint* valuebuffers) {
2013 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
2014 "GLES2Trace::DeleteValuebuffersCHROMIUM");
2015 gl_->DeleteValuebuffersCHROMIUM(n, valuebuffers);
2018 GLboolean GLES2TraceImplementation::IsValuebufferCHROMIUM(GLuint valuebuffer) {
2019 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::IsValuebufferCHROMIUM");
2020 return gl_->IsValuebufferCHROMIUM(valuebuffer);
2023 void GLES2TraceImplementation::BindValuebufferCHROMIUM(GLenum target,
2024 GLuint valuebuffer) {
2025 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BindValuebufferCHROMIUM");
2026 gl_->BindValuebufferCHROMIUM(target, valuebuffer);
2029 void GLES2TraceImplementation::SubscribeValueCHROMIUM(GLenum target,
2030 GLenum subscription) {
2031 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SubscribeValueCHROMIUM");
2032 gl_->SubscribeValueCHROMIUM(target, subscription);
2035 void GLES2TraceImplementation::PopulateSubscribedValuesCHROMIUM(GLenum target) {
2036 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
2037 "GLES2Trace::PopulateSubscribedValuesCHROMIUM");
2038 gl_->PopulateSubscribedValuesCHROMIUM(target);
2041 void GLES2TraceImplementation::UniformValuebufferCHROMIUM(GLint location,
2042 GLenum target,
2043 GLenum subscription) {
2044 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
2045 "GLES2Trace::UniformValuebufferCHROMIUM");
2046 gl_->UniformValuebufferCHROMIUM(location, target, subscription);
2049 void GLES2TraceImplementation::BindTexImage2DCHROMIUM(GLenum target,
2050 GLint imageId) {
2051 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BindTexImage2DCHROMIUM");
2052 gl_->BindTexImage2DCHROMIUM(target, imageId);
2055 void GLES2TraceImplementation::ReleaseTexImage2DCHROMIUM(GLenum target,
2056 GLint imageId) {
2057 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ReleaseTexImage2DCHROMIUM");
2058 gl_->ReleaseTexImage2DCHROMIUM(target, imageId);
2061 void GLES2TraceImplementation::TraceBeginCHROMIUM(const char* category_name,
2062 const char* trace_name) {
2063 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TraceBeginCHROMIUM");
2064 gl_->TraceBeginCHROMIUM(category_name, trace_name);
2067 void GLES2TraceImplementation::TraceEndCHROMIUM() {
2068 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TraceEndCHROMIUM");
2069 gl_->TraceEndCHROMIUM();
2072 void GLES2TraceImplementation::AsyncTexSubImage2DCHROMIUM(GLenum target,
2073 GLint level,
2074 GLint xoffset,
2075 GLint yoffset,
2076 GLsizei width,
2077 GLsizei height,
2078 GLenum format,
2079 GLenum type,
2080 const void* data) {
2081 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
2082 "GLES2Trace::AsyncTexSubImage2DCHROMIUM");
2083 gl_->AsyncTexSubImage2DCHROMIUM(target, level, xoffset, yoffset, width,
2084 height, format, type, data);
2087 void GLES2TraceImplementation::AsyncTexImage2DCHROMIUM(GLenum target,
2088 GLint level,
2089 GLenum internalformat,
2090 GLsizei width,
2091 GLsizei height,
2092 GLint border,
2093 GLenum format,
2094 GLenum type,
2095 const void* pixels) {
2096 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::AsyncTexImage2DCHROMIUM");
2097 gl_->AsyncTexImage2DCHROMIUM(target, level, internalformat, width, height,
2098 border, format, type, pixels);
2101 void GLES2TraceImplementation::WaitAsyncTexImage2DCHROMIUM(GLenum target) {
2102 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
2103 "GLES2Trace::WaitAsyncTexImage2DCHROMIUM");
2104 gl_->WaitAsyncTexImage2DCHROMIUM(target);
2107 void GLES2TraceImplementation::WaitAllAsyncTexImage2DCHROMIUM() {
2108 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
2109 "GLES2Trace::WaitAllAsyncTexImage2DCHROMIUM");
2110 gl_->WaitAllAsyncTexImage2DCHROMIUM();
2113 void GLES2TraceImplementation::DiscardFramebufferEXT(
2114 GLenum target,
2115 GLsizei count,
2116 const GLenum* attachments) {
2117 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DiscardFramebufferEXT");
2118 gl_->DiscardFramebufferEXT(target, count, attachments);
2121 void GLES2TraceImplementation::LoseContextCHROMIUM(GLenum current,
2122 GLenum other) {
2123 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::LoseContextCHROMIUM");
2124 gl_->LoseContextCHROMIUM(current, other);
2127 GLuint GLES2TraceImplementation::InsertSyncPointCHROMIUM() {
2128 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::InsertSyncPointCHROMIUM");
2129 return gl_->InsertSyncPointCHROMIUM();
2132 void GLES2TraceImplementation::WaitSyncPointCHROMIUM(GLuint sync_point) {
2133 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::WaitSyncPointCHROMIUM");
2134 gl_->WaitSyncPointCHROMIUM(sync_point);
2137 void GLES2TraceImplementation::DrawBuffersEXT(GLsizei count,
2138 const GLenum* bufs) {
2139 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DrawBuffersEXT");
2140 gl_->DrawBuffersEXT(count, bufs);
2143 void GLES2TraceImplementation::DiscardBackbufferCHROMIUM() {
2144 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DiscardBackbufferCHROMIUM");
2145 gl_->DiscardBackbufferCHROMIUM();
2148 void GLES2TraceImplementation::ScheduleOverlayPlaneCHROMIUM(
2149 GLint plane_z_order,
2150 GLenum plane_transform,
2151 GLuint overlay_texture_id,
2152 GLint bounds_x,
2153 GLint bounds_y,
2154 GLint bounds_width,
2155 GLint bounds_height,
2156 GLfloat uv_x,
2157 GLfloat uv_y,
2158 GLfloat uv_width,
2159 GLfloat uv_height) {
2160 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
2161 "GLES2Trace::ScheduleOverlayPlaneCHROMIUM");
2162 gl_->ScheduleOverlayPlaneCHROMIUM(
2163 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y,
2164 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height);
2167 void GLES2TraceImplementation::SwapInterval(GLint interval) {
2168 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::SwapInterval");
2169 gl_->SwapInterval(interval);
2172 void GLES2TraceImplementation::MatrixLoadfCHROMIUM(GLenum matrixMode,
2173 const GLfloat* m) {
2174 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::MatrixLoadfCHROMIUM");
2175 gl_->MatrixLoadfCHROMIUM(matrixMode, m);
2178 void GLES2TraceImplementation::MatrixLoadIdentityCHROMIUM(GLenum matrixMode) {
2179 TRACE_EVENT_BINARY_EFFICIENT0("gpu",
2180 "GLES2Trace::MatrixLoadIdentityCHROMIUM");
2181 gl_->MatrixLoadIdentityCHROMIUM(matrixMode);
2184 void GLES2TraceImplementation::BlendBarrierKHR() {
2185 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BlendBarrierKHR");
2186 gl_->BlendBarrierKHR();
2189 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_