https://bugs.freedesktop.org/show_bug.cgi?id=54971
--- Comment #2 from Emil Velikov <emil.l.veli...@gmail.com> ---
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?
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev