egl/wayland: avoid unnecessary roundtrip when authenticated
authorSimon Ser <contact@emersion.fr>
Fri, 19 Mar 2021 08:17:44 +0000 (09:17 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 19 Mar 2021 14:45:33 +0000 (14:45 +0000)
commita6cd30333cf875c3bd374ebeb8c7bdc4cf115a62
treeb1163e26d65e970a51c6dc40c996191eb2ec2990
parentb416ae2023efc96be894355c1081d0113ca89dbb
egl/wayland: avoid unnecessary roundtrip when authenticated

When the compositor advertises a render node, we don't need to
perform DRM authentication. Skip the unnecessary roundtrip in this
case.

Signed-off-by: Simon Ser <contact@emersion.fr>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9704>
src/egl/drivers/dri2/platform_wayland.c