Chromium Code Reviews| Index: content/browser/gpu/gpu_data_manager_impl.cc |
| =================================================================== |
| --- content/browser/gpu/gpu_data_manager_impl.cc (revision 137174) |
| +++ content/browser/gpu/gpu_data_manager_impl.cc (working copy) |
| @@ -217,6 +217,15 @@ |
| command_line->AppendSwitch(switches::kReduceGpuSandbox); |
| command_line->AppendSwitch(switches::kDisableImageTransportSurface); |
| } |
| + // Pass GPU and driver information to GPU process. We try to avoid full GPU |
| + // info collection at GPU process startup, but we need gpu vendor_id, |
| + // device_id, driver_version for crash reporting purpose. |
| + command_line->AppendSwitchASCII(switches::kGpuVendorID, |
|
apatrick_chromium
2012/05/17 18:44:40
I think these need to be added to the list of prop
Zhenyao Mo
2012/05/17 19:58:40
Not really. I didn't add them to browser process'
|
| + base::StringPrintf("0x%04x", gpu_info_.gpu.vendor_id)); |
| + command_line->AppendSwitchASCII(switches::kGpuDeviceID, |
| + base::StringPrintf("0x%04x", gpu_info_.gpu.device_id)); |
| + command_line->AppendSwitchASCII(switches::kGpuDriverVersion, |
| + gpu_info_.driver_version); |
| } |
| } |