OLD | NEW |
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 Loading... |
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 |
OLD | NEW |