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

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. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/test/test_tile_priorities.cc ('k') | cc/trees/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_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...) Expand 10 before | Expand all | Expand 10 after
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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_; 709 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_;
709 710
710 bool requires_high_res_to_draw_; 711 bool requires_high_res_to_draw_;
711 712
712 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 713 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
713 }; 714 };
714 715
715 } // namespace cc 716 } // namespace cc
716 717
717 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 718 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/test/test_tile_priorities.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698