3 ms·
There's headless-gl (https://github.com/stackgl/headless-gl https://github.com/stackgl/headless-gl). Note: I'm a maintainer
by dhritzkiv 6y ago
There's headless-gl (https://github.com/stackgl/headless-gl https://github.com/stackgl/headless-gl). Note: I'm a maintainer
- modeless 6y agoThis looks great! You actually pass conformance? Any plans for WebGL 2, or SwiftShader?
- dhritzkiv 6y agoYes! We pass conformance tests[1] (for the core of WebGL 1 + the extensions that we support). That said, the Angle version we use is decently old. If we updated it, we would be able to implement WebGL 2 (OpenGL ES 3.0) support. Unfortunately, it's no easy feat to update and integrate the latest Angle, and the project is more-or-less in maintenance mode until someone else comes to take on the task (the project's been revived several times before, so not totally unimaginable!) [1] https://www.khronos.org/registry/webgl/conformance-suites/1.0.3/webgl-conformance-tests.html https://www.khronos.org/registry/webgl/conformance-suites/1....
- kimown 6y agoBut headless-gl need a DISPLAY, egl api provided by angle is not headless completely like Nvidia. https://developer.nvidia.com/blog/egl-eye-opengl-visualization-without-x-server/ https://developer.nvidia.com/blog/egl-eye-opengl-visualizati...
- dhritzkiv 6y agoThanks for the link! I haven't read that before. And true - on Linux a X11 frame buffer DISPLAY is required, but I would still consider this to be headless. On other platforms, it should be truly headless. (I could be sorely mistaken)
- kimown 6y agohttps://bugs.chromium.org/p/chromium/issues/detail?id=1034840 https://bugs.chromium.org/p/chromium/issues/detail?id=103484... See this issue, Angle can support headless completely with vulkan backend, but progress is BlockedOn angleproject.