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

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

Issue 2800633003: Test that main thread frames cease to fire during composited animation
Patch Set: removestacktrace Created 3 years, 8 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/output/compositor_frame_metadata.h ('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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <bitset> 10 #include <bitset>
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 gfx::Transform external_transform_; 814 gfx::Transform external_transform_;
815 gfx::Rect external_viewport_; 815 gfx::Rect external_viewport_;
816 gfx::Rect viewport_rect_for_tile_priority_; 816 gfx::Rect viewport_rect_for_tile_priority_;
817 bool resourceless_software_draw_; 817 bool resourceless_software_draw_;
818 818
819 gfx::Rect viewport_damage_rect_; 819 gfx::Rect viewport_damage_rect_;
820 820
821 std::unique_ptr<MutatorHost> mutator_host_; 821 std::unique_ptr<MutatorHost> mutator_host_;
822 std::set<VideoFrameController*> video_frame_controllers_; 822 std::set<VideoFrameController*> video_frame_controllers_;
823 823
824 bool is_main_thread_frame_ = false;
825
824 // Map from scroll layer ID to scrollbar animation controller. 826 // Map from scroll layer ID to scrollbar animation controller.
825 // There is one animation controller per pair of overlay scrollbars. 827 // There is one animation controller per pair of overlay scrollbars.
826 std::unordered_map<int, std::unique_ptr<ScrollbarAnimationController>> 828 std::unordered_map<int, std::unique_ptr<ScrollbarAnimationController>>
827 scrollbar_animation_controllers_; 829 scrollbar_animation_controllers_;
828 830
829 RenderingStatsInstrumentation* rendering_stats_instrumentation_; 831 RenderingStatsInstrumentation* rendering_stats_instrumentation_;
830 MicroBenchmarkControllerImpl micro_benchmark_controller_; 832 MicroBenchmarkControllerImpl micro_benchmark_controller_;
831 std::unique_ptr<SynchronousTaskGraphRunner> 833 std::unique_ptr<SynchronousTaskGraphRunner>
832 single_thread_synchronous_task_graph_runner_; 834 single_thread_synchronous_task_graph_runner_;
833 835
(...skipping 27 matching lines...) Expand all
861 // thread. 863 // thread.
862 bool has_scrolled_by_wheel_; 864 bool has_scrolled_by_wheel_;
863 bool has_scrolled_by_touch_; 865 bool has_scrolled_by_touch_;
864 866
865 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 867 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
866 }; 868 };
867 869
868 } // namespace cc 870 } // namespace cc
869 871
870 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 872 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/output/compositor_frame_metadata.h ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698