OLD | NEW |
| (Empty) |
1 diff --git a/gpu/config/gpu_info.cc b/gpu/config/gpu_info.cc | |
2 index c7951f9..f560dcb 100644 | |
3 --- a/gpu/config/gpu_info.cc | |
4 +++ b/gpu/config/gpu_info.cc | |
5 @@ -17,19 +17,6 @@ void EnumerateGPUDevice(gpu::GPUInfo::Enumerator* enumerator, | |
6 enumerator->EndGPUDevice(); | |
7 } | |
8 | |
9 -void EnumerateVideoEncodeAcceleratorSupportedProfile( | |
10 - gpu::GPUInfo::Enumerator* enumerator, | |
11 - const media::VideoEncodeAccelerator::SupportedProfile profile) { | |
12 - enumerator->BeginVideoEncodeAcceleratorSupportedProfile(); | |
13 - enumerator->AddInt("profile", profile.profile); | |
14 - enumerator->AddInt("maxResolutionWidth", profile.max_resolution.width()); | |
15 - enumerator->AddInt("maxResolutionHeight", profile.max_resolution.height()); | |
16 - enumerator->AddInt("maxFramerateNumerator", profile.max_framerate_numerator); | |
17 - enumerator->AddInt("maxFramerateDenominator", | |
18 - profile.max_framerate_denominator); | |
19 - enumerator->EndVideoEncodeAcceleratorSupportedProfile(); | |
20 -} | |
21 - | |
22 } // namespace | |
23 | |
24 namespace gpu { | |
25 @@ -101,8 +88,6 @@ void GPUInfo::EnumerateFields(Enumerator* enumerator) const { | |
26 CollectInfoResult dx_diagnostics_info_state; | |
27 DxDiagNode dx_diagnostics; | |
28 #endif | |
29 - std::vector<media::VideoEncodeAccelerator::SupportedProfile> | |
30 - video_encode_accelerator_supported_profiles; | |
31 }; | |
32 | |
33 // If this assert fails then most likely something below needs to be updated. | |
34 @@ -157,12 +142,6 @@ void GPUInfo::EnumerateFields(Enumerator* enumerator) const
{ | |
35 #if defined(OS_WIN) | |
36 enumerator->AddInt("DxDiagnosticsInfoState", dx_diagnostics_info_state); | |
37 #endif | |
38 - // TODO(kbr): add dx_diagnostics on Windows. | |
39 - for (size_t ii = 0; ii < video_encode_accelerator_supported_profiles.size(); | |
40 - ++ii) { | |
41 - EnumerateVideoEncodeAcceleratorSupportedProfile( | |
42 - enumerator, video_encode_accelerator_supported_profiles[ii]); | |
43 - } | |
44 enumerator->EndAuxAttributes(); | |
45 } | |
46 | |
47 diff --git a/gpu/config/gpu_info.h b/gpu/config/gpu_info.h | |
48 index bdbb205..8f5479b 100644 | |
49 --- a/gpu/config/gpu_info.h | |
50 +++ b/gpu/config/gpu_info.h | |
51 @@ -18,7 +18,6 @@ | |
52 #include "gpu/config/dx_diag_node.h" | |
53 #include "gpu/config/gpu_performance_stats.h" | |
54 #include "gpu/gpu_export.h" | |
55 -#include "media/video/video_encode_accelerator.h" | |
56 | |
57 namespace gpu { | |
58 | |
59 @@ -178,8 +177,6 @@ struct GPU_EXPORT GPUInfo { | |
60 DxDiagNode dx_diagnostics; | |
61 #endif | |
62 | |
63 - std::vector<media::VideoEncodeAccelerator::SupportedProfile> | |
64 - video_encode_accelerator_supported_profiles; | |
65 // Note: when adding new members, please remember to update EnumerateFields | |
66 // in gpu_info.cc. | |
67 | |
68 diff --git a/gpu/config/gpu_info_collector.cc b/gpu/config/gpu_info_collector.cc | |
69 index 5d25546..78dfe22 100644 | |
70 --- a/gpu/config/gpu_info_collector.cc | |
71 +++ b/gpu/config/gpu_info_collector.cc | |
72 @@ -156,8 +156,6 @@ void MergeGPUInfoGL(GPUInfo* basic_gpu_info, | |
73 basic_gpu_info->direct_rendering = context_gpu_info.direct_rendering; | |
74 basic_gpu_info->context_info_state = context_gpu_info.context_info_state; | |
75 basic_gpu_info->initialization_time = context_gpu_info.initialization_time; | |
76 - basic_gpu_info->video_encode_accelerator_supported_profiles = | |
77 - context_gpu_info.video_encode_accelerator_supported_profiles; | |
78 } | |
79 | |
80 } // namespace gpu | |
81 diff --git a/gpu/config/gpu_info_unittest.cc b/gpu/config/gpu_info_unittest.cc | |
82 index 71d4e5c..48d476f 100644 | |
83 --- a/gpu/config/gpu_info_unittest.cc | |
84 +++ b/gpu/config/gpu_info_unittest.cc | |
85 @@ -32,7 +32,6 @@ TEST(GPUInfoBasicTest, EmptyGPUInfo) { | |
86 #if defined(OS_WIN) | |
87 EXPECT_EQ(gpu_info.dx_diagnostics_info_state, kCollectInfoNone); | |
88 #endif | |
89 - EXPECT_EQ(gpu_info.video_encode_accelerator_supported_profiles.size(), 0u); | |
90 } | |
91 | |
92 } // namespace gpu | |
OLD | NEW |