Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1073)

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

Issue 419073008: Simplified GPU Tracer by removing parent base class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gpu/command_buffer/service/gpu_tracer.h » ('j') | gpu/command_buffer/service/gpu_tracer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index f3e5779a790235f36ddaf6ddd1a1ee90ed673d36..3ebe2f1d5b28384d7f640ad46496ba082c303491 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -2342,7 +2342,7 @@ bool GLES2DecoderImpl::Initialize(
DCHECK(!context_.get());
set_initialized();
- gpu_tracer_ = GPUTracer::Create(this);
+ gpu_tracer_ = scoped_ptr<GPUTracer>(new GPUTracer(this));
vmiura 2014/07/29 23:45:30 gpu_tracer_.reset(new GPUTracer(this));
David Yen 2014/08/04 22:20:05 Done.
gpu_state_tracer_ = GPUStateTracer::Create(&state_);
// TODO(vmiura): Enable changing gpu_trace_level_ at runtime
gpu_trace_level_ = 2;
« no previous file with comments | « no previous file | gpu/command_buffer/service/gpu_tracer.h » ('j') | gpu/command_buffer/service/gpu_tracer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698