LWJGL 2.4.2 Released

Started by Matzon, April 11, 2010, 18:27:58

Previous topic - Next topic

Matzon

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.

Matzon

Please note - JNLP is b0rked at the moment - working on it - THANKS ORACLE! - WAY TO BLOW THINGS UP!

Matzon

Quote from: Matzon 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!

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

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

basil

am I missing something ?

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)

Matzon

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.

kappa

Quote from: basil on April 11, 2010, 20:58:40
am I missing something ?

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?

basil

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.

qualle2008

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.


Matzon

Quote from: qualle2008 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'

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

looking into that

qualle2008

Quote from: Matzon on April 12, 2010, 07:13:12
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.


Fool Running

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

elias4444

Any news on the Mac OS linkage error? I'm getting it too.
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

Matzon

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.

Matzon

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.

elias4444

Thanks Matzon, excellent work as always!
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com