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

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

Issue 1474823002: content/common/gpu/media add platform suffix to some files (cleanup) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted naming video_encode_accelerator_unittest.cc; A few content/content_tests.gypi alphabetical… Created 5 years 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <algorithm> 5 #include <algorithm>
6 6
7 #include <CoreVideo/CoreVideo.h> 7 #include <CoreVideo/CoreVideo.h>
8 #include <OpenGL/CGLIOSurface.h> 8 #include <OpenGL/CGLIOSurface.h>
9 #include <OpenGL/gl.h> 9 #include <OpenGL/gl.h>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/mac/mac_logging.h" 14 #include "base/mac/mac_logging.h"
15 #include "base/metrics/histogram_macros.h" 15 #include "base/metrics/histogram_macros.h"
16 #include "base/sys_byteorder.h" 16 #include "base/sys_byteorder.h"
17 #include "base/sys_info.h" 17 #include "base/sys_info.h"
18 #include "base/thread_task_runner_handle.h" 18 #include "base/thread_task_runner_handle.h"
19 #include "base/version.h" 19 #include "base/version.h"
20 #include "content/common/gpu/media/vt_video_decode_accelerator.h" 20 #include "content/common/gpu/media/vt_video_decode_accelerator_mac.h"
21 #include "content/public/common/content_switches.h" 21 #include "content/public/common/content_switches.h"
22 #include "media/base/limits.h" 22 #include "media/base/limits.h"
23 #include "ui/gl/gl_context.h" 23 #include "ui/gl/gl_context.h"
24 #include "ui/gl/gl_image_io_surface.h" 24 #include "ui/gl/gl_image_io_surface.h"
25 #include "ui/gl/gl_implementation.h" 25 #include "ui/gl/gl_implementation.h"
26 #include "ui/gl/scoped_binders.h" 26 #include "ui/gl/scoped_binders.h"
27 27
28 using content_common_gpu_media::kModuleVt; 28 using content_common_gpu_media::kModuleVt;
29 using content_common_gpu_media::InitializeStubs; 29 using content_common_gpu_media::InitializeStubs;
30 using content_common_gpu_media::IsVtInitialized; 30 using content_common_gpu_media::IsVtInitialized;
(...skipping 1099 matching lines...) Expand 10 before | Expand all | Expand 10 after
1130 SupportedProfile profile; 1130 SupportedProfile profile;
1131 profile.profile = supported_profile; 1131 profile.profile = supported_profile;
1132 profile.min_resolution.SetSize(16, 16); 1132 profile.min_resolution.SetSize(16, 16);
1133 profile.max_resolution.SetSize(4096, 2160); 1133 profile.max_resolution.SetSize(4096, 2160);
1134 profiles.push_back(profile); 1134 profiles.push_back(profile);
1135 } 1135 }
1136 return profiles; 1136 return profiles;
1137 } 1137 }
1138 1138
1139 } // namespace content 1139 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/media/vt_video_decode_accelerator_mac.h ('k') | content/common/sandbox_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698