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

Side by Side Diff: cc/layers/layer_impl.h

Issue 1051993002: cc: Remove tile sharing from tilings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/base/tiling_data.cc ('k') | cc/layers/picture_layer_impl_unittest.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_LAYERS_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_LAYER_IMPL_H_
6 #define CC_LAYERS_LAYER_IMPL_H_ 6 #define CC_LAYERS_LAYER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 // active side. 794 // active side.
795 int num_dependents_need_push_properties_; 795 int num_dependents_need_push_properties_;
796 796
797 // Layers that share a sorting context id will be sorted together in 3d 797 // Layers that share a sorting context id will be sorted together in 3d
798 // space. 0 is a special value that means this layer will not be sorted and 798 // space. 0 is a special value that means this layer will not be sorted and
799 // will be drawn in paint order. 799 // will be drawn in paint order.
800 int sorting_context_id_; 800 int sorting_context_id_;
801 801
802 DrawMode current_draw_mode_; 802 DrawMode current_draw_mode_;
803 803
804 // Group of properties that need to be computed based on the layer tree
805 // hierarchy before layers can be drawn.
806 DrawProperties<LayerImpl> draw_properties_;
enne (OOO) 2015/04/29 18:01:24 Could you just call draw_properties() that returns
807
804 private: 808 private:
805 // Rect indicating what was repainted/updated during update. 809 // Rect indicating what was repainted/updated during update.
806 // Note that plugin layers bypass this and leave it empty. 810 // Note that plugin layers bypass this and leave it empty.
807 // Uses layer (not content) space. 811 // Uses layer (not content) space.
808 gfx::Rect update_rect_; 812 gfx::Rect update_rect_;
809 813
810 // This rect is in layer space. 814 // This rect is in layer space.
811 gfx::RectF damage_rect_; 815 gfx::RectF damage_rect_;
812 816
813 // Manages animations for this layer. 817 // Manages animations for this layer.
814 scoped_refptr<LayerAnimationController> layer_animation_controller_; 818 scoped_refptr<LayerAnimationController> layer_animation_controller_;
815 819
816 // Manages scrollbars for this layer 820 // Manages scrollbars for this layer
817 scoped_ptr<ScrollbarAnimationController> scrollbar_animation_controller_; 821 scoped_ptr<ScrollbarAnimationController> scrollbar_animation_controller_;
818 822
819 scoped_ptr<ScrollbarSet> scrollbars_; 823 scoped_ptr<ScrollbarSet> scrollbars_;
820 824
821 ScopedPtrVector<CopyOutputRequest> copy_requests_; 825 ScopedPtrVector<CopyOutputRequest> copy_requests_;
822 826
823 // Group of properties that need to be computed based on the layer tree
824 // hierarchy before layers can be drawn.
825 DrawProperties<LayerImpl> draw_properties_;
826
827 scoped_refptr<base::trace_event::ConvertableToTraceFormat> debug_info_; 827 scoped_refptr<base::trace_event::ConvertableToTraceFormat> debug_info_;
828 scoped_ptr<RenderSurfaceImpl> render_surface_; 828 scoped_ptr<RenderSurfaceImpl> render_surface_;
829 829
830 std::vector<FrameTimingRequest> frame_timing_requests_; 830 std::vector<FrameTimingRequest> frame_timing_requests_;
831 bool frame_timing_requests_dirty_; 831 bool frame_timing_requests_dirty_;
832 832
833 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 833 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
834 }; 834 };
835 835
836 } // namespace cc 836 } // namespace cc
837 837
838 #endif // CC_LAYERS_LAYER_IMPL_H_ 838 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/base/tiling_data.cc ('k') | cc/layers/picture_layer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698