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

Side by Side Diff: gpu/config/gpu_info.cc

Issue 1463823002: Add DriverBugWorkaroundsInGpuProcessPage to gpu_process_test.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 (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 #include "gpu/config/gpu_info.h" 5 #include "gpu/config/gpu_info.h"
6 6
7 namespace { 7 namespace {
8 8
9 void EnumerateGPUDevice(const gpu::GPUInfo::GPUDevice& device, 9 void EnumerateGPUDevice(const gpu::GPUInfo::GPUDevice& device,
10 gpu::GPUInfo::Enumerator* enumerator) { 10 gpu::GPUInfo::Enumerator* enumerator) {
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 std::string gl_ws_vendor; 101 std::string gl_ws_vendor;
102 std::string gl_ws_version; 102 std::string gl_ws_version;
103 std::string gl_ws_extensions; 103 std::string gl_ws_extensions;
104 uint32 gl_reset_notification_strategy; 104 uint32 gl_reset_notification_strategy;
105 bool can_lose_context; 105 bool can_lose_context;
106 bool software_rendering; 106 bool software_rendering;
107 bool direct_rendering; 107 bool direct_rendering;
108 bool sandboxed; 108 bool sandboxed;
109 int process_crash_count; 109 int process_crash_count;
110 bool in_process_gpu; 110 bool in_process_gpu;
111 std::set<int> gpu_driver_bugs_workarounds;
111 CollectInfoResult basic_info_state; 112 CollectInfoResult basic_info_state;
112 CollectInfoResult context_info_state; 113 CollectInfoResult context_info_state;
113 #if defined(OS_WIN) 114 #if defined(OS_WIN)
114 CollectInfoResult dx_diagnostics_info_state; 115 CollectInfoResult dx_diagnostics_info_state;
115 DxDiagNode dx_diagnostics; 116 DxDiagNode dx_diagnostics;
116 #endif 117 #endif
117 VideoDecodeAcceleratorSupportedProfiles 118 VideoDecodeAcceleratorSupportedProfiles
118 video_decode_accelerator_supported_profiles; 119 video_decode_accelerator_supported_profiles;
119 VideoEncodeAcceleratorSupportedProfiles 120 VideoEncodeAcceleratorSupportedProfiles
120 video_encode_accelerator_supported_profiles; 121 video_encode_accelerator_supported_profiles;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 for (const auto& profile : video_decode_accelerator_supported_profiles) 179 for (const auto& profile : video_decode_accelerator_supported_profiles)
179 EnumerateVideoDecodeAcceleratorSupportedProfile(profile, enumerator); 180 EnumerateVideoDecodeAcceleratorSupportedProfile(profile, enumerator);
180 for (const auto& profile : video_encode_accelerator_supported_profiles) 181 for (const auto& profile : video_encode_accelerator_supported_profiles)
181 EnumerateVideoEncodeAcceleratorSupportedProfile(profile, enumerator); 182 EnumerateVideoEncodeAcceleratorSupportedProfile(profile, enumerator);
182 enumerator->AddBool("jpegDecodeAcceleratorSupported", 183 enumerator->AddBool("jpegDecodeAcceleratorSupported",
183 jpeg_decode_accelerator_supported); 184 jpeg_decode_accelerator_supported);
184 enumerator->EndAuxAttributes(); 185 enumerator->EndAuxAttributes();
185 } 186 }
186 187
187 } // namespace gpu 188 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698