Hello Guest

LWJGL 2.4.2 Released

  • 30 Replies
  • 61617 Views
*

Offline Matzon

  • *****
  • 2242
LWJGL 2.4.2 Released
« on: April 11, 2010, 18:27:58 »
Time for a new update - with a slew of new stuff and fixes

2.4
  • new: Added support for OpenGL 3.3 and OpenGL 4.0.
  • new: Added support for APPLE extensions.
  • new: Added @NoErrorCheck on vertex data methods.
  • new: The debug build will now track Begin/End pairs and never call GetError inside them.
  • new: Example on how to allow Space Invader Test Application to work as an applet with minimal code change.
  • new: Updates to OpenGL methods to allow easier usage (support for single primitive input/output parameters).
  • new: Support for String in OpenGL methods.
  • new: Option to not call processMessages during Display.update.
  • new: Allow LWJGL applets to work when seperate_jvm parameter is not supported (i.e. java plugin1) (semi experimental).
  • new: Added support for NVX_gpu_memory_info (experimental extension).
  • new: Added support for initializing extensions that are not exposed in GL_EXTENSIONS (enables EXT_direct_state_access and NV_primitive_restart on AMD GPUs, use at your own risk).
  • new: Mouse no longer limited to just ungrabbing at the position it was grabbed, now you can can call setCursorPosition(x,y) while mouse is grabbed and ungrab the mouse at any position you like.
  • fix: Infinite focus loop when using Display.setParent() + JWS + Linux
  • fix: Updated jars to conform to security updates in Java Update 19.
  • fix: Optimization to message processing.
  • fix: Fix for grabbed mouse deltas.
  • fix: Fixed mouse grabbing on secondary monitors (someone owes a beer).
  • fix: Added extra device polling when vsync is enabled, to reduce input lag.
  • fix: Updated @Optional functions for AMD GPUs (driver version: 10.3).
  • fix: Consistent mouse grab behaviour on all platforms. Mouse will now ungrab at the same place it was grabbed from.
  • fix: Mouse sometimes reporting movement on title area.
  • fix: Try and find a sensible video driver to report on rather than assuming it's video0.
  • fix: Added new XRandR stuff (fixes issue with blank screen).

2.4.1
  • new: extensions: AMD_conservative_depth, EXT_shader_image_load_store, EXT_vertex_attrib_64bit, NV_gpu_program5, NV_gpu_shader5, NV_shader_buffer_store, NV_tessellation_program5, NV_vertex_attrib_integer_64bit.
  • fix: Correct native version for mac os x.

2.4.2
  • fix: Linux applets failed due to missing doPriviledged for XRandR.

https://sourceforge.net/projects/java-game-lib/files/

Remember to donate ;)

Notice: I'd like to remind people to include the copyright, conditions and disclaimer statement for LWJGL in their products, as required by the license. Though we are not about to claim foul in any way, it would be nice to see a link back to lwjgl.org in the credits or documentation at the very minimum.
« Last Edit: July 16, 2010, 11:20:39 by Matzon »

*

Offline Matzon

  • *****
  • 2242
Re: LWJGL 2.4 Released
« Reply #1 on: April 11, 2010, 19:57:12 »
Please note - JNLP is b0rked at the moment - working on it - THANKS ORACLE! - WAY TO BLOW THINGS UP!

*

Offline Matzon

  • *****
  • 2242
Re: LWJGL 2.4 Released
« Reply #2 on: April 11, 2010, 20:23:25 »
Please note - JNLP is b0rked at the moment - working on it - THANKS ORACLE! - WAY TO BLOW THINGS UP!

any takers?
http://lwjgl.pastebin.com/6hFfkd4R

please note that the referenced jnlp file may have been updated back to its original state

*

Offline basil

  • **
  • 81
Re: LWJGL 2.4 Released
« Reply #3 on: April 11, 2010, 20:58:40 »
am I missing something ?

Code: [Select]
java.lang.NoSuchMethodError: Method org.lwjgl.openal.AL10.alEnable(I)V is not declared as native
        at org.lwjgl.openal.AL10.initNativeStubs(Native Method)
        at org.lwjgl.openal.AL.init(AL.java:158)
        at org.lwjgl.openal.AL.create(AL.java:140)
        at org.lwjgl.openal.AL.create(AL.java:104)

*

Offline Matzon

  • *****
  • 2242
Re: LWJGL 2.4 Released
« Reply #4 on: April 11, 2010, 21:06:26 »
I dont have problems with openal ...

jnlp sortof fixed ... extension should work and so do all demos that dont use resources

unable to fix at this point in time - see http://www.javagaming.org/index.php/topic,22230.0.html

will be fixed one of these days when the changes needed have been done.

for now, extension works as do all demos, just not the ones that require resources.
« Last Edit: April 11, 2010, 21:40:55 by Matzon »

*

Offline kappa

  • *****
  • 1319
Re: LWJGL 2.4 Released
« Reply #5 on: April 11, 2010, 21:50:48 »
am I missing something ?

Code: [Select]
java.lang.NoSuchMethodError: Method org.lwjgl.openal.AL10.alEnable(I)V is not declared as native
        at org.lwjgl.openal.AL10.initNativeStubs(Native Method)
        at org.lwjgl.openal.AL.init(AL.java:158)
        at org.lwjgl.openal.AL.create(AL.java:140)
        at org.lwjgl.openal.AL.create(AL.java:104)

which OS and java version are you using?

*

Offline basil

  • **
  • 81
Re: LWJGL 2.4 Released
« Reply #6 on: April 11, 2010, 22:15:32 »
win7 / java 1.6.0_10 ..

works by now tho' .. I think netbeans just flipped out.  :o ..
compiled just fine when removed the jwlgl sources from the library .. no idea.

Problem with new version
« Reply #7 on: April 12, 2010, 03:09:02 »
hi, i have a problem with 2.4 on mac os x 10.6.

Exception in thread "main" java.lang.LinkageError:
Version mismatch: jar version is '18', native libary version is '17'

i followed the guide on http://lwjgl.org/installation.php.

thanks.


*

Offline Matzon

  • *****
  • 2242
Re: Problem with new version
« Reply #8 on: April 12, 2010, 07:13:12 »
hi, i have a problem with 2.4 on mac os x 10.6.

Exception in thread "main" java.lang.LinkageError:
Version mismatch: jar version is '18', native libary version is '17'

we got a report on that on IRC -  seems something funky is going on for os x...

looking into that

Re: Problem with new version
« Reply #9 on: April 12, 2010, 14:03:40 »
we got a report on that on IRC -  seems something funky is going on for os x...

looking into that

stacktrace:

Exception in thread "main" java.lang.LinkageError: Version mismatch: jar version is '18', native libary version is '17'
   at org.lwjgl.Sys.<clinit>(Sys.java:103)
   at tutor.SysSnippet.main(SysSnippet.java:7)

The exception is thrown because DefaultSysImplementation#getJNIVersion()
return different value as the MacOSXSysImplementation.getRequiredJNIVersion(),
which is always 18. DefaultSysImplementation#getJNIVersion() is a native
method and it works.


Re: LWJGL 2.4 Released
« Reply #10 on: April 13, 2010, 12:34:32 »
I could have sworn I commented on this... :-\

Anyways, keep up the good work, guys.  8)
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D

Re: LWJGL 2.4 Released
« Reply #11 on: April 13, 2010, 23:18:01 »
Any news on the Mac OS linkage error? I'm getting it too.
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

*

Offline Matzon

  • *****
  • 2242
Re: LWJGL 2.4 Released
« Reply #12 on: April 14, 2010, 05:27:13 »
ive been hammering at the build system to not making it happen again - but have issues to make this work. However I plan on doing a 2.4.1 release tonight. In the mean time a binary from the build system should work now.

*

Offline Matzon

  • *****
  • 2242
Re: LWJGL 2.4.2 Released
« Reply #13 on: April 15, 2010, 21:05:40 »
download updated with 2.4.2

jnlp is still broken and this is being worked on - but not as high priority. Hopefully fixed by the end of the weekend.

Re: LWJGL 2.4.2 Released
« Reply #14 on: April 15, 2010, 22:10:24 »
Thanks Matzon, excellent work as always!
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com