From 8970c80520b0fd2b1d3f4376da1f393cea17708a Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 30 Sep 2020 00:49:09 +0900 Subject: [PATCH] docs: command line flags for GPU controls (#25589) --- docs/api/command-line-switches.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/api/command-line-switches.md b/docs/api/command-line-switches.md index e75d722ea544..b5667d95b8ca 100644 --- a/docs/api/command-line-switches.md +++ b/docs/api/command-line-switches.md @@ -198,6 +198,14 @@ logging level for all code in the source files under a `foo/bar` directory. This switch only works when `--enable-logging` is also passed. +### --force_high_performance_gpu + +Force using discrete GPU when there are multiple GPUs available. + +### --force_low_power_gpu + +Force using integrated GPU when there are multiple GPUs available. + ## Node.js Flags Electron supports some of the [CLI flags][node-cli] supported by Node.js.