News for hackers. Stuff that matters.
Re:Programming the Linux Framebuffer by megous on Wednesday January 31, 2018 @05:33PM (#16278152)
My somewhat equivalent code for working with double-buffered version of display code using DRM is about 200 lines of C. But that includes some abstraction and a lot of error checking/logging.

I'm not sure why you'd need to replicate anything complicated like wayland. You can use DRM API just like you'd use /dev/fb0, it just has more options/features.

As for cairo, obviously it's a heavier solution, but also more featureful, optimized and output neutral.

Re:Programming the Linux Framebuffer by zokier on Wednesday January 31, 2018 @06:30PM (#16278534)
I guess the main question is can you simply overlay stuff on top of Linux console (presumably fbcon) with DRM? That is kinda the key thing here, and the examples I've seen have always just done full-screen stuff.
Re:Programming the Linux Framebuffer by jwilk on Wednesday January 31, 2018 @06:36PM (#16278572)
Show us the code. :)