| Index: cc/thread_proxy.h
|
| diff --git a/cc/thread_proxy.h b/cc/thread_proxy.h
|
| index 721bb6884c530fe0c9139582267eed1adf233cb2..372a31e56af4af6c61b318a58ebaae4839487e35 100644
|
| --- a/cc/thread_proxy.h
|
| +++ b/cc/thread_proxy.h
|
| @@ -17,6 +17,7 @@ namespace cc {
|
|
|
| class InputHandler;
|
| class LayerTreeHost;
|
| +class RenderingStatsSubscriber;
|
| class ResourceUpdateQueue;
|
| class Scheduler;
|
| class ScopedThreadProxy;
|
| @@ -39,6 +40,8 @@ public:
|
| virtual bool initializeRenderer() OVERRIDE;
|
| virtual bool recreateContext() OVERRIDE;
|
| virtual void renderingStats(RenderingStats*) OVERRIDE;
|
| + virtual void startRecordingRenderingStats() OVERRIDE;
|
| + virtual void stopRecordingRenderingStats(RenderingStats*) OVERRIDE;
|
| virtual const RendererCapabilities& rendererCapabilities() const OVERRIDE;
|
| virtual void loseContext() OVERRIDE;
|
| virtual void setNeedsAnimate() OVERRIDE;
|
| @@ -120,6 +123,8 @@ private:
|
| void initializeRendererOnImplThread(CompletionEvent*, bool* initializeSucceeded, RendererCapabilities*);
|
| void layerTreeHostClosedOnImplThread(CompletionEvent*);
|
| void setFullRootLayerDamageOnImplThread();
|
| + void startRecordingRenderingStatsOnImplThread(CompletionEvent*);
|
| + void stopRecordingRenderingStatsOnImplThread(CompletionEvent*, RenderingStats*);
|
| void acquireLayerTexturesForMainThreadOnImplThread(CompletionEvent*);
|
| void recreateContextOnImplThread(CompletionEvent*, GraphicsContext*, bool* recreateSucceeded, RendererCapabilities*);
|
| void renderingStatsOnImplThread(CompletionEvent*, RenderingStats*);
|
| @@ -171,8 +176,10 @@ private:
|
|
|
| bool m_renderVSyncEnabled;
|
|
|
| + // TODO(vollick): These should go away once we switch to the subscriber model.
|
| base::TimeDelta m_totalCommitTime;
|
| size_t m_totalCommitCount;
|
| + scoped_ptr<RenderingStatsSubscriber> m_renderingStatsSubscriber;
|
|
|
| bool m_deferCommits;
|
| bool m_deferredCommitPending;
|
|
|