Headless Opengl, cross platform

I’m working on adding 3D graphics to a cuda-based video streaming application. I have it working fine using GLFW and Glew with a framebuffer object, but OpenGL still requires a window to get the context, even though I don’t use it.

As I understand it, I have two choices: Use EGL or switch to Vulkan. I’d like to just replace GLFW with EGL, but I am having a hard time finding implementations. I could possibly switch to Vulkan, but I am having a hard time finding how to do cuda/Vulkan interop.

My big question, are there cross-platform EGL implentations to do headless rendering of?

I need it to run on Windows 10, Linux, and a cloud such as AWS. Nvidia specific is ok.


Paul Brewster