News for hackers. Stuff that matters.
Re:Show HN: Skia-canvas, a browserless implementation of the... by dhritzkiv on Thursday September 03, 2020 @03:38PM (#24367902)
There's headless-gl (https://github.com/stackgl/headless-gl). Note: I'm a maintainer
Re:Show HN: Skia-canvas, a browserless implementation of the... by kimown on Thursday September 03, 2020 @10:58PM (#24371293)
But headless-gl need a DISPLAY, egl api provided by angle is not headless completely like Nvidia. https://developer.nvidia.com/blog/egl-eye-opengl-visualizati...
Re:Show HN: Skia-canvas, a browserless implementation of the... by dhritzkiv on Friday September 04, 2020 @12:00AM (#24371593)
Thanks 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)

Re:Show HN: Skia-canvas, a browserless implementation of the... by kimown on Friday September 04, 2020 @03:08AM (#24372485)
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.

Re:Show HN: Skia-canvas, a browserless implementation of the... by modeless on Thursday September 03, 2020 @05:26PM (#24369075)
This looks great! You actually pass conformance? Any plans for WebGL 2, or SwiftShader?
Re:Show HN: Skia-canvas, a browserless implementation of the... by dhritzkiv on Thursday September 03, 2020 @09:33PM (#24370900)
Yes! 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....