| Index: gpu/command_buffer/service/gpu_processor.cc
|
| diff --git a/gpu/command_buffer/service/gpu_processor.cc b/gpu/command_buffer/service/gpu_processor.cc
|
| index b36db6af7ae6e34fe74902065d96111ea8970b8f..a8be603c2479f8b499b50fe1ad4cd453b02d2580 100644
|
| --- a/gpu/command_buffer/service/gpu_processor.cc
|
| +++ b/gpu/command_buffer/service/gpu_processor.cc
|
| @@ -7,6 +7,7 @@
|
| #include "app/gfx/gl/gl_bindings.h"
|
| #include "base/callback.h"
|
| #include "base/compiler_specific.h"
|
| +#include "base/debug/trace_event.h"
|
| #include "base/message_loop.h"
|
| #include "app/gfx/gl/gl_context.h"
|
|
|
| @@ -121,6 +122,7 @@ const unsigned int kMaxOutstandingSwapBuffersCallsPerOnscreenContext = 1;
|
| #endif
|
|
|
| void GPUProcessor::ProcessCommands() {
|
| + TRACE_EVENT0("GPU_PERF", "GPUProcessor::ProcessCommands");
|
| CommandBuffer::State state = command_buffer_->GetState();
|
| if (state.error != error::kNoError)
|
| return;
|
|
|