kappa1
94fa701973
AppletLoader: slight tweak to the behaviour of al_version
2010-08-28 13:47:18 +00:00
kappa1
bca5e48ea7
AppletLoader: set java.library.path to the folder containing natives, this should make it easier when using extra custom native files.
2010-08-28 12:04:55 +00:00
kappa1
020a55d74f
AppletLoader: slight tweak to use classloader the way Oracle recommend.
2010-08-23 18:12:06 +00:00
kappa1
4d59d460d0
AppletLoader: fix mixed mode message when using custom logo images.
2010-08-23 18:02:17 +00:00
Ioannis Tsakpinis
6be13dfd45
2010-08-16 22:18:33 +00:00
Ioannis Tsakpinis
3e698786be
Fixed NPE when safeNewBuffer returns NULL.
2010-08-16 22:09:01 +00:00
kappa1
6e231b50a8
clean unneeded check
2010-07-28 21:12:41 +00:00
kappa1
7a6a74541f
Fix Mac Mouse behaviour where mouse is centred everytime Mouse.setGrabbed(boolean) is called.
2010-07-28 21:07:04 +00:00
Brian Matzon
0738e6985c
bumping native version
2010-07-27 19:18:58 +00:00
Brian Matzon
833fcaa122
Adding lwjgl version string to debug output
2010-07-27 19:17:53 +00:00
Brian Matzon
cba5ab3492
incrementing version to 2.6
2010-07-27 19:08:50 +00:00
Ioannis Tsakpinis
5842103580
Added support for OpenGL 4.1 and new extensions.
2010-07-27 15:33:22 +00:00
kappa1
19b501fc46
AppletLoader: slight tweak to make code more readable
2010-07-25 14:22:09 +00:00
kappa1
6f398ac850
AppletLoader: removed dead code.
2010-07-25 13:35:00 +00:00
kappa1
c05cc0b695
AppletLoader: addded ability to use appletloader with no images, just the logo, just the progressbar or both. To set no image for either image you must set the parameter value to "". Both images are now centred independently allowing variable size logo and progressbar images. Resized appletprogress.gif to match appletlogo.png size.
2010-07-25 13:31:49 +00:00
kappa1
12a37c264e
AppletLoader: actually fail with error message if logo images are not found or an error occurs when they are loaded, added missing MediaTracker step. Also prevent paint thread from null pointer exception when this happens.
2010-07-25 12:18:17 +00:00
kappa1
bf68b287da
AppletLoader: fix error message so that it actually uses the error message string.
2010-07-25 11:40:58 +00:00
kappa1
a7b892b7ab
AppletLoader: clean up resources (images) when switching to the LWJGL Applet as opposed to when applet is destroyed
2010-07-24 20:00:58 +00:00
kappa1
3656b80763
AppletLoader: fix bug with LWJGL 2.5 where appletloader crashed if the al_version parameter was used.
2010-07-21 18:53:41 +00:00
kappa1
f96a4bd228
AppletLoader - slight tweak to make AppletLoader looks a bit better
2010-07-15 20:00:41 +00:00
Brian Matzon
6d72727f0a
OAL patches by Ciardhubh
2010-07-14 13:12:24 +00:00
kappa1
be84d03799
AppletLoader: slightly more meaningful and friendly error message.
2010-07-12 20:19:21 +00:00
kappa1
7b9dcd5a18
AppletLoader: Remove the boxerrorcolor parameter, there is not much advantage in having different color error message font, its better to have a nice consistent error message then to try scare the user. Also simplifies the AppletLoader api by reducing the number of parameters.
2010-07-12 20:01:56 +00:00
kappa1
71b226f979
fix: Keyboard focus handling broken when using Display.setParent() applets on Ubunutu (strangly worked on OpenSuse), hopefully should be fixed now.
2010-07-11 20:25:24 +00:00
kappa1
77306f770a
AppletLoader: fix issue with caching and lzma/pack200 files
2010-07-11 15:26:33 +00:00
kappa1
1ba3f0197b
Appletloader: fix caching issue with native jars
2010-07-11 13:54:52 +00:00
kappa1
f5eae9c5ca
AppletLoader: fix code to compile on java 1.4
2010-07-11 13:03:16 +00:00
kappa1
2769e06be2
Appletloader: Initial implementation of a proper caching system. Files will only be downloaded if lastModified time is different from when files were downloaded previously. al_cache parameter is used to disable and enable this caching (default: true). This caching will not be used if al_version parameter is used.
2010-07-11 12:13:34 +00:00
kappa1
d9a64e18a1
AppletLoader: fixed flicker on animated gifs using ImageObserver. When image is ready to be drawn it is copied into a buffer image ready to be drawn. Also now supports variable time animated gifs and not limited to drawing only every 100ms.
2010-07-10 11:56:55 +00:00
Ioannis Tsakpinis
351eca07a4
2010-07-09 21:46:27 +00:00
kappa1
b911005854
Display sync modified to allow it to be interrupted.
...
Thanks to bobjob for this, further thanks to MatthiasM for pointing out that the interrupt should not be swallowed.
2010-07-09 19:37:14 +00:00
Ioannis Tsakpinis
0ddafa3842
Compiz LFS improvements.
2010-07-09 18:44:31 +00:00
kappa1
d251a322e6
AppletLoader: auto centre logo if applet is resized.
2010-07-08 21:12:20 +00:00
Ioannis Tsakpinis
eebd82198c
Added support for Compiz's legacy fullscreen workaround.
2010-07-07 12:37:40 +00:00
Ioannis Tsakpinis
840f05dbf5
2010-07-04 18:24:53 +00:00
Ioannis Tsakpinis
e0bfcca323
Fix for Linux fullscreen mode problem with Compiz ( http://lwjgl.org/forum/index.php/topic,3335.0.html )
2010-07-04 17:14:33 +00:00
kappa1
4c1fe5d21f
AppletLoader: Parameters boxbgcolor, boxfgcolor and boxerrorcolor have been added. Previous parameters al_bgcolor, al_fgcolor and al_errorcolor have been removed. Unlike the previous color support now you can specify the color as a string name of any AWT Color ("red", "blue", "yellow", etc), RGB format (0-255, e.g. "255,0,0") or html HEX color (must use leading #, previous didn't need to have the # e.g. "#FF0000"). This is to match the color support of boxbgcolor and boxfgcolor of the java plugin, so now the color is set and appears before the appletloader is even loaded.
2010-07-04 14:35:41 +00:00
kappa1
d6d2c91546
Appletloader: Added parameter support for al_windows32, al_windows64, al_linux32 and al_linux64 for those that would like to split their 32/64 bit natives files to provide a smaller download.
2010-07-04 11:03:20 +00:00
Ioannis Tsakpinis
21b3c3d818
Added PixelFormat support for framebuffer CSAA (NV_multisample_coverage, WGL & GLX only).
...
Added support for AMD_name_gen_delete and AMD_debug_output. The AMDDebugOutputCallback class enables query-less message handling.
Added support for extension aliases.
2010-05-27 22:56:29 +00:00
Brian Matzon
a3db874472
"fixed" usage of generics
2010-05-25 06:01:34 +00:00
Brian Matzon
b65bd6a333
bump version to 2.5
2010-05-24 22:39:06 +00:00
Brian Matzon
57eea58a8d
cleanup
2010-05-24 22:36:07 +00:00
Brian Matzon
8875e56831
updates to info app to print efx info
2010-05-24 22:35:28 +00:00
Brian Matzon
5489758618
expose isEfxSupported
2010-05-24 22:34:59 +00:00
Brian Matzon
6cdca16f80
proper resetNativeStubs for other oal-related classes, probably a NOP atm
2010-05-24 21:54:37 +00:00
Brian Matzon
ba88605f00
EFX patch by Ciardhubh
2010-05-24 21:50:26 +00:00
Ioannis Tsakpinis
a31db44724
Updated ContextAttribs to not default to the core profile for 3.2+ versions.
...
Updated VersionTest (version 20 of ARB_create_context).
2010-05-22 16:53:49 +00:00
kappa1
69dcdd170d
small cleanup.
2010-05-21 22:55:11 +00:00
kappa1
7ed3a9001a
XRandr add missing casts
2010-05-21 22:26:23 +00:00
kappa1
a54c5c40e1
Further XRandR fixes, it now catches throwable in populate(), if there are any problems in parsing the xrandr output we revert to LWJGL's regular behaviour. All output now goes to LWJGLUtil.log() instead of the out.println and err.println. Credit to Ryanm for patch.
2010-05-21 22:12:57 +00:00
kappa1
fc21a7735d
XrandR fix for parsing some screen sizes, credit to MatthiasM for providing patch.
2010-05-20 18:11:47 +00:00
Ioannis Tsakpinis
e61f005051
Fix for OpenAL debug builds.
...
Added alternate methods for NV_fence.
2010-05-07 17:03:36 +00:00
Brian Matzon
4dcf4df209
yes, we really should...
2010-04-29 17:37:18 +00:00
Brian Matzon
89c9c9a356
use context classloader, since u19+u20 broke the old impl
2010-04-26 21:52:59 +00:00
Ioannis Tsakpinis
47c9991b41
Fixed ByteOrder of @Return ByteBuffers.
...
Cleaned up Drawable interface and introduced a reusable base implementation.
Added support for disabling runtime function checks, buffer checks and state tracking. Activated with -Dorg.lwjgl.util.NoChecks=true
2010-04-22 23:21:48 +00:00
kappa1
965e398053
Remove extra permissions from XRandR and just allow minimal permissions needed by the LinuxDisplay.
2010-04-22 18:32:46 +00:00
Ioannis Tsakpinis
e650319d5b
Added support for a new Drawable type (SharedDrawable) that shares its context with another Drawable.
...
Added new methods to the Drawable interface (makeCurrent, releaseContext, destroy).
Added a background thread texture loading test (using either Pbuffer or SharedDrawable).
2010-04-20 18:21:05 +00:00
kappa1
8f784c424c
minor tweak to XRandR class to add AccessControllers to remaining methods that need it.
2010-04-16 19:06:53 +00:00
Brian Matzon
2bcbea95d1
2.4.2 release
2010-04-15 18:03:54 +00:00
kappa1
34427b80f7
fix: When using unsigned jars with signed lwjgl jars it fails when creating a Display on linux with an AccessController error. This is due to the new XRandR class missing a AccessController.doPriviledged method when it requires out of sandbox access. (LWJGL Applet Distribution is borken on linux without this fix)
2010-04-14 22:34:43 +00:00
Brian Matzon
3e20bde12f
prepare for 2.4.1
2010-04-13 20:28:04 +00:00
Brian Matzon
13b41d7b69
(possible) fix for headless environment issue with awt on linux
2010-04-13 07:14:51 +00:00
Brian Matzon
ed4ff0e1dc
forcefull check of version match when building
2010-04-12 23:22:08 +00:00
kappa1
7d1a770cff
fix infinite focus loop when using Display.setParent() + JWS + Linux.
2010-04-10 18:07:50 +00:00
Ioannis Tsakpinis
4eb94622ca
Added @NoErrorCheck on vertex data methods.
...
The debug build will now track Begin/End pairs and never call GetError inside them.
2010-04-09 23:57:40 +00:00
kappa1
72c3da7aeb
Example on how to allow Space Invader Test Application to work as an applet with minimal code change.
2010-04-08 22:53:45 +00:00
Ioannis Tsakpinis
3035e3c95c
Moved processMessages call after swapBuffers in Display.update.
...
Added option to not call processMessages during Display.update.
2010-04-03 19:03:49 +00:00
kappa1
6a8992c2ed
Allow LWJGL applets to work when seperate_jvm parameter is not supported (i.e. java plugin1).
2010-04-01 21:01:51 +00:00
kappa1
65806087cf
Added better support for FreeBSD to appletloader. Thx to monty_hall for the patch.
2010-04-01 18:27:51 +00:00
Ioannis Tsakpinis
b31603f219
Fix for grabbed mouse deltas.
2010-04-01 15:05:32 +00:00
Ioannis Tsakpinis
6998610cce
Fixed mouse grabbing on secondary monitors.
...
Added extra device polling when vsync is enabled, to reduce input lag.
2010-03-31 23:56:24 +00:00
Ioannis Tsakpinis
37489e8c94
Added yet another glGetActiveUniform alternative.
2010-03-31 20:56:07 +00:00
Ioannis Tsakpinis
6e738cc2b6
Added support for NVX_gpu_memory_info (experimental extension).
...
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).
Updated @Optional functions for AMD GPUs (driver version: 10.3)
2010-03-31 15:46:16 +00:00
Brian Matzon
bd6ac573d5
bumping native version
2010-03-28 23:11:17 +00:00
kappa1
08a2e8a010
Further improvement to mouse ungrab position behaviour. 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.
2010-03-27 16:04:30 +00:00
kappa1
8cee11ede7
oops, windows mousegrab fixed
2010-03-26 19:52:40 +00:00
kappa1
b272e7d891
Consistent mouse grab behaviour on all platforms. Mouse will now ungrab at the same place it was grabbed from.
2010-03-26 19:17:53 +00:00
Ioannis Tsakpinis
ef86a6c501
Added alternatives for glGetActiveUniform/Attrib.
...
Added a javadoc comment to all alternative methods.
2010-03-23 12:43:44 +00:00
Brian Matzon
2f172a09bf
2.4 release
2010-03-17 18:58:18 +00:00
Brian Matzon
7bd6eb6d16
patch as per http://lwjgl.org/forum/index.php/topic,3124.0.html
2010-03-17 18:55:59 +00:00
Ioannis Tsakpinis
b17aa7d21b
Added JNIEXPORT to AL alternate methods.
...
Now forcing full regen when any class in the Generator changes.
2010-03-16 19:05:19 +00:00
Ioannis Tsakpinis
3715e4b39d
Added some alternate AL functions.
2010-03-16 17:58:48 +00:00
Ioannis Tsakpinis
94a4c50a83
Added support for single primitive input/output parameters.
2010-03-14 23:24:40 +00:00
Ioannis Tsakpinis
e97e601894
Added Charset encoding to StringUtils
...
Changed shader tests to use the String APIs
Finished ARB_uniform_buffer_object shader test
Fixed native code compiler warnings
Made the generator check file timestamps to avoid unnecessary 3+ min builds
2010-03-14 00:19:48 +00:00
Ioannis Tsakpinis
fd5bd2589d
Force Indirect for StringLists
2010-03-12 23:35:55 +00:00
Ioannis Tsakpinis
6879b33e52
Cleaned imports.
2010-03-12 22:20:25 +00:00
Ioannis Tsakpinis
3e87a3ae7b
Address var fix.
2010-03-12 22:14:11 +00:00
Ioannis Tsakpinis
6ac8e327f2
Added support for Strings! (WIP, needs more testing)
2010-03-12 21:55:13 +00:00
Jeremy Booth
cb925a91e9
Try and find a sensible video driver to report on rather than assuming it's video0.
2010-03-12 20:15:38 +00:00
Ioannis Tsakpinis
c3d6d43d2a
Added support for OpenGL 3.3 and OpenGL 4.0.
2010-03-11 21:06:49 +00:00
Brian Matzon
0eed407ef8
added new XRandR stuff
...
fixed credits doc a bit
2010-03-08 21:29:32 +00:00
Brian Matzon
c447ec66a6
fixed non-direct buffer issue
2010-02-21 21:27:35 +00:00
Brian Matzon
d0d24c5c29
fixed non-direct buffer issue
2010-02-21 21:18:17 +00:00
Brian Matzon
5808a218a3
added test for WaveData
2010-02-20 10:43:45 +00:00
Brian Matzon
7a507bd7d1
cleanup and better logging - no longer prints stacktrace
...
changed AudioInputStream method to use available() instead of calculating it.
2010-02-20 10:43:22 +00:00
kappa1
604e52013a
Complete overhaul of the linux focus system when using Display.setParent(). This should fix the input problems with applets (on linux) due to Display not being able to gain focus.
...
Also now works perfectly in all browsers, previously input focus was not restored to other browser components when requested (like firefox's address bar).
2010-02-14 17:06:15 +00:00
Ioannis Tsakpinis
7ef37e9858
Changed BaseReferences to use GL20.GL_MAX_TEXTURE_IMAGE_UNITS when available (GL13.GL_MAX_TEXTURE_UNITS is deprecated).
...
Catch and log OpenGL errors during context creation, instead of throwing an exception.
2010-02-10 11:22:16 +00:00
Ioannis Tsakpinis
47714e4bea
Catch and ignore INVALID_OPERATION error when retrieving CONTEXT_PROFILE_MASK (workaround for ATI 9.12).
2010-02-09 15:22:58 +00:00
Ioannis Tsakpinis
0a6dbd78ac
Removed glPrimitiveRestart from GL31 (immediate mode call that never made it to the core)
...
Added Optional annotation for functions that miss from incomplete implementations.
2010-02-07 15:15:33 +00:00
Brian Matzon
5c7c1eeacc
prepare for 2.3
2010-02-03 21:03:32 +00:00