| 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 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1359 if (it->first == "v" || it->first == "vmodule") | 1359 if (it->first == "v" || it->first == "vmodule") |
| 1360 continue; | 1360 continue; |
| 1361 LOG(FATAL) << "Unexpected switch: " << it->first << ":" << it->second; | 1361 LOG(FATAL) << "Unexpected switch: " << it->first << ":" << it->second; |
| 1362 } | 1362 } |
| 1363 | 1363 |
| 1364 base::ShadowingAtExitManager at_exit_manager; | 1364 base::ShadowingAtExitManager at_exit_manager; |
| 1365 | 1365 |
| 1366 #if defined(OS_WIN) | 1366 #if defined(OS_WIN) |
| 1367 content::DXVAVideoDecodeAccelerator::PreSandboxInitialization(); | 1367 content::DXVAVideoDecodeAccelerator::PreSandboxInitialization(); |
| 1368 #elif defined(OS_CHROMEOS) | 1368 #elif defined(OS_CHROMEOS) |
| 1369 #if defined(ARCH_CPU_ARMEL) | 1369 #if defined(ARCH_CPU_X86_FAMILY) |
| 1370 content::ExynosVideoDecodeAccelerator::PreSandboxInitialization(); | |
| 1371 #elif defined(ARCH_CPU_X86_FAMILY) | |
| 1372 content::VaapiWrapper::PreSandboxInitialization(); | 1370 content::VaapiWrapper::PreSandboxInitialization(); |
| 1373 #endif // ARCH_CPU_ARMEL | 1371 #endif // ARCH_CPU_ARMEL |
| 1374 #endif // OS_CHROMEOS | 1372 #endif // OS_CHROMEOS |
| 1375 | 1373 |
| 1376 return RUN_ALL_TESTS(); | 1374 return RUN_ALL_TESTS(); |
| 1377 } | 1375 } |
| OLD | NEW |