Is there any modules out there that will make or display information about OpenGL in a way dxdiag.exe would display information about directX and the gpu?
Google didn’t come up with much except debugging stuff.
Is there any modules out there that will make or display information about OpenGL in a way dxdiag.exe would display information about directX and the gpu?
Google didn’t come up with much except debugging stuff.
That helped a lot getting the extensions, thanks.
I came up with this
Display.create();
AL.create();
System.out.println("OpenGL Version: " + GL11.glGetString(GL11.GL_VERSION));
System.out.println("GFX Card: " + GL11.glGetString(GL11.GL_RENDERER));
System.out.println("GFX Vendor:" + GL11.glGetString(GL11.GL_VENDOR));
System.out.println("Shader Version: " + GL11.glGetString(GL20.GL_SHADING_LANGUAGE_VERSION));
System.out.println("Dumping OpenGL Extensions...");
for (int i=0; i<GL11.glGetInteger(GL30.GL_NUM_EXTENSIONS); i++)
System.out.println(GL30.glGetStringi(GL11.GL_EXTENSIONS, i));
System.out.println("End Dumping OpenGL Extensions...");
System.out.println("OpenAL Version: " + AL10.alGetString(AL10.AL_VERSION));
System.out.println("Audio Card: " + AL10.alGetString(AL10.AL_RENDERER));
System.out.println("Audio Vendor: " + AL10.alGetString(AL10.AL_VENDOR));
System.out.println("Dumping OpenAL Extensions...");
System.out.println(AL10.alGetString(AL10.AL_EXTENSIONS).replace(' ', '\n'));
System.out.println("End Dumping OpenAL Extensions...");