Lines Matching defs:command_line

9 #include "base/command_line.h"
116 const CommandLine& command_line = *CommandLine::ForCurrentProcess();
154 command_line.HasSwitch(switches::kDisableAccelerated2dCanvas),
155 command_line.HasSwitch(switches::kDisableGpu),
156 command_line.HasSwitch(switches::kDisableExperimentalWebGL), };
240 CommandLine* command_line,
301 !command_line->HasSwitch(switches::kDefaultTileWidth) &&
302 !command_line->HasSwitch(switches::kDefaultTileHeight)) {
305 command_line->AppendSwitchASCII(
307 command_line->AppendSwitchASCII(
401 CommandLine* command_line = CommandLine::ForCurrentProcess();
402 if (command_line->HasSwitch(switches::kDisableGpu))
555 const CommandLine* command_line = CommandLine::ForCurrentProcess();
556 if (command_line->HasSwitch(switches::kSkipGpuDataLoading))
560 if (command_line->GetSwitchValueASCII(
585 if (!command_line->HasSwitch(switches::kIgnoreGpuBlacklist) &&
586 !command_line->HasSwitch(switches::kUseGpuInTests)) {
589 if (!command_line->HasSwitch(switches::kDisableGpuDriverBugWorkarounds)) {
639 CommandLine* command_line) const {
640 DCHECK(command_line);
643 !command_line->HasSwitch(switches::kDisableAcceleratedVideoDecode))
644 command_line->AppendSwitch(switches::kDisableAcceleratedVideoDecode);
647 !command_line->HasSwitch(switches::kDisableWebRtcHWEncoding))
648 command_line->AppendSwitch(switches::kDisableWebRtcHWEncoding);
653 command_line->AppendSwitch(switches::kDisableGpuCompositing);
658 CommandLine* command_line) const {
659 DCHECK(command_line);
667 command_line->AppendSwitch(switches::kDisableD3D11);
669 command_line->AppendSwitchASCII(switches::kUseGL, "swiftshader");
677 command_line->AppendSwitchASCII(
680 command_line->AppendSwitchASCII(switches::kUseGL, use_gl);
683 command_line->AppendSwitchASCII(switches::kSupportsDualGpus, "true");
685 command_line->AppendSwitchASCII(switches::kSupportsDualGpus, "false");
688 command_line->AppendSwitchPath(switches::kSwiftShaderPath,
693 command_line->AppendSwitchASCII(switches::kGpuDriverBugWorkarounds,
698 !command_line->HasSwitch(switches::kDisableAcceleratedVideoDecode)) {
699 command_line->AppendSwitch(switches::kDisableAcceleratedVideoDecode);
703 !command_line->HasSwitch(switches::kDisableWebRtcHWEncoding)) {
704 command_line->AppendSwitch(switches::kDisableWebRtcHWEncoding);
712 command_line->AppendSwitchASCII(switches::kGpuVendorID,
714 command_line->AppendSwitchASCII(switches::kGpuDeviceID,
716 command_line->AppendSwitchASCII(switches::kGpuDriverVendor,
718 command_line->AppendSwitchASCII(switches::kGpuDriverVersion,
723 CommandLine* command_line) const {
724 DCHECK(command_line);
731 if (!command_line->HasSwitch(
733 command_line->AppendSwitch(
942 CommandLine* command_line = CommandLine::ForCurrentProcess();
943 if (command_line->HasSwitch(switches::kDisableGpu))
952 if (command_line->HasSwitch(switches::kDisableDomainBlockingFor3DAPIs)) {