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

Side by Side Diff: cc/layer_tree_host_impl.h

Issue 12209022: cc: add rasterize time to continuous painting graph data in impl-side-painting (Closed) Base URL: http://git.chromium.org/chromium/src.git@raster
Patch Set: Fixed style Created 7 years, 10 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 unified diff | Download patch
« no previous file with comments | « cc/layer_tree_host.cc ('k') | cc/layer_tree_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_LAYER_TREE_HOST_IMPL_H_ 5 #ifndef CC_LAYER_TREE_HOST_IMPL_H_
6 #define CC_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_LAYER_TREE_HOST_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 ResourceProvider* resourceProvider() const { return m_resourceProvider.get() ; } 211 ResourceProvider* resourceProvider() const { return m_resourceProvider.get() ; }
212 TopControlsManager* topControlsManager() const { return m_topControlsManager .get(); } 212 TopControlsManager* topControlsManager() const { return m_topControlsManager .get(); }
213 213
214 Proxy* proxy() const { return m_proxy; } 214 Proxy* proxy() const { return m_proxy; }
215 215
216 AnimationRegistrar* animationRegistrar() const { return m_animationRegistrar .get(); } 216 AnimationRegistrar* animationRegistrar() const { return m_animationRegistrar .get(); }
217 217
218 void setDebugState(const LayerTreeDebugState& debugState); 218 void setDebugState(const LayerTreeDebugState& debugState);
219 const LayerTreeDebugState& debugState() const { return m_debugState; } 219 const LayerTreeDebugState& debugState() const { return m_debugState; }
220 220
221 void savePaintTime(const base::TimeDelta& totalPaintTime); 221 void savePaintTime(const base::TimeDelta& totalPaintTime, int commitNumber);
222 222
223 class CC_EXPORT CullRenderPassesWithCachedTextures { 223 class CC_EXPORT CullRenderPassesWithCachedTextures {
224 public: 224 public:
225 bool shouldRemoveRenderPass(const RenderPassDrawQuad&, const FrameData&) const; 225 bool shouldRemoveRenderPass(const RenderPassDrawQuad&, const FrameData&) const;
226 226
227 // Iterates from the root first, in order to remove the surfaces closest 227 // Iterates from the root first, in order to remove the surfaces closest
228 // to the root with cached textures, and all surfaces that draw into 228 // to the root with cached textures, and all surfaces that draw into
229 // them. 229 // them.
230 size_t renderPassListBegin(const RenderPassList& list) const { return li st.size() - 1; } 230 size_t renderPassListBegin(const RenderPassList& list) const { return li st.size() - 1; }
231 size_t renderPassListEnd(const RenderPassList&) const { return 0 - 1; } 231 size_t renderPassListEnd(const RenderPassList&) const { return 0 - 1; }
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 base::TimeTicks m_currentFrameTime; 371 base::TimeTicks m_currentFrameTime;
372 372
373 scoped_ptr<AnimationRegistrar> m_animationRegistrar; 373 scoped_ptr<AnimationRegistrar> m_animationRegistrar;
374 374
375 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 375 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
376 }; 376 };
377 377
378 } // namespace cc 378 } // namespace cc
379 379
380 #endif // CC_LAYER_TREE_HOST_IMPL_H_ 380 #endif // CC_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layer_tree_host.cc ('k') | cc/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698