summaryrefslogtreecommitdiffstats
path: root/src/mesa/Makefile.am
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2019-03-05 15:31:51 -0500
committerDave Airlie <[email protected]>2019-04-09 09:50:24 +1000
commit52426ce4a929f7e1389baf490967fc02357b3f5e (patch)
treeffe79243fcaafba92cefb16091068619de126ae4 /src/mesa/Makefile.am
parent50f3535d1fb7c377b800e80a838dcfcbda4699df (diff)
drisw: Try harder to probe whether MIT-SHM works
XQueryExtension merely tells you whether the extension exists, it doesn't tell you whether you're local enough for it to work. XShmQueryVersion is not enough to discover this either, you need to provoke the server to do actual work, and if it thinks you're remote it will throw BadRequest at you. So send an invalid ShmDetach and use the error code to distinguish local from remote. [airlied: fixed bug not resetting xshm_error to 0 on success, which made later stuff fail completely.] Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Dave Airlie <[email protected]> Signed-off-by: Adam Jackson <[email protected]>
Diffstat (limited to 'src/mesa/Makefile.am')
0 files changed, 0 insertions, 0 deletions