OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 <d3d9.h> | 5 #include <d3d9.h> |
6 #include <random> | 6 #include <random> |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/hash.h" | 10 #include "base/hash.h" |
11 #include "base/scoped_native_library.h" | 11 #include "base/scoped_native_library.h" |
12 #include "base/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
13 #include "base/time.h" | 13 #include "base/time.h" |
14 #include "base/win/scoped_comptr.h" | 14 #include "base/win/scoped_comptr.h" |
15 #include "base/win/windows_version.h" | 15 #include "base/win/windows_version.h" |
16 #include "media/base/simd/convert_rgb_to_yuv.h" | 16 #include "media/base/simd/convert_rgb_to_yuv.h" |
17 #include "media/base/yuv_convert.h" | 17 #include "media/base/yuv_convert.h" |
18 #include "skia/ext/image_operations.h" | 18 #include "skia/ext/image_operations.h" |
19 #include "testing/gtest/include/gtest/gtest-param-test.h" | 19 #include "testing/gtest/include/gtest/gtest-param-test.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
21 #include "third_party/skia/include/core/SkBitmap.h" | 21 #include "third_party/skia/include/core/SkBitmap.h" |
22 #include "third_party/skia/include/core/SkColor.h" | 22 #include "third_party/skia/include/core/SkColor.h" |
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
886 result.push_back(base::win::GetVersion()); | 886 result.push_back(base::win::GetVersion()); |
887 } | 887 } |
888 return result; | 888 return result; |
889 } | 889 } |
890 | 890 |
891 } // namespace | 891 } // namespace |
892 | 892 |
893 INSTANTIATE_TEST_CASE_P(VistaAndUp, | 893 INSTANTIATE_TEST_CASE_P(VistaAndUp, |
894 AcceleratedSurfaceTransformerTest, | 894 AcceleratedSurfaceTransformerTest, |
895 ::testing::ValuesIn(WindowsVersionIfVistaOrBetter())); | 895 ::testing::ValuesIn(WindowsVersionIfVistaOrBetter())); |
OLD | NEW |