Querying OpenGL about hardware limitations

When using the SDK, if I use a command like glGetIntegerv to find out something like the maximum texture image units, is the value I’m getting back the value that pertains to the video card on my PC, or does it return the value of a particular PowerVR graphics chip?

Dear Legion,

I assume your are using PVRVFrame (PVR OGLES Simulator) and the answer is yes, it should be returning the Max. Texture Image unit in the current Simulate Platform, not your desktop. By default the Simulated platform is SGX and the Maximum Texture Unit for that platform is 8 (actually that it not its real maximum but that is what glGetIntergerv is going to return).

Any further question do not hesitate to make contact again.

Regards,

DavidG


Thanks!