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
Ioannis Tsakpinis
5f9c4fac58
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
2010-04-14 14:58:18 +00:00
Brian Matzon
3e20bde12f
prepare for 2.4.1
2010-04-13 20:28:04 +00:00
Brian Matzon
b4ed45dc40
disable version check for linux - headless issues
2010-04-13 20:25:29 +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
Brian Matzon
d31d965aaf
always build the native file with the latest version
2010-04-12 19:04:27 +00:00
Brian Matzon
cfd830ecb4
quickie update to build system to output the JNI_VERSION when building
2010-04-11 08:27:41 +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
kappa1
b42040537c
fix corrupt lzma.jar which caused signjar task to remove entries in the manifest file.
2010-04-07 20:06:59 +00:00
Ioannis Tsakpinis
42a3a03776
More glGetActive changes.
2010-04-07 12:06:10 +00:00
Ioannis Tsakpinis
8c2a7b5d03
More glGetActive changes.
2010-04-07 11:59:33 +00:00
Brian Matzon
ea45359a98
make sure we overwrite existing files
2010-04-07 10:28:05 +00:00
Brian Matzon
7fcf5a74ce
trusted and sealed lzma, needed by Java update 19
2010-04-04 19:48:53 +00:00
Brian Matzon
5fd5607a38
trusted and sealed lzma, needed by Java update 19
2010-04-04 19:46:42 +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
0d01982d5f
Modified build.xml so that the manifest file in lwjgl.jar and lwjgl_util_applet.jar is now tagged with 'Trusted-Library: true'.
...
This is needed from Java6u19+ when using a mix of signed/unsigned jars, otherwise an extra super scary dialog box will be shown to the user when an applet or JWS application is run.
2010-04-03 13:32:35 +00:00
Ioannis Tsakpinis
9f2461fb70
Fixed debug builds.
2010-04-02 18:45:19 +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
0f711dc537
Fixed copy/paste error.
2010-03-31 21:15:12 +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
Ioannis Tsakpinis
a4ed94bf4d
Added support for APPLE extensions.
2010-03-27 01:12:05 +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
197d6c43d2
String support for ProgramStringARB.
2010-03-13 00:45:44 +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
eae8467310
Made glGetInteger64i_v optional (not exposed on NV drivers)
2010-02-07 18:50:23 +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
Ioannis Tsakpinis
ede27aaa21
Improved compatibility mode detection
...
Removed support for indirect buffers as arguments to GL functions
Added missing tokens in GL30 & GL32
Added support for AMD_seamless_cubemap_per_texture & AMD_shader_stencil_export
Fixed AMD_vertex_shader_tessellator typo
Added AMD extensions to the build process >.<
2010-01-31 16:40:51 +00:00
Brian Matzon
b1594c74e5
2.2.2
2010-01-25 21:14:15 +00:00
Ioannis Tsakpinis
e85bc67a4d
Fixed glClearBuffer signature.
2010-01-17 11:54:08 +00:00
Brian Matzon
ea9dfae43e
fix for issue with Cursor that turned out to be a leaking DC
2010-01-10 22:46:41 +00:00
Ioannis Tsakpinis
d97fc05a7b
Added support for explicit length arguments in functions that map buffer objects.
...
Simplified CachedResult handling of functions that map buffer object ranges.
Improved documentation of CachedResult functions.
2010-01-04 18:47:49 +00:00
Ioannis Tsakpinis
f970b8ba42
Fixed MapBufferRange signature.
2009-12-28 15:00:06 +00:00
Ioannis Tsakpinis
6e5355bc83
Added generator support for null-terminated string lists.
...
Fixed GetUniformIndices and TransformFeedbackVaryings.
Added a ARB_uniform_buffer_object test.
2009-12-04 04:49:19 +00:00
Brian Matzon
63ed7b268e
call InitCommonControls if no display has been created prior to Alert
2009-12-02 23:11:14 +00:00
kappa1
2e07a03a4e
added the Display.setInitialBackground(r,g,b) method, this will allow you to select the initial background color of the lwjgl Display window. Useful to create more polished applications and smoother looking applets.
2009-12-01 15:12:52 +00:00
Ioannis Tsakpinis
d3412ccdc8
Fixed GetSync signature.
2009-12-01 11:39:48 +00:00
Ioannis Tsakpinis
d8c16cc20c
Updated EXT_direct_state_access to latest revision.
...
Improved postfix stripping and extension dependency.
2009-12-01 03:37:27 +00:00
Brian Matzon
663a7cf235
stop updating cursor all the time and only continue animation if mouse is inside window
2009-11-26 22:44:17 +00:00
kappa1
bbe74afddb
Mouse Grab Bug on Linux Fixed when LWJGL is run as an applet.
2009-11-24 20:13:12 +00:00
Brian Matzon
8d89b6353e
cleanup imports
2009-11-20 23:28:37 +00:00
Brian Matzon
c75b6a9f05
use HEAD request when determening file size
2009-11-20 23:26:26 +00:00
Brian Matzon
9dcf59dab5
workaround for missing certificate for AppletLoader if cached
2009-11-20 23:06:24 +00:00
Brian Matzon
f757468d64
missing jogl license for GLU tesselation
2009-11-15 21:10:49 +00:00
Brian Matzon
66d99543b9
updating to 2.2.1
2009-11-15 19:23:48 +00:00
kappa1
e9e9bf7b91
FIX: Mouse Grab should now work on Windows when using Display.setParent()
2009-11-12 22:12:49 +00:00
kappa1
3abb46dd58
Stop AppletLoader on download failure, instead of displaying error and continuing download of files.
2009-10-12 11:56:46 +00:00
kappa1
3563faf75b
AppletLoader file download handling improved.
...
Unknown Caching that was causing problems has been found and disabled.
The infamous "Fatal Error occured (5): null" bug should really be dead this time :)
3 attempts are made to download a file if it fails to download.
File size is now verified after a downloaded to make sure it is the correct size.
2009-10-08 00:03:55 +00:00
Ioannis Tsakpinis
90a70ecb1d
Minor fixes and added support for NV_texture_barrier.
2009-09-29 13:51:41 +00:00
Ioannis Tsakpinis
0aa3bf8c17
Fixed TexCoordPointer exception when ARB_multitexture is not available.
2009-09-27 12:05:46 +00:00
Brian Matzon
e11af72624
comment new allowNegativeMouseCoords property
2009-09-12 22:20:15 +00:00
Brian Matzon
8bd591fe5e
support for tracking mouse outside window on drag, new api for checking if mouse is inside window
2009-09-12 22:15:21 +00:00
kappa1
198064eb64
restore defaults to the default lwjgl applet html template.
2009-09-10 11:15:12 +00:00
kappa1
9672413e2a
Undo fix for the error 5: null error, since it does not work.
2009-09-09 11:24:29 +00:00
Ioannis Tsakpinis
9a5f795a84
Added support for PIXEL_STORE state tracking.
...
Changed PBO GLChecks to use LWJGL's state tracking instead of using glGetInteger.
2009-09-08 15:07:15 +00:00
Ioannis Tsakpinis
f4eb23f860
Fixed Context init when using the debug library.
...
Removed glGetError call before buffer swapping.
2009-09-08 12:27:59 +00:00
kappa1
58703c742d
Java caching properly disabled, this should prevent the AppletLoader from continuing to load jars from the java cache which have become corrupt.
...
The infamous "Fatal Error occured (5): null" bug should now go away on refresh as the files are redownloaded.
2009-09-03 20:15:46 +00:00
Ioannis Tsakpinis
02f54eb831
Fixed GLSync build issue.
2009-08-12 14:48:37 +00:00
Ioannis Tsakpinis
90001d5aa6
GLsync annotation not needed anymore.
2009-08-12 13:13:17 +00:00
Ioannis Tsakpinis
6befeb63f2
Completed GL32 support.
...
Added Generator support for wrapping GL pointers.
Added support for passing command-line arguments to tests.
Added test for ARB_sync functionality.
Temp fix to NV_shader_buffer_load.
2009-08-12 13:06:11 +00:00
Brian Matzon
aa928312b8
missing initialization of AL11 functions
2009-08-05 18:54:47 +00:00
Ioannis Tsakpinis
969930902c
Added missing annotations.
2009-08-05 07:09:36 +00:00
Ioannis Tsakpinis
b130c415f7
Added support for OpenGL 3.2 and the following extensions: AMD_draw_buffers_blend, ARB_depth_clamp, ARB_draw_buffers_blend, ARB_draw_elements_base_vertex, ARB_fragment_coord_conventions, ARB_provoking_vertex, ARB_sample_shading, ARB_seamless_cube_map, ARB_shader_texture_lod, ARB_texture_cube_map_array, ARB_texture_gather, ARB_texture_multisample, ARB_texture_query_lod, ARB_vertex_array_bgra, EXT_separate_shader_objects, EXT_texture_snorm, NV_copy_image, NV_parameter_buffer_object2.
2009-08-04 18:21:41 +00:00
Brian Matzon
b37909187e
missing out on glReadPixels
2009-07-23 20:56:59 +00:00
Brian Matzon
7c9c64bf8e
support for alpha blended icons on win32
2009-07-07 19:47:55 +00:00