Y
Hacker News
new
|
ask
|
show
|
jobs
by
corysama
2638 days ago
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...