glx: implement __DRIbackgroundCallableExtension.isThreadSafe
authorGregory Hainaut <gregory.hainaut@gmail.com>
Mon, 29 May 2017 11:18:26 +0000 (13:18 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 29 May 2017 16:06:49 +0000 (17:06 +0100)
commit63b78c939bcca5a0ec29259e312b986604d617f3
treeb4e639d3a42f594a23aba8ac57eda507b459f5ea
parentfa84f6225b1342dbe564962f639de50c5e9029d3
glx: implement __DRIbackgroundCallableExtension.isThreadSafe

v2:
bump version

v3:
Add code comment
s/IsGlThread/IsThread/ (and variation)

v4:
DRI3 doesn't hit X through GL call so it is always safe

Signed-off-by: Gregory Hainaut <gregory.hainaut@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/glx/dri2_glx.c
src/glx/dri3_glx.c