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

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

Issue 2688623004: Move native_pixmap.h from ui/ozone/public to ui/gfx (Closed)
Patch Set: Rebase Created 3 years, 9 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
« no previous file with comments | « media/gpu/vaapi_drm_picture.cc ('k') | ui/gfx/BUILD.gn » ('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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 #endif 78 #endif
79 #if defined(ARCH_CPU_X86_FAMILY) 79 #if defined(ARCH_CPU_X86_FAMILY)
80 #include "media/gpu/vaapi_video_decode_accelerator.h" 80 #include "media/gpu/vaapi_video_decode_accelerator.h"
81 #include "media/gpu/vaapi_wrapper.h" 81 #include "media/gpu/vaapi_wrapper.h"
82 #endif // defined(ARCH_CPU_X86_FAMILY) 82 #endif // defined(ARCH_CPU_X86_FAMILY)
83 #else 83 #else
84 #error The VideoAccelerator tests are not supported on this platform. 84 #error The VideoAccelerator tests are not supported on this platform.
85 #endif // OS_WIN 85 #endif // OS_WIN
86 86
87 #if defined(USE_OZONE) 87 #if defined(USE_OZONE)
88 #include "ui/ozone/public/native_pixmap.h" 88 #include "ui/gfx/native_pixmap.h"
89 #include "ui/ozone/public/ozone_gpu_test_helper.h" 89 #include "ui/ozone/public/ozone_gpu_test_helper.h"
90 #include "ui/ozone/public/ozone_platform.h" 90 #include "ui/ozone/public/ozone_platform.h"
91 #include "ui/ozone/public/surface_factory_ozone.h" 91 #include "ui/ozone/public/surface_factory_ozone.h"
92 #endif // defined(USE_OZONE) 92 #endif // defined(USE_OZONE)
93 93
94 namespace media { 94 namespace media {
95 95
96 namespace { 96 namespace {
97 97
98 // Values optionally filled in from flags; see main() below. 98 // Values optionally filled in from flags; see main() below.
(...skipping 1750 matching lines...) Expand 10 before | Expand all | Expand 10 after
1849 continue; 1849 continue;
1850 } 1850 }
1851 } 1851 }
1852 1852
1853 base::ShadowingAtExitManager at_exit_manager; 1853 base::ShadowingAtExitManager at_exit_manager;
1854 1854
1855 return base::LaunchUnitTestsSerially( 1855 return base::LaunchUnitTestsSerially(
1856 argc, argv, 1856 argc, argv,
1857 base::Bind(&media::VDATestSuite::Run, base::Unretained(&test_suite))); 1857 base::Bind(&media::VDATestSuite::Run, base::Unretained(&test_suite)));
1858 } 1858 }
OLDNEW
« no previous file with comments | « media/gpu/vaapi_drm_picture.cc ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698