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

Side by Side Diff: gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h

Issue 17504006: GPU process clients can perform a "shallow" finish. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // DO NOT EDIT! 7 // DO NOT EDIT!
8 8
9 // This file is included by gles2_trace_implementation.cc 9 // This file is included by gles2_trace_implementation.cc
10 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ 10 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 void GLES2TraceImplementation::Finish() { 260 void GLES2TraceImplementation::Finish() {
261 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Finish"); 261 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Finish");
262 gl_->Finish(); 262 gl_->Finish();
263 } 263 }
264 264
265 void GLES2TraceImplementation::Flush() { 265 void GLES2TraceImplementation::Flush() {
266 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Flush"); 266 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Flush");
267 gl_->Flush(); 267 gl_->Flush();
268 } 268 }
269 269
270 void GLES2TraceImplementation::ShallowFlushCHROMIUM() {
271 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ShallowFlushCHROMIUM");
272 gl_->ShallowFlushCHROMIUM();
273 }
274
275 void GLES2TraceImplementation::FramebufferRenderbuffer( 270 void GLES2TraceImplementation::FramebufferRenderbuffer(
276 GLenum target, GLenum attachment, GLenum renderbuffertarget, 271 GLenum target, GLenum attachment, GLenum renderbuffertarget,
277 GLuint renderbuffer) { 272 GLuint renderbuffer) {
278 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::FramebufferRenderbuffer"); 273 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::FramebufferRenderbuffer");
279 gl_->FramebufferRenderbuffer( 274 gl_->FramebufferRenderbuffer(
280 target, attachment, renderbuffertarget, renderbuffer); 275 target, attachment, renderbuffertarget, renderbuffer);
281 } 276 }
282 277
283 void GLES2TraceImplementation::FramebufferTexture2D( 278 void GLES2TraceImplementation::FramebufferTexture2D(
284 GLenum target, GLenum attachment, GLenum textarget, GLuint texture, 279 GLenum target, GLenum attachment, GLenum textarget, GLuint texture,
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 gl_->ShaderBinary(n, shaders, binaryformat, binary, length); 564 gl_->ShaderBinary(n, shaders, binaryformat, binary, length);
570 } 565 }
571 566
572 void GLES2TraceImplementation::ShaderSource( 567 void GLES2TraceImplementation::ShaderSource(
573 GLuint shader, GLsizei count, const GLchar* const* str, 568 GLuint shader, GLsizei count, const GLchar* const* str,
574 const GLint* length) { 569 const GLint* length) {
575 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ShaderSource"); 570 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ShaderSource");
576 gl_->ShaderSource(shader, count, str, length); 571 gl_->ShaderSource(shader, count, str, length);
577 } 572 }
578 573
574 void GLES2TraceImplementation::ShallowFinishCHROMIUM() {
575 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ShallowFinishCHROMIUM");
576 gl_->ShallowFinishCHROMIUM();
577 }
578
579 void GLES2TraceImplementation::ShallowFlushCHROMIUM() {
580 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ShallowFlushCHROMIUM");
581 gl_->ShallowFlushCHROMIUM();
582 }
583
579 void GLES2TraceImplementation::StencilFunc( 584 void GLES2TraceImplementation::StencilFunc(
580 GLenum func, GLint ref, GLuint mask) { 585 GLenum func, GLint ref, GLuint mask) {
581 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::StencilFunc"); 586 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::StencilFunc");
582 gl_->StencilFunc(func, ref, mask); 587 gl_->StencilFunc(func, ref, mask);
583 } 588 }
584 589
585 void GLES2TraceImplementation::StencilFuncSeparate( 590 void GLES2TraceImplementation::StencilFuncSeparate(
586 GLenum face, GLenum func, GLint ref, GLuint mask) { 591 GLenum face, GLenum func, GLint ref, GLuint mask) {
587 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::StencilFuncSeparate"); 592 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::StencilFuncSeparate");
588 gl_->StencilFuncSeparate(face, func, ref, mask); 593 gl_->StencilFuncSeparate(face, func, ref, mask);
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
1211 } 1216 }
1212 1217
1213 void GLES2TraceImplementation::DrawBuffersEXT( 1218 void GLES2TraceImplementation::DrawBuffersEXT(
1214 GLsizei count, const GLenum* bufs) { 1219 GLsizei count, const GLenum* bufs) {
1215 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DrawBuffersEXT"); 1220 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DrawBuffersEXT");
1216 gl_->DrawBuffersEXT(count, bufs); 1221 gl_->DrawBuffersEXT(count, bufs);
1217 } 1222 }
1218 1223
1219 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_ 1224 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_TRACE_IMPLEMENTATION_IMPL_AUTOGEN_H_
1220 1225
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_trace_implementation_autogen.h ('k') | gpu/command_buffer/cmd_buffer_functions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698