diff options
author | Sven Gothel <[email protected]> | 2012-09-29 04:41:47 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-09-29 04:41:47 +0200 |
commit | 43891be36e8485353ac74f329fd2f7438303a846 (patch) | |
tree | bd85f1bfdf2b31f21e03a5f052371aa25c540111 /make/scripts | |
parent | e0904a65bcf87ea0fd41d76cc1af7ad29daaefb5 (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 'make/scripts')
-rwxr-xr-x | make/scripts/tests.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/make/scripts/tests.sh b/make/scripts/tests.sh index f3a71d288..345e23ae7 100755 --- a/make/scripts/tests.sh +++ b/make/scripts/tests.sh @@ -137,7 +137,6 @@ function jrun() { #D_ARGS="-Dnativewindow.debug=all" #D_ARGS="-Djogl.debug.GLCanvas" #D_ARGS="-Djogl.debug.GLContext -Dnativewindow.debug.X11Util.XSync" - D_ARGS="-Djogl.debug.GLContext -Dnativewindow.debug.X11Util.XSync" #D_ARGS="-Dnativewindow.debug.X11Util.XSync" #D_ARGS="-Dnativewindow.debug.ToolkitLock" #D_ARGS="-Djogl.debug.graph.curve -Djogl.debug.GLSLCode -Djogl.debug.TraceGL" |