Index: content/common/gpu/client/context_provider_command_buffer.cc |
diff --git a/content/common/gpu/client/context_provider_command_buffer.cc b/content/common/gpu/client/context_provider_command_buffer.cc |
index 2f00de1fe296877762620733ff3c02dcad436d66..b0fdd16c0233173702da501b4ff88d046baeabee 100644 |
--- a/content/common/gpu/client/context_provider_command_buffer.cc |
+++ b/content/common/gpu/client/context_provider_command_buffer.cc |
@@ -100,8 +100,9 @@ bool ContextProviderCommandBuffer::BindToCurrentThread() { |
InitializeCapabilities(); |
- std::string unique_context_name = |
+ const std::string unique_context_name = |
base::StringPrintf("%s-%p", debug_name_.c_str(), context3d_.get()); |
+ context3d_->pushGroupMarkerEXT(unique_context_name.c_str()); |
vmiura
2015/05/12 21:47:42
Same here.
|
context3d_->traceBeginCHROMIUM("gpu_toplevel", unique_context_name.c_str()); |
lost_context_callback_proxy_.reset(new LostContextCallbackProxy(this)); |