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

Side by Side Diff: cc/animation/animation_host_perftest.cc

Issue 2506093003: CC Animation: Make cc/animation an independent GN component. (Closed)
Patch Set: Rebase. Created 4 years, 1 month 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/animation/animation_host.h ('k') | cc/animation/animation_id_provider.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/animation/animation_host.h" 5 #include "cc/animation/animation_host.h"
6 6
7 #include "base/threading/thread_task_runner_handle.h" 7 #include "base/threading/thread_task_runner_handle.h"
8 #include "cc/animation/animation_id_provider.h" 8 #include "cc/animation/animation_id_provider.h"
9 #include "cc/animation/animation_player.h" 9 #include "cc/animation/animation_player.h"
10 #include "cc/animation/animation_timeline.h" 10 #include "cc/animation/animation_timeline.h"
11 #include "cc/debug/lap_timer.h" 11 #include "cc/debug/lap_timer.h"
12 #include "cc/layers/layer.h"
13 #include "cc/test/fake_impl_task_runner_provider.h" 12 #include "cc/test/fake_impl_task_runner_provider.h"
14 #include "cc/test/fake_layer_tree_host.h" 13 #include "cc/test/fake_layer_tree_host.h"
15 #include "cc/test/fake_layer_tree_host_client.h" 14 #include "cc/test/fake_layer_tree_host_client.h"
16 #include "cc/test/fake_layer_tree_host_impl.h" 15 #include "cc/test/fake_layer_tree_host_impl.h"
17 #include "cc/test/stub_layer_tree_host_single_thread_client.h" 16 #include "cc/test/stub_layer_tree_host_single_thread_client.h"
18 #include "cc/test/test_task_graph_runner.h" 17 #include "cc/test/test_task_graph_runner.h"
19 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
20 #include "testing/perf/perf_test.h" 19 #include "testing/perf/perf_test.h"
21 20
22 namespace cc { 21 namespace cc {
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 CreateTimelines(10); 160 CreateTimelines(10);
162 DoTest(); 161 DoTest();
163 } 162 }
164 163
165 TEST_F(AnimationHostPerfTest, Push1000TimelinesPropertiesTo) { 164 TEST_F(AnimationHostPerfTest, Push1000TimelinesPropertiesTo) {
166 CreateTimelines(1000); 165 CreateTimelines(1000);
167 DoTest(); 166 DoTest();
168 } 167 }
169 168
170 } // namespace cc 169 } // namespace cc
OLDNEW
« no previous file with comments | « cc/animation/animation_host.h ('k') | cc/animation/animation_id_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698