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

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: 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
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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 PaintTimeCounter* paintTimeCounter() const { return m_paintTimeCounter.get() ; } 208 PaintTimeCounter* paintTimeCounter() const { return m_paintTimeCounter.get() ; }
209 MemoryHistory* memoryHistory() const { return m_memoryHistory.get(); } 209 MemoryHistory* memoryHistory() const { return m_memoryHistory.get(); }
210 DebugRectHistory* debugRectHistory() const { return m_debugRectHistory.get() ; } 210 DebugRectHistory* debugRectHistory() const { return m_debugRectHistory.get() ; }
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) { m_debugState = d ebugState; } 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);
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
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 base::TimeTicks m_currentFrameTime; 362 base::TimeTicks m_currentFrameTime;
363 363
364 scoped_ptr<AnimationRegistrar> m_animationRegistrar; 364 scoped_ptr<AnimationRegistrar> m_animationRegistrar;
365 365
366 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 366 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
367 }; 367 };
368 368
369 } // namespace cc 369 } // namespace cc
370 370
371 #endif // CC_LAYER_TREE_HOST_IMPL_H_ 371 #endif // CC_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698