diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-16 19:35:19 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-16 19:35:19 +0000 |
commit | 11e81a9155a91411115ea5d036c2bdd259857a62 (patch) | |
tree | 31e18a7bee0fb6a337ab3e050003c4462634e2f1 /gpu | |
parent | 256897738e25c0fae0c0cf63cdbe5ad9d7b983d8 (diff) | |
download | chromium_src-11e81a9155a91411115ea5d036c2bdd259857a62.zip chromium_src-11e81a9155a91411115ea5d036c2bdd259857a62.tar.gz chromium_src-11e81a9155a91411115ea5d036c2bdd259857a62.tar.bz2 |
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
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/command_buffer/client/gles2_implementation.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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()); |