🎥 Make videos programmatically with React
Added setChromiumOpenGlRenderer() docs
Patric Salvisberg4302e9d5433c
diff --git a/packages/docs/docs/config.md b/packages/docs/docs/config.mdindex 9516f34810..2aa28be2d0 100644--- a/packages/docs/docs/config.md+++ b/packages/docs/docs/config.md@@ -5,6 +5,8 @@ title: Configuration filecrumb: "remotion.config.ts"---+import {AngleChangelog} from '../components/AngleChangelog';+To configure Remotion, create a `remotion.config.ts` file in the root of your Remotion project.These options will apply to CLI commands such as `npx remotion studio` and `npx remotion render`.@@ -262,6 +264,32 @@ Config.setChromiumHeadlessMode(false);The [command line flag](/docs/cli/render#--disable-headless) `--disable-headless` will take precedence over this option.+## setChromiumOpenGlRenderer++Select the OpenGL renderer backend for Chromium.++```tsx twoslash title="remotion.config.ts"+import { Config } from "@remotion/cli/config";++// ---cut---++Config.setChromiumOpenGlRenderer("angle");+```++<AngleChangelog/>+Accepted values:++- `"angle"`,+- `"egl"`,+- `"swiftshader"`+- `"swangle"`+- `null` - Chromium's default++**Default for local rendering**: `null`.+**Default for Lambda rendering**: `"swangle"`.++The [command line flag](/docs/cli/render#--gl) `--gl` will take precedence over this option.+## setConcurrency()Sets how many Puppeteer instances will work on rendering your video in parallel.