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

Side by Side Diff: cc/layer_tree_host_impl.h

Issue 11529003: [cc] Route LayerImpl::layerTreeHostImpl() calls through LayerTreeImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years 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 | Annotate | Revision Log
« 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 void updateRootScrollLayerImplTransform(); 258 void updateRootScrollLayerImplTransform();
259 259
260 void sendManagedMemoryStats( 260 void sendManagedMemoryStats(
261 size_t memoryVisibleBytes, 261 size_t memoryVisibleBytes,
262 size_t memoryVisibleAndNearbyBytes, 262 size_t memoryVisibleAndNearbyBytes,
263 size_t memoryUseBytes); 263 size_t memoryUseBytes);
264 264
265 FrameRateCounter* fpsCounter() const { return m_fpsCounter.get(); } 265 FrameRateCounter* fpsCounter() const { return m_fpsCounter.get(); }
266 DebugRectHistory* debugRectHistory() const { return m_debugRectHistory.get() ; } 266 DebugRectHistory* debugRectHistory() const { return m_debugRectHistory.get() ; }
267 ResourceProvider* resourceProvider() const { return m_resourceProvider.get() ; } 267 ResourceProvider* resourceProvider() const { return m_resourceProvider.get() ; }
268
268 Proxy* proxy() const { return m_proxy; } 269 Proxy* proxy() const { return m_proxy; }
269 270
270 void setDebugState(const LayerTreeDebugState& debugState) { m_debugState = d ebugState; } 271 void setDebugState(const LayerTreeDebugState& debugState) { m_debugState = d ebugState; }
271 const LayerTreeDebugState& debugState() const { return m_debugState; } 272 const LayerTreeDebugState& debugState() const { return m_debugState; }
272 273
273 class CC_EXPORT CullRenderPassesWithCachedTextures { 274 class CC_EXPORT CullRenderPassesWithCachedTextures {
274 public: 275 public:
275 bool shouldRemoveRenderPass(const RenderPassDrawQuad&, const FrameData&) const; 276 bool shouldRemoveRenderPass(const RenderPassDrawQuad&, const FrameData&) const;
276 277
277 // Iterates from the root first, in order to remove the surfaces closest 278 // Iterates from the root first, in order to remove the surfaces closest
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 size_t m_lastSentMemoryVisibleBytes; 398 size_t m_lastSentMemoryVisibleBytes;
398 size_t m_lastSentMemoryVisibleAndNearbyBytes; 399 size_t m_lastSentMemoryVisibleAndNearbyBytes;
399 size_t m_lastSentMemoryUseBytes; 400 size_t m_lastSentMemoryUseBytes;
400 401
401 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 402 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
402 }; 403 };
403 404
404 } // namespace cc 405 } // namespace cc
405 406
406 #endif // CC_LAYER_TREE_HOST_IMPL_H_ 407 #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