Hacker News new | past | comments | ask | show | jobs | submit login

> Our window manager, snakewm, is based on pygame/pygame_gui. We do not use X11; snakewm draws directly to /dev/fb0.

Whole window system written in Python, That’s hardcore!




Well, sort of. Pygame itself is more C than Python.

Everything they build on top of that should be able to be pure Python, though, which is pretty nifty.


I didn't know it was possible to obtain a hardware-accelerated OpenGL context without using GLX. How does it work without X11? Can I draw to the screen without any dependencies?


Probably the same way Wayland or the original Raspberry Pi drivers do it, using EGL.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: