Getting all possible glGetString()

A certain graphics card is driving me crazy, and I need to get more information about it to solve my problems. glGetString() seems like a good way to do this, but I don’t know any of the constants I need to pass to the function. Is there some way I could get openGL to just print everything and I can sift through all the info on my own? Or is there some list of all valid constants published somewhere?

glGetString()

Not a member funciton of GL. Doesn’t appear in the OpenGL spec either (at least not as of 1.2).

glGetString is definitely a member of the GL class. You can pass in constants like GL_VENDOR, GL_VERSION, and GL_RENDERER. See the source code for demos.gears.Gears in the jogl-demos workspace.

Is there a way to query additional information? For example, if GL_ARB_multitexture is supported, can I discover the number of multitextures that can be used?

Please check the specifications. For example,


int[] res = new int[1];
gl.glGetIntegerv(GL.GL_MAX_TEXTURE_UNITS, res, 0);
// res[0] contains the max texture units