config: allow disabling explicit-sync
This commit is contained in:
parent
aaf73d6fdc
commit
aa296a6aea
12 changed files with 58 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue