LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: flekoun on February 01, 2010, 08:51:55

Title: Force software acceleration
Post by: flekoun on February 01, 2010, 08:51:55
Hello,
is there any way how to FORCE lwjgl to use software acceleration instead of hardware? I know there is a paramterer -Dorg.lwjgl.opengl.Display.allowSoftwareOpenGL=true but it wont force lwjgl to use software acceleration but only allow to use software mode if hardware is not supported. Can anyone help pls?
Title: Re: Force software acceleration
Post by: Rene on February 01, 2010, 12:13:30
Not sure if it is possible.

But anyway, if you want to use software rendering you should consider writing two renderers instead of relying on the default software implementation. One hardware opengl renderer using lwjgl, and one using a software opengl clone. Mesa 3d for example is a software implementation of opengl written in c, but there might be a java port available. A quick search turned up jGL, but I don't know how good it is. The project seems somewhat abandoned.