Skip to content

c/client: Ensure the correct GL context is current

Christoph Haag requested to merge haagch/monado:glxcontext into main

Attempts to address #145 (closed)

Fixes conformance_cli multithreading -G OpenGL on nvidia.

  • only xlib implement right now, egl TBD
  • commit aux/ogl: Add GLX API wrapper doesn't use #include "glad/glx.h" because those would conflict with our own typedefs. Is this too hacky?
  • run openxr clients with XRT_LOG=trace to print when opengl contexts are switched

I think this MR could go in as is but still RFC for the approach.

Merge request reports