summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/x11
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-09-29 04:41:47 +0200
committerSven Gothel <[email protected]>2012-09-29 04:41:47 +0200
commit43891be36e8485353ac74f329fd2f7438303a846 (patch)
treebd85f1bfdf2b31f21e03a5f052371aa25c540111 /src/jogl/classes/jogamp/opengl/x11
parente0904a65bcf87ea0fd41d76cc1af7ad29daaefb5 (diff)
Cache XineramaIsEnabled(dpy) per display-name in X11Util minimize triggering ATI driver bug of sporadic XCB errors and to reduce server roundtrips.
Enhances commit: e4176f4e76f519b3599ad557210def3d35266e7b X11Util.XineramaIsEnabled(dpy) hash maps the Xinerama enable result to the dpy-name. Minimize triggering ATI driver bug of sporadic XCB errors: Our multithreading code somehow triggers an _XReply in XQueryExtension beside other functions, which fails the XCB assertion: ../../src/xcb_io.c:178: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed. This only appears w/ ATI driver and is probably due to a race condition in the driver (?). This change also reduces server roundtrips / querying time for the cost of 1 hash-map.
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/x11')
0 files changed, 0 insertions, 0 deletions