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