OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // The bulk of this file is support code; sorry about that. Here's an overview | 5 // The bulk of this file is support code; sorry about that. Here's an overview |
6 // to hopefully help readers of this code: | 6 // to hopefully help readers of this code: |
7 // - RenderingHelper is charged with interacting with X11/{EGL/GLES2,GLX/GL} or | 7 // - RenderingHelper is charged with interacting with X11/{EGL/GLES2,GLX/GL} or |
8 // Win/EGL. | 8 // Win/EGL. |
9 // - ClientState is an enum for the state of the decode client used by the test. | 9 // - ClientState is an enum for the state of the decode client used by the test. |
10 // - ClientStateNotification is a barrier abstraction that allows the test code | 10 // - ClientStateNotification is a barrier abstraction that allows the test code |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 #include "base/at_exit.h" | 28 #include "base/at_exit.h" |
29 #include "base/bind.h" | 29 #include "base/bind.h" |
30 #include "base/command_line.h" | 30 #include "base/command_line.h" |
31 #include "base/file_util.h" | 31 #include "base/file_util.h" |
32 #include "base/process_util.h" | 32 #include "base/process_util.h" |
33 #include "base/stl_util.h" | 33 #include "base/stl_util.h" |
34 #include "base/string_number_conversions.h" | 34 #include "base/string_number_conversions.h" |
35 #include "base/strings/string_split.h" | 35 #include "base/strings/string_split.h" |
36 #include "base/strings/stringize_macros.h" | 36 #include "base/strings/stringize_macros.h" |
| 37 #include "base/strings/utf_string_conversions.h" |
37 #include "base/synchronization/condition_variable.h" | 38 #include "base/synchronization/condition_variable.h" |
38 #include "base/synchronization/lock.h" | 39 #include "base/synchronization/lock.h" |
39 #include "base/synchronization/waitable_event.h" | 40 #include "base/synchronization/waitable_event.h" |
40 #include "base/threading/thread.h" | 41 #include "base/threading/thread.h" |
41 #include "base/utf_string_conversions.h" | |
42 #include "content/common/gpu/media/rendering_helper.h" | 42 #include "content/common/gpu/media/rendering_helper.h" |
43 #include "content/public/common/content_switches.h" | 43 #include "content/public/common/content_switches.h" |
44 | 44 |
45 #if defined(OS_WIN) | 45 #if defined(OS_WIN) |
46 #include "content/common/gpu/media/dxva_video_decode_accelerator.h" | 46 #include "content/common/gpu/media/dxva_video_decode_accelerator.h" |
47 #elif defined(OS_CHROMEOS) | 47 #elif defined(OS_CHROMEOS) |
48 #if defined(ARCH_CPU_ARMEL) | 48 #if defined(ARCH_CPU_ARMEL) |
49 #include "content/common/gpu/media/exynos_video_decode_accelerator.h" | 49 #include "content/common/gpu/media/exynos_video_decode_accelerator.h" |
50 #elif defined(ARCH_CPU_X86_FAMILY) | 50 #elif defined(ARCH_CPU_X86_FAMILY) |
51 #include "content/common/gpu/media/vaapi_video_decode_accelerator.h" | 51 #include "content/common/gpu/media/vaapi_video_decode_accelerator.h" |
(...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
973 #elif defined(OS_CHROMEOS) | 973 #elif defined(OS_CHROMEOS) |
974 #if defined(ARCH_CPU_ARMEL) | 974 #if defined(ARCH_CPU_ARMEL) |
975 content::ExynosVideoDecodeAccelerator::PreSandboxInitialization(); | 975 content::ExynosVideoDecodeAccelerator::PreSandboxInitialization(); |
976 #elif defined(ARCH_CPU_X86_FAMILY) | 976 #elif defined(ARCH_CPU_X86_FAMILY) |
977 content::VaapiWrapper::PreSandboxInitialization(); | 977 content::VaapiWrapper::PreSandboxInitialization(); |
978 #endif // ARCH_CPU_ARMEL | 978 #endif // ARCH_CPU_ARMEL |
979 #endif // OS_CHROMEOS | 979 #endif // OS_CHROMEOS |
980 | 980 |
981 return RUN_ALL_TESTS(); | 981 return RUN_ALL_TESTS(); |
982 } | 982 } |
OLD | NEW |