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

Side by Side Diff: cc/trees/layer_tree_impl.cc

Issue 1296673004: Devtools/CC: Remove continuous repainting feature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « cc/trees/layer_tree_impl.h ('k') | cc/trees/proxy.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 #include "cc/trees/layer_tree_impl.h" 5 #include "cc/trees/layer_tree_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <set> 9 #include <set>
10 10
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 } 850 }
851 851
852 TileManager* LayerTreeImpl::tile_manager() const { 852 TileManager* LayerTreeImpl::tile_manager() const {
853 return layer_tree_host_impl_->tile_manager(); 853 return layer_tree_host_impl_->tile_manager();
854 } 854 }
855 855
856 FrameRateCounter* LayerTreeImpl::frame_rate_counter() const { 856 FrameRateCounter* LayerTreeImpl::frame_rate_counter() const {
857 return layer_tree_host_impl_->fps_counter(); 857 return layer_tree_host_impl_->fps_counter();
858 } 858 }
859 859
860 PaintTimeCounter* LayerTreeImpl::paint_time_counter() const {
861 return layer_tree_host_impl_->paint_time_counter();
862 }
863
864 MemoryHistory* LayerTreeImpl::memory_history() const { 860 MemoryHistory* LayerTreeImpl::memory_history() const {
865 return layer_tree_host_impl_->memory_history(); 861 return layer_tree_host_impl_->memory_history();
866 } 862 }
867 863
868 gfx::Size LayerTreeImpl::device_viewport_size() const { 864 gfx::Size LayerTreeImpl::device_viewport_size() const {
869 return layer_tree_host_impl_->device_viewport_size(); 865 return layer_tree_host_impl_->device_viewport_size();
870 } 866 }
871 867
872 float LayerTreeImpl::device_scale_factor() const { 868 float LayerTreeImpl::device_scale_factor() const {
873 return layer_tree_host_impl_->device_scale_factor(); 869 return layer_tree_host_impl_->device_scale_factor();
(...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after
1766 const gfx::BoxF& box, 1762 const gfx::BoxF& box,
1767 gfx::BoxF* bounds) const { 1763 gfx::BoxF* bounds) const {
1768 *bounds = gfx::BoxF(); 1764 *bounds = gfx::BoxF();
1769 return layer_tree_host_impl_->animation_host() 1765 return layer_tree_host_impl_->animation_host()
1770 ? layer_tree_host_impl_->animation_host() 1766 ? layer_tree_host_impl_->animation_host()
1771 ->TransformAnimationBoundsForBox(layer->id(), box, bounds) 1767 ->TransformAnimationBoundsForBox(layer->id(), box, bounds)
1772 : true; 1768 : true;
1773 } 1769 }
1774 1770
1775 } // namespace cc 1771 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_impl.h ('k') | cc/trees/proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698