From 11e81a9155a91411115ea5d036c2bdd259857a62 Mon Sep 17 00:00:00 2001 From: "danakj@chromium.org" Date: Tue, 16 Oct 2012 19:35:19 +0000 Subject: Add the swap size to the PostSubBuffer trace event BUG= Review URL: https://chromiumcodereview.appspot.com/11117003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162213 0039d316-1c4b-4281-b951-d872f2087c98 --- gpu/command_buffer/client/gles2_implementation.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gpu') diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc index da37582..f72a1d0 100644 --- a/gpu/command_buffer/client/gles2_implementation.cc +++ b/gpu/command_buffer/client/gles2_implementation.cc @@ -3105,7 +3105,8 @@ void GLES2Implementation::PostSubBufferCHROMIUM( GPU_CLIENT_SINGLE_THREAD_CHECK(); GPU_CLIENT_LOG("[" << GetLogPrefix() << "] PostSubBufferCHROMIUM(" << x << ", " << y << ", " << width << ", " << height << ")"); - TRACE_EVENT0("gpu", "GLES2::PostSubBufferCHROMIUM"); + TRACE_EVENT2("gpu", "GLES2::PostSubBufferCHROMIUM", + "width", width, "height", height); // Same flow control as GLES2Implementation::SwapBuffers (see comments there). swap_buffers_tokens_.push(helper_->InsertToken()); -- cgit v1.1