3 ms·
This is a similar tutorial in C. http://betteros.org/tut/graphics1.php#fbdev http://betteros.org/tut/graphics1.php#fbdev For a few months I've been kicking ar
by oldsklgdfth 6y ago
This is a similar tutorial in C.
http://betteros.org/tut/graphics1.php#fbdev http://betteros.org/tut/graphics1.php#fbdev
For a few months I've been kicking around the idea of making a mario clone using this. You boot the machine and you just get the game.
EDIT: for 2D graphics, you can blit sprites in with the CPU. GPUs are mainly useful for 3D graphics, physics and raytracing. Also, I made a mario clone in Unity and Unity felt like overkill.
- zozbot234 6y ago> GPUs are mainly useful for 3D graphics, physics and raytracing. GPU's are quite usable as sprite engines. A Wayland compositor is essentially blitting client-controlled sprites as "surfaces", and the final render is pixel perfect (other than perhaps during animations). There's no reason whatsoever to use software rendering if hardware acceleration is available.
- justin66 6y ago> There's no reason whatsoever to use software rendering if hardware acceleration is available. The really obvious one is that you might like to have a program that will work with or without hardware acceleration present.