diff options
author | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-27 06:15:21 +0000 |
---|---|---|
committer | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-27 06:15:21 +0000 |
commit | d5e16c0ce64a8e86df9a3a576e0b26b3622f014a (patch) | |
tree | 4caa46dad5b493b65a136818b7eaebf1f1b830ea /cc/debug/rendering_stats_instrumentation.h | |
parent | c600f5c6c9d3e9fb4b82dfc41b9ec000c9cb284d (diff) | |
download | chromium_src-d5e16c0ce64a8e86df9a3a576e0b26b3622f014a.zip chromium_src-d5e16c0ce64a8e86df9a3a576e0b26b3622f014a.tar.gz chromium_src-d5e16c0ce64a8e86df9a3a576e0b26b3622f014a.tar.bz2 |
Revert 190817 "cc: Switch RenderingStats collection in Layer::Up..."
> cc: Switch RenderingStats collection in Layer::Update() to RenderingStatsInstrumentation
>
> This change switches all of the remaining RenderingStats collection in
> composited mode to use RenderinStatsInstrumentation.
>
> BUG=181319
>
>
> Review URL: https://chromiumcodereview.appspot.com/12426024
TBR=egraether@chromium.org
Review URL: https://codereview.chromium.org/13117002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190826 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/debug/rendering_stats_instrumentation.h')
-rw-r--r-- | cc/debug/rendering_stats_instrumentation.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/debug/rendering_stats_instrumentation.h b/cc/debug/rendering_stats_instrumentation.h index 6d26857..c3ec320 100644 --- a/cc/debug/rendering_stats_instrumentation.h +++ b/cc/debug/rendering_stats_instrumentation.h @@ -32,6 +32,10 @@ class CC_EXPORT RenderingStatsInstrumentation { base::TimeTicks StartRecording() const; base::TimeDelta EndRecording(base::TimeTicks start_time) const; + // TODO(egraether): Remove after switching Layer::update() to use this class. + // Used in LayerTreeHost::paintLayerContents(). + void AddStats(const RenderingStats& other); + void IncrementAnimationFrameCount(); void SetScreenFrameCount(int64 count); void SetDroppedFrameCount(int64 count); |