Login  Register

How to skip GDI renderer

Posted by gouessej on Jan 22, 2013; 2:23pm
URL: https://forum.jogamp.org/How-to-skip-GDI-renderer-tp4027977.html

Hi

I use the following example I posted on Wikipedia:
http://en.wikipedia.org/wiki/Java_OpenGL#Code_example

When I replace the AWT GLCanvas by a GLJPanel, the Nvidia driver is used under Windows but if I use the AWT GLCanvas, it uses "GDI renderer". When I use GLProfile.getMaxFixedFunc(true) or GLProfile.getDefault(), I get the same result. I try to use several flags of GLCapabilities but I don't succeed in skipping the GDI renderer. How can I do that? Shouldn't GLProfile.getMaxFixedFunc(true) allow me to favor hardware implementation? Is it a bug of JOGL or should I override DefaultGLCapabilitiesChooser?
Julien Gouesse | Personal blog | Website