glvis icon indicating copy to clipboard operation
glvis copied to clipboard

CGL headless visualization

Open najlkin opened this issue 7 months ago • 5 comments

This is an addition to #336 with CGL (Core OpenGL) backend instead of EGL for MacOS 🍎 .

✔️ testing:

  • [x] CI build
  • [x] manual build
  • [x] headless functionality

najlkin avatar May 28 '25 17:05 najlkin

@camierjs , it seems I have accidentally uncovered something here by the error check in initGLEW(). Would you have time to check where it comes from?

najlkin avatar Oct 07 '25 01:10 najlkin

Hmm, it is maybe something Mac specific with that GLEW_KHR_debug, because it is off for me, but I am not getting any error in the init with glEnable(GL_DEBUG_OUTPUT) 🤔 .

najlkin avatar Oct 07 '25 17:10 najlkin

A question to everyone, do we want to make compilation with CGL default on Mac? 🤔 There is no additional dependency, so there is no need to keep it optional (unlike EGL, which is usually packed with OpenGL on Linux, but there is a slight chance it is not).

najlkin avatar Oct 07 '25 17:10 najlkin

There is no additional dependency, so there is no need to keep it optional

How about having an option for it, but have it to be YES by default?

tzanio avatar Oct 07 '25 18:10 tzanio

Thanks @najlkin!

Lets review this 👍

tzanio avatar Oct 07 '25 20:10 tzanio