Hello!
I know how to make renderers using hardware acceleration using OpenGL.
Right now I'm creating a super-light 2D game engine in order even really old computers will be able to run it. I want to create my engine automatically detect if a computer supports hardware acceleration and use the appropriate renderer, if not it will use a software renderer.
I already have the hardware acceleration renderer and already know how to detect and choose which renderer to use, the problem is that I don't know how to draw graphics without using OpenGL. Probably is hard to create your own API that will implement a virtual graphics card and use it to draw graphics. Is there any software that does only that? Not things like SDL, I want something that only lets you do some basics graphics drawing without the need for hardware acceleration.
The renderer needs to be able to draw rectangles with textures and nothing more.