egl/wayland: Add support for render-nodes
authorAxel Davy <axel.davy@ens.fr>
Thu, 30 Apr 2015 23:30:10 +0000 (01:30 +0200)
committerAxel Davy <axel.davy@ens.fr>
Mon, 11 May 2015 17:31:44 +0000 (19:31 +0200)
commitfb0960a14bd6980aa63deef45ec3cf1ab99bcf0a
tree68aded32d70406dce9ff399b914f73e7f69ca32e
parentc4ff6d00cd7dde4646ff96733f68d3ddbf540c2c
egl/wayland: Add support for render-nodes

It is possible the server advertises a render-node.
In that case no authentication is needed,
and Gem names are forbidden.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
v2: do not check for __DRI_IMAGE_DRIVER, but instead
do not advertise __DRI_DRI2_LOADER when on a render-node.
src/egl/drivers/dri2/egl_dri2.h
src/egl/drivers/dri2/platform_wayland.c