summaryrefslogtreecommitdiffstats
path: root/content/renderer/command_buffer_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/command_buffer_proxy.cc')
-rw-r--r--content/renderer/command_buffer_proxy.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/renderer/command_buffer_proxy.cc b/content/renderer/command_buffer_proxy.cc
index e4d3734..95bcb4c 100644
--- a/content/renderer/command_buffer_proxy.cc
+++ b/content/renderer/command_buffer_proxy.cc
@@ -14,6 +14,7 @@
#include "content/renderer/plugin_channel_host.h"
#include "content/renderer/render_thread.h"
#include "gpu/command_buffer/common/cmd_buffer_common.h"
+#include "gpu/common/gpu_trace_event.h"
#include "ui/gfx/size.h"
using gpu::Buffer;
@@ -150,6 +151,7 @@ void CommandBufferProxy::Flush(int32 put_offset) {
}
gpu::CommandBuffer::State CommandBufferProxy::FlushSync(int32 put_offset) {
+ GPU_TRACE_EVENT0("gpu", "CommandBufferProxy::FlushSync");
// Send will flag state with lost context if IPC fails.
if (last_state_.error == gpu::error::kNoError) {
Send(new GpuCommandBufferMsg_Flush(route_id_,