Advertisement

How to detect if OpenGL rendering in Software

Started by November 03, 2006 01:43 AM
1 comment, last by Jon Alma 18 years ago
I'm currently creating some logging code to record simple things like the frame rate and so on. One thing I'd like to do is keep a record of whether OpenGL is rendering using the graphics card or is (for whatever reason) rendering in software. Is there any way of detecting this? Thanks for your help, Jon.
Jon.
_______________________________________
Legends from the Lost Realms
IIRC about the best you can do is log the values returned from glGet with GL_VENDOR and GL_RENDERER. If you're on windows and end up in software mode these tend to read something like "microsoft" and "GDI Generic" respectivly.

Of course this doesn't help you if a particular implementation is doing a software fallback for just a subsection of the entire pipeline.
Advertisement
Quote: Original post by OrangyTang
IIRC about the best you can do is log the values returned from glGet with GL_VENDOR and GL_RENDERER. If you're on windows and end up in software mode these tend to read something like "microsoft" and "GDI Generic" respectivly.

Of course this doesn't help you if a particular implementation is doing a software fallback for just a subsection of the entire pipeline.

Many thanks - exactly the info I was after.
Jon.
_______________________________________
Legends from the Lost Realms

This topic is closed to new replies.

Advertisement