Re:Computer Graphics from Scratch (2017)
by corysama on Friday April 05, 2019 @10:44PM
(#19588848)
Here's the sample code I pass around for doing that. It's a minimal example using SDL. AFAICT, it's pretty much the fastest way to get graphics from the CPU RAM to the screen.
https://gist.github.com/CoryBloyd/6725bb78323bb1157ff8d4175d...