1
0
Fork 0
forked from wry/wry

config: allow disabling explicit-sync

This commit is contained in:
Julian Orth 2024-03-26 15:24:07 +01:00
parent aaf73d6fdc
commit aa296a6aea
12 changed files with 58 additions and 2 deletions

View file

@ -498,6 +498,10 @@
"type": "boolean",
"description": "Configured whether the compositor attempts direct scanout.\n"
},
"explicit-sync": {
"type": "boolean",
"description": "Configures whether the compositor supports explicit sync.\n\nThis cannot be changed after the compositor has started.\n\nThe default is `true`.\n"
},
"render-device": {
"description": "Selects the device to use for rendering in a system with multiple GPUs.\n\nThe first device that matches will be used.\n\n- Example:\n\n ```toml\n render-device.name = \"dedicated\"\n\n [[drm-devices]]\n name = \"dedicated\"\n match = { pci-vendor = 0x1002, pci-model = 0x73ff }\n ```\n",
"$ref": "#/$defs/DrmDeviceMatch"

View file

@ -887,6 +887,16 @@ The table has the following fields:
The value of this field should be a boolean.
- `explicit-sync` (optional):
Configures whether the compositor supports explicit sync.
This cannot be changed after the compositor has started.
The default is `true`.
The value of this field should be a boolean.
- `render-device` (optional):
Selects the device to use for rendering in a system with multiple GPUs.

View file

@ -1875,6 +1875,15 @@ Config:
required: false
description: |
Configured whether the compositor attempts direct scanout.
explicit-sync:
kind: boolean
required: false
description: |
Configures whether the compositor supports explicit sync.
This cannot be changed after the compositor has started.
The default is `true`.
render-device:
ref: DrmDeviceMatch
required: false