diff options
author | Axel Davy <[email protected]> | 2015-05-01 01:30:10 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2015-05-11 19:31:44 +0200 |
commit | fb0960a14bd6980aa63deef45ec3cf1ab99bcf0a (patch) | |
tree | 68aded32d70406dce9ff399b914f73e7f69ca32e /src/egl/drivers/dri2/egl_dri2.h | |
parent | c4ff6d00cd7dde4646ff96733f68d3ddbf540c2c (diff) |
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 <[email protected]>
Reviewed-by: Daniel Stone <[email protected]>
Signed-off-by: Axel Davy <[email protected]>
v2: do not check for __DRI_IMAGE_DRIVER, but instead
do not advertise __DRI_DRI2_LOADER when on a render-node.
Diffstat (limited to 'src/egl/drivers/dri2/egl_dri2.h')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h index 371fb4aee4a..3ee3f806db8 100644 --- a/src/egl/drivers/dri2/egl_dri2.h +++ b/src/egl/drivers/dri2/egl_dri2.h @@ -200,6 +200,7 @@ struct dri2_egl_display int authenticated; int formats; uint32_t capabilities; + int is_render_node; #endif }; |