Various methods to detect opengl?

BlitzMax Forums/BlitzMax OpenGL Programming/Various methods to detect opengl?

I really don't think that OpenGL has any intention of reporting to you that it is or it not hardware accelerated. They make a point of being cross-platform and hardware/implementation independent. OpenGL itself probably doesn't know how its driver is implemented. It is unaware of whether it runs on hardware or software, or should be.
It is the o/s or the graphics card's driver that you probably have to talk to to find out if there is hardware acceleration active. OpenGL is supposed to be independent of its implementation, that why it is an interface to the graphics card and not the graphics card itself.

If you use SetGraphicsDriver() GLGraphicsDriver() you should know that you at least have OpenGL .. but no idea on the hardware support. DrawPixmap is *about* the same speed on a software mode as it for DrawImage because they both keep the backbuffer in main memory (possibly). That's about all I can think of.

Maybe someone else has some ideas?