I was playing about with writing to the framebuffer in C to allow me to draw a waterfall from rtlsdr.
Basically it draws a line across the screen but a useful starting point!
Hopefully someone else will find this useful, it's just what i was looking for initially but never found anything useful on google!
simple_framebuffer_write.c