diff options
author | jbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-22 23:39:14 +0000 |
---|---|---|
committer | jbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-22 23:39:14 +0000 |
commit | 3ae3164468d85830d063724c19a618c8f2433dab (patch) | |
tree | b4cc4c12baf1fe8b57979e2da27015c0295967fe /gpu | |
parent | ba9d831fa9b13cb1d6712a71ad46e063743f16c7 (diff) | |
download | chromium_src-3ae3164468d85830d063724c19a618c8f2433dab.zip chromium_src-3ae3164468d85830d063724c19a618c8f2433dab.tar.gz chromium_src-3ae3164468d85830d063724c19a618c8f2433dab.tar.bz2 |
Add more trace events related to latch usage and to track RendererGlContext destruction.
Review URL: http://codereview.chromium.org/7237005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90131 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/command_buffer/service/gles2_cmd_decoder.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc index 97a46a4..a237c0b 100644 --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc @@ -6714,7 +6714,7 @@ error::Error GLES2DecoderImpl::HandleSwapBuffers( error::Error GLES2DecoderImpl::HandleSetLatchCHROMIUM( uint32 immediate_data_size, const gles2::SetLatchCHROMIUM& c) { - TRACE_EVENT0("gpu", "SetLatch"); + TRACE_EVENT1("gpu", "SetLatch", "latch_id", c.latch_id); // Ensure the side effects of previous commands are visible to other contexts. // There is no need to do this for ANGLE because it uses a // single D3D device for all contexts. @@ -6743,7 +6743,7 @@ error::Error GLES2DecoderImpl::HandleSetLatchCHROMIUM( error::Error GLES2DecoderImpl::HandleWaitLatchCHROMIUM( uint32 immediate_data_size, const gles2::WaitLatchCHROMIUM& c) { - TRACE_EVENT0("gpu", "WaitLatch"); + TRACE_EVENT1("gpu", "WaitLatch", "latch_id", c.latch_id); int32 shm_id = gpu::kLatchSharedMemoryId; uint32 latch_id = c.latch_id; uint32 shm_offset = 0; |