Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to tell whether an OpenGL context is hardware accelerated?

I know that if the openGl implementation does not find a suitable driver it happily falls back and render everything in software mode. It's good for graphics applications but it is not acceptable for computer games.

I know many users using Windows XP and if the user does not install the video card driver for his GPU then the OpenGL won't be hardware accelerated (while DirectX is or if not it will throw errors).

Is there a better (and possibly cross platform) way to determine if OpenGL uses the hardware acceleration than measuring the FPS and if it's too low notify the user?

I know that games like Quake3 can find it out somehow...

like image 231
Calmarius Avatar asked Jul 13 '10 08:07

Calmarius


People also ask

Is OpenGL hardware accelerated?

opengl hardware uses a hardware-accelerated version of OpenGL to render subsequent graphics. If your graphics hardware does not support hardware-accelerated OpenGL, then MATLAB uses a software version instead.

How do I know if I have hardware acceleration?

The easiest way to know if you have hardware acceleration is through Chrome browser. Type in chrome://gpu to your address bar. If you see Hardware-accelerated next to most of the options here, you already have it enabled.

How do I know if my GPU has hardware acceleration?

You can click the Nvidia or the Intel icon on the bottom right to see if it supports hardware acceleration. And please make sure you have the latest graphics card drivers installed to avoid issues. To turn on/off hardware acceleration, please click the "Hardware acceleration" button then check or uncheck the option.


1 Answers

See also glGetString and 5.040 How do I know my program is using hardware acceleration on a Wintel card?

like image 152
Stringer Avatar answered Sep 28 '22 05:09

Stringer