Chromium Code Reviews| Index: content/browser/gpu/gpu_data_manager_impl.cc |
| =================================================================== |
| --- content/browser/gpu/gpu_data_manager_impl.cc (revision 151736) |
| +++ content/browser/gpu/gpu_data_manager_impl.cc (working copy) |
| @@ -184,6 +184,9 @@ |
| if ((flags & content::GPU_FEATURE_TYPE_ACCELERATED_2D_CANVAS) && |
| !command_line->HasSwitch(switches::kDisableAccelerated2dCanvas)) |
| command_line->AppendSwitch(switches::kDisableAccelerated2dCanvas); |
| + if ((flags & content::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE) && |
| + !command_line->HasSwitch(switches::kDisableAcceleratedVideoDecode)) |
| + command_line->AppendSwitch(switches::kDisableAcceleratedVideoDecode); |
|
Ami GONE FROM CHROMIUM
2012/08/17 00:19:17
What is this doing?
Zhenyao Mo
2012/08/17 00:25:09
This passes the switch to renderer process to disa
Ami GONE FROM CHROMIUM
2012/08/17 04:15:52
FWIW I was confused by the fact that GpuFeatureTyp
|
| } |
| void GpuDataManagerImpl::AppendGpuCommandLine( |