egl: implement __DRIbackgroundCallableExtension.isThreadSafe
authorGregory Hainaut <gregory.hainaut@gmail.com>
Mon, 29 May 2017 11:18:27 +0000 (13:18 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 29 May 2017 16:06:57 +0000 (17:06 +0100)
commit3fde8db53a6296ad8f635843f58717ebd9a36e85
treeddd7bfcc4f3353ffe2d8ac6c0532904ae01df882
parent63b78c939bcca5a0ec29259e312b986604d617f3
egl: implement __DRIbackgroundCallableExtension.isThreadSafe

v2:
bump version

v3:
Add code comment
s/IsGlThread/IsThread/ (and variation)
Include X11/Xlibint.h protected by ifdef

v5: based on Daniel feedback
Move non X11 code outside of X11 define
Always return true for Wayland

Signed-off-by: Gregory Hainaut <gregory.hainaut@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/egl_dri2.c