OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/resources/picture_pile_impl.h" | 5 #include "cc/playback/picture_pile_impl.h" |
6 | 6 |
7 #include "cc/debug/lap_timer.h" | 7 #include "cc/debug/lap_timer.h" |
8 #include "cc/test/fake_picture_pile_impl.h" | 8 #include "cc/test/fake_picture_pile_impl.h" |
9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
10 #include "testing/perf/perf_test.h" | 10 #include "testing/perf/perf_test.h" |
11 | 11 |
12 namespace cc { | 12 namespace cc { |
13 namespace { | 13 namespace { |
14 | 14 |
15 const int kTimeLimitMillis = 2000; | 15 const int kTimeLimitMillis = 2000; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 } | 74 } |
75 | 75 |
76 TEST_F(PicturePileImplPerfTest, Raster) { | 76 TEST_F(PicturePileImplPerfTest, Raster) { |
77 RunRasterTest("1", 1.0f); | 77 RunRasterTest("1", 1.0f); |
78 RunRasterTest("4", 0.5f); | 78 RunRasterTest("4", 0.5f); |
79 RunRasterTest("100", 0.1f); | 79 RunRasterTest("100", 0.1f); |
80 } | 80 } |
81 | 81 |
82 } // namespace | 82 } // namespace |
83 } // namespace cc | 83 } // namespace cc |
OLD | NEW |