N.B. command line only It seems link that the ability to fully manipulate the frame buffer is anachronistic and limited to Raspbian on the RPi and possibly other command line only linux deployments.
The general purpose solution seems to be to use libdrm
(/dev/dri/card0) to draw low level graphics to the screen.