| Index: gpu/command_buffer/service/gpu_tracer.h
|
| diff --git a/gpu/command_buffer/service/gpu_tracer.h b/gpu/command_buffer/service/gpu_tracer.h
|
| index 596e60bfa76131e967bcc9338665eb71bcd453d3..cb3f8902cac9720122b79dc9532870c02ec9056d 100644
|
| --- a/gpu/command_buffer/service/gpu_tracer.h
|
| +++ b/gpu/command_buffer/service/gpu_tracer.h
|
| @@ -72,6 +72,9 @@ class GPU_EXPORT GPUTracer
|
| // End the last started trace marker.
|
| bool End(GpuTracerSource source);
|
|
|
| + bool HasTracesToProcess();
|
| + void ProcessTraces();
|
| +
|
| virtual bool IsTracing();
|
|
|
| // Retrieve the name of the current open trace.
|
| @@ -82,15 +85,10 @@ class GPU_EXPORT GPUTracer
|
| protected:
|
| // Trace Processing.
|
| virtual scoped_refptr<Outputter> CreateOutputter(const std::string& name);
|
| - virtual void PostTask();
|
|
|
| - void Process();
|
| - void ProcessTraces();
|
| bool CheckDisjointStatus();
|
| void ClearOngoingTraces(bool have_context);
|
|
|
| - void IssueProcessTask();
|
| -
|
| scoped_refptr<gfx::GPUTimingClient> gpu_timing_client_;
|
| scoped_refptr<Outputter> outputter_;
|
| std::vector<TraceMarker> markers_[NUM_TRACER_SOURCES];
|
| @@ -102,7 +100,6 @@ class GPU_EXPORT GPUTracer
|
| int64 disjoint_time_ = 0;
|
|
|
| bool gpu_executing_ = false;
|
| - bool process_posted_ = false;
|
| bool began_device_traces_ = false;
|
|
|
| private:
|
|
|