<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - __glXInitialize can initialize same display multiple times"
href="https://bugs.freedesktop.org/show_bug.cgi?id=54971#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - __glXInitialize can initialize same display multiple times"
href="https://bugs.freedesktop.org/show_bug.cgi?id=54971">bug 54971</a>
from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
<pre>Mostly food for thought if anyone wants to pursue this:
- Call XOpenDisplay once, as mentioned already.
- Introduce an X API to compare two Display(s) - unless there's one already.
- Refcount the Display - implies atomics/locking which is fine since MT users
should call XInitThreads, which populates the Lock/Unlock callbacks.
- Worth checking how the Nvidia binary driver handles this?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>