Hacker News new | ask | show | jobs
by matheusmoreira 1699 days ago
> EGL and friends are basically just the glue layer to get things to the screen. (Well, to the window manager)"

EGL can also be used directly with kernel mode setting and buffer management. No window managers necessary!

A simple example I found:

https://github.com/siro20/XlessEGL/blob/master/eglkms.c

1 comments

SDL2 actually supports KMS so a number of games can run without a display server without any modifications.
That's freaking awesome. I had no idea, is this a recent addition? I've read SDL source code some years ago and I remember seeing a X11 implementation only.