mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-28 01:41:07 -05:00
WIP Introduce WLR_GBM_EXPLICIT_UPGRADE
When the `WLR_GBM_EXPLICIT_UPGRADE` flag is set to 1, the GBM allocator will attempt to "upgrade" buffers allocated with implicit modifiers to be managed with explicit modifiers. This is useful to enable the conservative modifier fallback for the Vulkan renderer on drivers/hardware that fully support implicit and explicit modifiers, including being able to report the modifier of an implicitly allocated BO.
This commit is contained in:
parent
811765ffa0
commit
5a786d96d0
4 changed files with 21 additions and 1 deletions
|
|
@ -18,6 +18,9 @@ wlroots reads these environment variables
|
|||
and Vulkan
|
||||
* *WLR_EGL_NO_MODIFIERS*: set to 1 to disable format modifiers in EGL, this can
|
||||
be used to understand and work around driver bugs.
|
||||
* *WLR_GBM_EXPLICIT_UPGRADE*: set to 1 to attempt to "upgrade" buffers
|
||||
allocated with implicit modifiers to explicit modifiers. May help when a
|
||||
conservative modifier is required, but may not work with all drivers.
|
||||
|
||||
## DRM backend
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue