new OS and OpenGL


I am developping my own OS and I made a VBE3 video driver that works fine with every video card that supports it.

Now, I would like to make it possible to use OpenGL.

So, is there a way to make a hardware independant openGL driver (using an entry point to be find somewhere) like my VBE3 driver ?


If you want to make a driver that uses hardware acceleration, then no, that’s not possible. For some graphic cards, there are open source drivers. Have a look at Mesa and the DRM project. But there is nothing that works independant of the hardware.

Of course you can write a software implementation that sits on top of your VBE3 driver. Or just use Mesa.

Why not make your driver model compatible with the Windows driver model in some way, so you can make use of Windows drivers?