diff options
author | Simon Ser <contact@emersion.fr> | 2021-02-23 11:41:47 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-03-27 11:23:32 +0100 |
commit | b89bcffea4fccdf4727f65b58576ba05903daa75 (patch) | |
tree | f4a1d34466f41fc5e1ba4a8227b3c1de127b9e3d /include/backend/backend.h | |
parent | 741da702bcc9a40f6c471560b86e20303f981133 (diff) |
render/egl, backend/wayland: add workaround for split render/display setups
Split render/display setups have two separate devices: one display-only
with a primary node, and one render-only with a render node. However
in these cases the EGL implementation and the Wayland compositor will
advertise the display device instead of the render device [1]. The EGL
implementation will magically open the render device when the display
device is passed in.
So just pass the display device as if it were a render device. Maybe in
the future Mesa will advertise the render device instead and we'll be
able to remove this workaround.
[1]: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4178
Diffstat (limited to 'include/backend/backend.h')
0 files changed, 0 insertions, 0 deletions