OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 <vector> | 5 #include <vector> |
6 | 6 |
7 #include "cc/debug/lap_timer.h" | 7 #include "cc/debug/lap_timer.h" |
8 #include "cc/playback/draw_image.h" | 8 #include "cc/paint/draw_image.h" |
9 #include "cc/raster/tile_task.h" | 9 #include "cc/raster/tile_task.h" |
10 #include "cc/tiles/software_image_decode_cache.h" | 10 #include "cc/tiles/software_image_decode_cache.h" |
11 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
12 #include "testing/perf/perf_test.h" | 12 #include "testing/perf/perf_test.h" |
13 | 13 |
14 namespace cc { | 14 namespace cc { |
15 namespace { | 15 namespace { |
16 | 16 |
17 static const int kTimeLimitMillis = 2000; | 17 static const int kTimeLimitMillis = 2000; |
18 static const int kWarmupRuns = 5; | 18 static const int kWarmupRuns = 5; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 private: | 76 private: |
77 LapTimer timer_; | 77 LapTimer timer_; |
78 }; | 78 }; |
79 | 79 |
80 TEST_F(SoftwareImageDecodeCachePerfTest, FromDrawImage) { | 80 TEST_F(SoftwareImageDecodeCachePerfTest, FromDrawImage) { |
81 RunFromImage(); | 81 RunFromImage(); |
82 } | 82 } |
83 | 83 |
84 } // namespace | 84 } // namespace |
85 } // namespace cc | 85 } // namespace cc |
OLD | NEW |