Lines Matching refs:switches
92 if (command_line.HasSwitch(switches::kGpuStartupDialog)) {
98 bool in_browser_process = command_line.HasSwitch(switches::kSingleProcess) ||
99 command_line.HasSwitch(switches::kInProcessGPU);
116 if (command_line.HasSwitch(switches::kSupportsDualGpus) &&
117 command_line.HasSwitch(switches::kGpuSwitching)) {
119 switches::kGpuSwitching);
120 if (option == switches::kGpuSwitchingOptionNameForceDiscrete)
122 else if (option == switches::kGpuSwitchingOptionNameForceIntegrated)
142 if (command_line.HasSwitch(switches::kUseGL) &&
143 command_line.GetSwitchValueASCII(switches::kUseGL) ==
158 !command_line.HasSwitch(switches::kDisableGpuWatchdog) &&
186 // commandline switches.
187 DCHECK(command_line.HasSwitch(switches::kGpuVendorID) &&
188 command_line.HasSwitch(switches::kGpuDeviceID) &&
189 command_line.HasSwitch(switches::kGpuDriverVersion));
191 command_line.GetSwitchValueASCII(switches::kGpuVendorID),
195 command_line.GetSwitchValueASCII(switches::kGpuDeviceID),
199 command_line.GetSwitchValueASCII(switches::kGpuDriverVendor);
201 command_line.GetSwitchValueASCII(switches::kGpuDriverVersion);
373 if (!command_line.HasSwitch(switches::kDisableAcceleratedVideoDecode)) {