LWJGL
May 22, 2012, 05:04:11 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1] 2
  Print  
Author Topic: LWJGL 2.3 Released  (Read 17291 times)
Matzon
Administrator
Demigod
*****
Posts: 2177



« on: February 21, 2010, 12:41:29 »

This is an important release that fixes a compatibility issue with ATI drivers, specifically 10.x+

2.3
  • new: Removed support for indirect buffers as arguments to AL/GL functions
  • new: Added missing tokens in GL30 & GL32
  • new: Added support for AMD_seamless_cubemap_per_texture & AMD_shader_stencil_export
  • fix: Improved compatibility mode detection - Required for all ATI 10.x Drivers.
  • fix: Complete overhaul of the linux focus system when using Display.setParent().
  • fix: WaveData - updated to use available() on audio stream

https://sourceforge.net/projects/java-game-lib/files/Official%20Releases/LWJGL%202.3/

Remember to donate Wink
Logged

http://certusgames.com (Free Online Multiplayer Java Games)
http://lwjgl.org (OpenGL/OpenAL for Java)
elias4444
Nerdus Imperius
*****
Posts: 636



WWW
« Reply #1 on: February 21, 2010, 21:18:51 »

Thank you!!!
Logged

=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com
Evil-Devil
Prolific Timewaster
****
Posts: 268



WWW
« Reply #2 on: February 22, 2010, 00:18:32 »

Thanks, will update some old tutorial stuff with the new version Smiley
Logged
Fool Running
Nerdus Imperius
*****
Posts: 647


« Reply #3 on: February 22, 2010, 05:43:49 »

Keep up the good work! Cool
Logged

Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option Grin
renanse
Regular nerd
**
Posts: 99


« Reply #4 on: February 22, 2010, 07:42:35 »

Kudos guys!  Smiley
Logged
Tobias
Newbie
*
Posts: 12


WWW
« Reply #5 on: February 23, 2010, 03:44:02 »

Thanks!
Logged

renanse
Regular nerd
**
Posts: 99


« Reply #6 on: February 23, 2010, 11:32:13 »

Question... Is there a document somewhere that describes what each of the jars are and when you'd need them?  For example, I am unsure about AppleJavaExtensions.jar and lzma.jar
Logged
kappa
Administrator
Nerdus Imperius
*****
Posts: 961



« Reply #7 on: February 23, 2010, 11:43:27 »

Question... Is there a document somewhere that describes what each of the jars are and when you'd need them?  For example, I am unsure about AppleJavaExtensions.jar and lzma.jar

Just ask here, i'd be happy to answer Smiley

AppletJavaExtension.jar is only needed to compile LWJGL (specifically for the macs dependencies), after that its not needed, precompiled jars which everyone uses shouldn't need it.

lzma.jar is only for deployment when using lwjgl applets. The lwjgl AppletLoader (lwjgl_util_applet.jar) uses it to uncompress lzma files, of course applets can use just plain jars (in which case it won't be needed) but if you decide to use .jar.pack.lzma or .jar.lzma files then you'll need to add lzma.jar to your applet class path so the AppletLoader can uncompress those files. Remember pack200 + lzma = super compressed lwjgl applets Smiley

lwjgl_util_applet.jar contains lwjgl's super magical AppletLoader, this will deploy the lwjgl natives automatically for you when running lwjgl as an applet while at the same time providing a nice loading screen. Optionally supports lzma and pack200 method of shrinking jars. It needs no extra code, controlled fully with just html.

lwjgl_util.jar contains utility class that you may need, including stuff like GLU (for OpenGL), Vector2d, Vector3d (Maths classes).

lwjgl_test.jar contains various tests and demo's, bascially the stuff found on http://lwjgl.org/demos.php

jinput.jar contains the jinput stuff from controllers and stuff

lastly theres lwjgl-debug.jar (eww, the inconsistency by the use of - instead of _ Smiley) only jar i'm unsure off but guess its something to do with debugging Smiley
Logged
renanse
Regular nerd
**
Posts: 99


« Reply #8 on: February 23, 2010, 12:00:47 »

Thanks Smiley
Logged
Tobias
Newbie
*
Posts: 12


WWW
« Reply #9 on: February 23, 2010, 13:21:07 »

We're getting lots of reports of no sound on OS X after the update. Any ideas?
Logged

elias4444
Nerdus Imperius
*****
Posts: 636



WWW
« Reply #10 on: February 23, 2010, 13:47:10 »

I just tried out the new 2.3 release on my Mac and the sound was coming out just fine. I was using the slick library for sound.
Logged

=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com
kappa
Administrator
Nerdus Imperius
*****
Posts: 961



« Reply #11 on: February 23, 2010, 13:50:28 »

hmm, could the OS X sound problem be related to this.

@Tobias do you have any exceptions in the console? does the above rename trick work?
Logged
Tobias
Newbie
*
Posts: 12


WWW
« Reply #12 on: February 23, 2010, 23:02:30 »

It's this one - new: Removed support for indirect buffers as arguments to GL functions

AL10.alBufferData checks for direct byte buffer, and throws IllegalArgumentException.

I use Pauls Sound System for audio playback: http://www.paulscode.com/
It apparently uses indirect byte buffer

I'd say this change is not very backwards compatible Sad
Logged

Matzon
Administrator
Demigod
*****
Posts: 2177



« Reply #13 on: February 23, 2010, 23:32:28 »

we are very aware of the back compatibility problem, but the performance issues outweighed the change to:
bufferutils.create*().put().flip()

I suggest you get an updated library, as the fix is very easy.

Personally, I wasn't aware at that time that this also extended to OpenAL - but since the change was in the generator it, ofcourse, changes the behavior everywhere. I will update the release note accordingly.

In retrospect, we could probably have generate code that issued a warning instead of flat-out failing.
Logged

http://certusgames.com (Free Online Multiplayer Java Games)
http://lwjgl.org (OpenGL/OpenAL for Java)
Tobias
Newbie
*
Posts: 12


WWW
« Reply #14 on: February 24, 2010, 01:02:12 »

Yeah it was an easy fix, thanks. Note to self: turn speakers on when testing new releases
Logged

Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!