Chromium Code Reviews

Side by Side Diff: cc/trees/layer_tree_host_impl.h

Issue 367833003: cc: Start using raster/eviction iterators. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
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_TREES_LAYER_TREE_HOST_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 399 matching lines...)
410 template <typename RenderPassCuller> 410 template <typename RenderPassCuller>
411 static void RemoveRenderPasses(RenderPassCuller culler, FrameData* frame); 411 static void RemoveRenderPasses(RenderPassCuller culler, FrameData* frame);
412 412
413 gfx::Vector2dF accumulated_root_overscroll() const { 413 gfx::Vector2dF accumulated_root_overscroll() const {
414 return accumulated_root_overscroll_; 414 return accumulated_root_overscroll_;
415 } 415 }
416 416
417 bool pinch_gesture_active() const { return pinch_gesture_active_; } 417 bool pinch_gesture_active() const { return pinch_gesture_active_; }
418 418
419 void SetTreePriority(TreePriority priority); 419 void SetTreePriority(TreePriority priority);
420 TreePriority GetTreePriority() const;
420 421
421 void UpdateCurrentBeginFrameArgs(const BeginFrameArgs& args); 422 void UpdateCurrentBeginFrameArgs(const BeginFrameArgs& args);
422 void ResetCurrentBeginFrameArgsForNextFrame(); 423 void ResetCurrentBeginFrameArgsForNextFrame();
423 virtual BeginFrameArgs CurrentBeginFrameArgs() const; 424 virtual BeginFrameArgs CurrentBeginFrameArgs() const;
424 425
425 // Expected time between two begin impl frame calls. 426 // Expected time between two begin impl frame calls.
426 base::TimeDelta begin_impl_frame_interval() const { 427 base::TimeDelta begin_impl_frame_interval() const {
427 return begin_impl_frame_interval_; 428 return begin_impl_frame_interval_;
428 } 429 }
429 430
(...skipping 272 matching lines...)
702 703
703 std::vector<PictureLayerImpl*> picture_layers_; 704 std::vector<PictureLayerImpl*> picture_layers_;
704 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_; 705 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_;
705 706
706 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 707 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
707 }; 708 };
708 709
709 } // namespace cc 710 } // namespace cc
710 711
711 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 712 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine