Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: content/common/gpu/media/video_decode_accelerator_unittest.cc

Issue 14914009: VAVDA: Redesign stage 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add CONTENT_EXPORT to VaapiWrapper Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/gpu/media/vaapi_wrapper.cc ('k') | content/content_common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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"
52 #include "content/common/gpu/media/vaapi_wrapper.h"
52 #endif // ARCH_CPU_ARMEL 53 #endif // ARCH_CPU_ARMEL
53 #else 54 #else
54 #error The VideoAccelerator tests are not supported on this platform. 55 #error The VideoAccelerator tests are not supported on this platform.
55 #endif // OS_WIN 56 #endif // OS_WIN
56 57
57 using media::VideoDecodeAccelerator; 58 using media::VideoDecodeAccelerator;
58 59
59 namespace content { 60 namespace content {
60 namespace { 61 namespace {
61 62
(...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after
966 } 967 }
967 968
968 base::ShadowingAtExitManager at_exit_manager; 969 base::ShadowingAtExitManager at_exit_manager;
969 970
970 #if defined(OS_WIN) 971 #if defined(OS_WIN)
971 content::DXVAVideoDecodeAccelerator::PreSandboxInitialization(); 972 content::DXVAVideoDecodeAccelerator::PreSandboxInitialization();
972 #elif defined(OS_CHROMEOS) 973 #elif defined(OS_CHROMEOS)
973 #if defined(ARCH_CPU_ARMEL) 974 #if defined(ARCH_CPU_ARMEL)
974 content::ExynosVideoDecodeAccelerator::PreSandboxInitialization(); 975 content::ExynosVideoDecodeAccelerator::PreSandboxInitialization();
975 #elif defined(ARCH_CPU_X86_FAMILY) 976 #elif defined(ARCH_CPU_X86_FAMILY)
976 content::VaapiVideoDecodeAccelerator::PreSandboxInitialization(); 977 content::VaapiWrapper::PreSandboxInitialization();
977 #endif // ARCH_CPU_ARMEL 978 #endif // ARCH_CPU_ARMEL
978 #endif // OS_CHROMEOS 979 #endif // OS_CHROMEOS
979 980
980 return RUN_ALL_TESTS(); 981 return RUN_ALL_TESTS();
981 } 982 }
OLDNEW
« no previous file with comments | « content/common/gpu/media/vaapi_wrapper.cc ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698