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

Side by Side Diff: cc/layer_tree_host_impl.h

Issue 11704002: cc: Generate tilings at other scales for impl-side painting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, sort() Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | cc/layer_tree_impl.h » ('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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 297
298 template<typename RenderPassCuller> 298 template<typename RenderPassCuller>
299 static void removeRenderPasses(RenderPassCuller, FrameData&); 299 static void removeRenderPasses(RenderPassCuller, FrameData&);
300 300
301 float totalPageScaleFactorForTesting() const { return m_pinchZoomViewport.to talPageScaleFactor(); } 301 float totalPageScaleFactorForTesting() const { return m_pinchZoomViewport.to talPageScaleFactor(); }
302 302
303 const PinchZoomViewport& pinchZoomViewport() const { return m_pinchZoomViewp ort; } 303 const PinchZoomViewport& pinchZoomViewport() const { return m_pinchZoomViewp ort; }
304 304
305 skia::RefPtr<SkPicture> capturePicture(); 305 skia::RefPtr<SkPicture> capturePicture();
306 306
307 bool pinchGestureActive() const { return m_pinchGestureActive; }
308
307 protected: 309 protected:
308 LayerTreeHostImpl(const LayerTreeSettings&, LayerTreeHostImplClient*, Proxy* ); 310 LayerTreeHostImpl(const LayerTreeSettings&, LayerTreeHostImplClient*, Proxy* );
309 void activatePendingTree(); 311 void activatePendingTree();
310 312
311 // Virtual for testing. 313 // Virtual for testing.
312 virtual void animateLayers(base::TimeTicks monotonicTime, base::Time wallClo ckTime); 314 virtual void animateLayers(base::TimeTicks monotonicTime, base::Time wallClo ckTime);
313 315
314 // Virtual for testing. 316 // Virtual for testing.
315 virtual base::TimeDelta lowFrequencyAnimationInterval() const; 317 virtual base::TimeDelta lowFrequencyAnimationInterval() const;
316 318
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 size_t m_lastSentMemoryUseBytes; 398 size_t m_lastSentMemoryUseBytes;
397 399
398 scoped_ptr<AnimationRegistrar> m_animationRegistrar; 400 scoped_ptr<AnimationRegistrar> m_animationRegistrar;
399 401
400 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 402 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
401 }; 403 };
402 404
403 } // namespace cc 405 } // namespace cc
404 406
405 #endif // CC_LAYER_TREE_HOST_IMPL_H_ 407 #endif // CC_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layer_tree_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698