OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "base/logging.h" | 5 #include "base/logging.h" |
6 #include "cc/debug/lap_timer.h" | 6 #include "cc/debug/lap_timer.h" |
7 #include "cc/resources/texture_compressor.h" | 7 #include "cc/raster/texture_compressor.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 #include "testing/perf/perf_test.h" | 9 #include "testing/perf/perf_test.h" |
10 | 10 |
11 namespace cc { | 11 namespace cc { |
12 namespace { | 12 namespace { |
13 | 13 |
14 const int kTimeLimitMillis = 2000; | 14 const int kTimeLimitMillis = 2000; |
15 const int kWarmupRuns = 5; | 15 const int kWarmupRuns = 5; |
16 const int kTimeCheckInterval = 10; | 16 const int kTimeCheckInterval = 10; |
17 | 17 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 INSTANTIATE_TEST_CASE_P( | 112 INSTANTIATE_TEST_CASE_P( |
113 TextureCompressorPerfTests, | 113 TextureCompressorPerfTests, |
114 TextureCompressorPerfTest, | 114 TextureCompressorPerfTest, |
115 ::testing::Combine(::testing::Values(TextureCompressor::kQualityLow, | 115 ::testing::Combine(::testing::Values(TextureCompressor::kQualityLow, |
116 TextureCompressor::kQualityMedium, | 116 TextureCompressor::kQualityMedium, |
117 TextureCompressor::kQualityHigh), | 117 TextureCompressor::kQualityHigh), |
118 ::testing::Values(TextureCompressor::kFormatETC1))); | 118 ::testing::Values(TextureCompressor::kFormatETC1))); |
119 | 119 |
120 } // namespace | 120 } // namespace |
121 } // namespace cc | 121 } // namespace cc |
OLD | NEW |