diff options
author | Frank Binns <[email protected]> | 2016-06-17 18:41:20 +0100 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-08-31 15:09:12 +0200 |
commit | 4c28c916ef229e94bd46fd1703e6b535e03e7e64 (patch) | |
tree | f07a6ffd1945fa4dbc78003517f9f5d3d0d4797e /doxygen/i965.doxy | |
parent | 55e417222f774b2a714313391c8f90982e7a7b4f (diff) |
egl/x11_dri3: disable WL_bind_wayland_display for devices without render nodes
Up until now, DRI3 was only used for devices that have render nodes, unless
overridden via an environment variable, with it falling back to DRI2 otherwise.
This limitation was there in order to support WL_bind_wayland_display as it
requires client opened device node fds to be authenticated, which isn't possible
when using DRI3. This is an unfortunate compromise as DRI3 provides security
benefits over DRI2.
Instead, allow DRI3 to be used for devices without render nodes but don't
advertise WL_bind_wayland_display in this case. Applications that need this
extension can still be run by disabling DRI3 support via the LIBGL_DRI3_DISABLE
environment variable.
Signed-off-by: Frank Binns <[email protected]>
Reviewed-by: Axel Davy <[email protected]>
Diffstat (limited to 'doxygen/i965.doxy')
0 files changed, 0 insertions, 0 deletions