Commit Graph

3251 Commits

Author SHA1 Message Date
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
Ioannis Tsakpinis 76fab42722 Added missing Imaging tokens. 2009-07-07 12:32:39 +00:00
kappa1 8a720fc596 fix: Animated gif's were not working with ImageIO as it only returns a BufferedImage, so switched to Toolkit with MediaTracker. 2009-07-01 18:05:44 +00:00
Ioannis Tsakpinis 1e6f6829ec Added support for GREMEDY_string_marker. 2009-06-19 10:32:57 +00:00
kappa1 3a35d60c30 Fix: allow logo's outside the appletloader.jar to be used. 2009-06-15 13:08:52 +00:00
Brian Matzon ea7e7bdd0c print stacktrace if possible on fatal errors, fixed NPE in paint 2009-06-11 21:07:34 +00:00
kappa1 0c244ee74a Added Mouse Support to Gears Applet, This will allow rotating the view using the mouse.
Fixed view ratio to support all sizes.
2009-06-03 18:29:05 +00:00
Brian Matzon c7eabcad3e fixed windows click/movement detection if drag started inside display 2009-06-03 11:08:58 +00:00
Ioannis Tsakpinis a74dcdac8c Added missing @OutParameters 2009-06-02 12:40:57 +00:00
Jeremy Booth d6f5dbef0c make sure the release target uses new jars, not just ones lying around from old builds 2009-05-31 10:12:19 +00:00
kappa1 5e59c093bb dependence on 'sun.net.www.ParseUtil;' removed. 2009-05-28 18:17:04 +00:00
Brian Matzon f9b6ab7c58 add missing include to get __TrackMouseEvent exported 2009-05-27 08:04:39 +00:00
Brian Matzon a6ae9f33b5 fix windows issue with mouse down true when released outside window 2009-05-26 20:39:23 +00:00
kappa1 31522ef459 A bit of clean up, code refactoring and commenting to GearsApplet test. 2009-05-23 09:37:10 +00:00
kappa1 d7cbfc5255 updated GearsApplet to use addNotify() to start a LWJGL Display, also prevents a new Display being created each time the start() method is called. 2009-05-23 09:09:28 +00:00
kappa1 e6a8d3e390 Special thanks to Riven in helping find the bug below :) 2009-05-22 09:30:50 +00:00
kappa1 aca59f8be2 BUG FIX: downloaded jars can now connect to the host they were from. 2009-05-22 09:14:38 +00:00
Elias Naur a819b4d95e Added missing datatypes to glVertexPointer and glTexCoordPointer 2009-05-18 13:24:05 +00:00
kappa1 1abb3e32e0 Spelling Mistake fix, oops :) 2009-05-08 20:29:22 +00:00
Brian Matzon 9803da6407 preparing 2.2.0 2009-04-30 18:50:00 +00:00
Brian Matzon 33202b9bf7 preparing 2.2.0 2009-04-30 18:48:34 +00:00
Brian Matzon 81d024de49 updated text to match new location for windows. added solaris. 2009-04-30 18:40:25 +00:00
Ioannis Tsakpinis 37cf5ee162 Added support for NV_shader_buffer_load and NV_vertex_buffer_unified_memory. 2009-04-29 16:38:04 +00:00
Elias Naur 3f9dfefe81 Added init code to space invaders example 2009-04-26 19:58:08 +00:00
Elias Naur 68ec5edea1 Linux: made legacy context code conditional 2009-04-24 20:35:33 +00:00
Elias Naur 50203d0d92 Linux: OpenGL 3 attributes support 2009-04-24 20:30:30 +00:00
Jeremy Booth ee9d81908a Update JInput including 64 bit windows builds 2009-04-10 15:00:22 +00:00
Jeremy Booth 5668dcb1b2 Fix the release build not outputting an LWJGL jar (oops) 2009-04-10 14:27:58 +00:00
Jeremy Booth e69f281298 Make the release build also compile the debug jar 2009-04-09 21:18:19 +00:00
Jeremy Booth 894828578e Parameterise the signing of the applet, and don't fail if the debug jar is missing. 2009-04-09 20:22:45 +00:00
Jeremy Booth 4deab98889 Updates for solaris and linux builds. 2009-04-08 21:53:59 +00:00
Jeremy Booth 18e1db9336 Updates for building windows 64 bit builds in VC express 2009-04-08 20:18:29 +00:00
Kevin Glass 175eb088c6 Ported GLU tessellation code from JOGL to work within LWJGL 2009-04-05 22:07:46 +00:00
Ioannis Tsakpinis 757f3bbbce Fixed ContextAttribs version validation.
Added OpenGL version test.
2009-04-04 19:19:43 +00:00
Ioannis Tsakpinis b979723e45 Added support for ARB_copy_buffer and updated the GL31 copy buffer tokens. 2009-03-27 12:56:14 +00:00
Ioannis Tsakpinis 578a6d2617 Added GLX_ARB_create_context tokens. 2009-03-26 11:15:43 +00:00
Ioannis Tsakpinis 1e4499f527 Force forward compatible mode when we have GL3.1+ but miss ARB_compatibility.
Added support for ARB_framebuffer_object.
Added support for GLX_ARB_create_context. (WIP)
Improved postfix stripping in the generator.
2009-03-26 11:08:43 +00:00