Commit Graph

2642 Commits

Author SHA1 Message Date
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
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
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
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
Ioannis Tsakpinis 03c799e87f Added support for OpenGL 3.1
Added support for a bunch of new OpenGL extensions.
2009-03-25 17:43:56 +00:00
Elias Naur 218d005aaf Linux: Fixed failure to create window on newer ATI mesa drivers 2009-03-19 21:50:30 +00:00
kappa1 97c038cd06 Bugfix for incorrect speed calculation, thanks to Dashiva for spotting it. 2009-03-19 19:50:38 +00:00
Brian Matzon 8def41ccae support for OpenAL 64bit on windows 2009-03-17 21:36:18 +00:00
kappa1 30dfad6c15 Improved focus handling for Display.setParent() on linux. Focus is now released from Display when X fires a focus change event. 2009-03-11 21:05:05 +00:00
kappa1 6b0b033162 When an applet is run in debug mode, output in console that a cached version of the applet is being loaded.
A number of people were having problems with applets not updating, this was due to them leaving the cache tag on by mistake, hopefully this should alert them earlier and avoid time being wasted in tracking the issue.
2009-03-10 15:34:38 +00:00
kappa1 a33207320d fixed focus loop when using Display.setParent() on linux, this caused input keys to be missed as the focus shifted from parent to Display and back again. 2009-03-09 21:53:11 +00:00
Brian Matzon 8f91dfcdc7 updating version to 2.1.0 2009-03-09 21:07:38 +00:00
Ioannis Tsakpinis 2aaf0f6513 Added support for glNamedBufferDataEXT(int buffer, long size, int usage). 2009-02-05 16:18:42 +00:00
Elias Naur 2f3fbf28de Added Display.setDisplayModeAndFullscreen(mode) to switch mode and set fullscreen in one call (idea stolen from MatthiasM). Tweaked FullScreenWindowedTest to use the new method. 2008-12-28 19:30:43 +00:00
Elias Naur 825e724904 Renamed DisplayMode.isFullscreen() to DisplayMode.isFullscreenCapable and made it public 2008-12-28 17:50:08 +00:00
Elias Naur 94bd43ce19 Windows: Handle missing va_copy macro in MSVC 2008-12-22 16:38:57 +00:00
Elias Naur f8d5028de3 Made sprintfJavaString handle arbitrary length strings and reduce stack usage 2008-12-22 16:27:21 +00:00
Elias Naur 4b93774ef7 Windows 64: Enabled lwjgl64.dll and fixed crash 2008-12-22 11:55:28 +00:00
Brian Matzon 50a08f1de4 missing @OutParameter on alSourceUnqueueBuffers 2008-12-03 19:22:20 +00:00
Elias Naur c6dac86af5 Windows: Fixed type punning compiler warnings 2008-11-22 15:05:07 +00:00
Elias Naur c8990c0915 Windows: Fixed pointer size compiler warning 2008-11-22 15:00:44 +00:00
Elias Naur e436a32741 Windows: Removed unused variable 2008-11-22 14:54:15 +00:00
Elias Naur 69f0e13e3b Windows: Removed unused variable 2008-11-22 14:51:36 +00:00
Brian Matzon b4f3c0e54b windows compile fixes 2008-11-10 20:38:55 +00:00
Elias Naur b5846167bb extgl.h should use definitions from the BSD licensed Mesa gl.h and glext.h instead of the original SGI gl.h/glext.h to avoid the SGI license 2008-11-10 20:07:21 +00:00
Brian Matzon e419f96716 2.0.1 version string 2008-11-03 19:39:23 +00:00
Elias Naur ed1f8d70f4 Removed redundant fullscreen argument from DisplayImplementation.createWindow 2008-10-28 10:05:37 +00:00
Elias Naur 69080599cb Windows: Bumped JNI_VERSION 2008-10-28 09:54:25 +00:00
Elias Naur 41c90bc7cc Windows: Merged native handling of undecorated and fullscreen window property 2008-10-28 09:53:16 +00:00
Elias Naur d464876fe0 Windows: Only clip mouse to window borders if the lwjgl window is the foreground window 2008-10-27 14:04:12 +00:00
Elias Naur 95a13203a1 Properly handle non-fullscreen DisplayModes 2008-10-02 08:10:47 +00:00
Elias Naur a7accb99a0 Added Display.getDesktopDisplayMode() 2008-10-02 07:34:22 +00:00
Ioannis Tsakpinis 8525a64d54 Fixed missing braces 2008-09-23 11:49:41 +00:00
Ioannis Tsakpinis b9b1d0b275 Potential fix for PixelFormat choice on ATI cards. 2008-09-17 11:27:49 +00:00
Elias Naur 36d9d31dab Mac OS X: Be less aggressive when grabbing mouse to allow dragging of lwjgl windows with grabbed mouse 2008-09-11 09:52:23 +00:00
Elias Naur 2aadd34297 Bumped all jni versions 2008-09-07 08:21:28 +00:00
Elias Naur 708f354267 Added support for loading libopenal64.so. Added libopenal64.so compiled from openal soft 1.5.304. 2008-09-07 08:16:11 +00:00
Ioannis Tsakpinis f6c233d49f (Get)TexEnv calls are not deprecated (TEXTURE_ENV target is) 2008-08-24 12:35:26 +00:00
Ioannis Tsakpinis 6ea785334e ContextAttribs: changed factory to constructor initialization
Fixed compatible spelling
Small pbuffer fix
2008-08-19 17:47:24 +00:00
Ioannis Tsakpinis d7ee23f9b2 Added support for OpenGL 3.0 functionality
Added support for OpenGL 3.0 context creation (MAJOR/MINOR versions, DEBUG mode, FORWARD_COMBATIBLE mode)
Added support for OpenGL 3.0 context sharing
Added support for OpenGL 3.0 extension detection
Improved support for floating point PixelFormats (ARB_color_buffer_float)
Added support for packed floating point PixelFormats (EXT_packed_float)
Added support for sRGB PixelFormats (ARB_framebuffer_sRGB)
Added support for pseudo-FORWARD_COMBATIBLE mode (deprecated functions not loaded)
Added support for EXT_direct_state_access
2008-08-19 16:46:03 +00:00
kappa1 0deaed34a5 Added al_solaris parameter to LWJGL's Appletloader. LWJGL Applets should be ready to go on Solaris as soon as binaries are. 2008-08-12 21:02:06 +00:00
Elias Naur 8896ec3631 Linux: Avoid unneccessary mode switching in LinuxDisplay.resetDisplayMode (patch by buggs) 2008-08-12 17:05:26 +00:00
Ioannis Tsakpinis f202fe6f3a First batch of OpenGL 3.0 functionality. (WIP) 2008-08-11 23:05:10 +00:00
Brian Matzon 2c96ab67ae added opengl init code, previously assumed from Diplay 2008-07-02 20:00:49 +00:00
Brian Matzon a15dad6555 fixed utf-8 issue 2008-06-26 19:21:02 +00:00
Elias Naur 65c180fa48 Linux: Added sanity checking to LinuxDisplay.setIcon 2008-06-16 18:31:43 +00:00
Elias Naur d3b13b23dd Display.setIcon: Preserve icon buffer positions 2008-06-16 18:29:18 +00:00
Brian Matzon 32da20827a made windowClosing work by using a flag
dont render if width or height < 1
2008-06-08 09:30:24 +00:00
Brian Matzon c6a1088a70 cleanup of imports 2008-06-05 13:36:57 +00:00
Brian Matzon bac8c09ba2 fixed internal use of deprecated keys 2008-06-05 13:35:32 +00:00
Elias Naur 79cca6e205 Windows: Removed unused dinputhelper.c/h 2008-06-05 13:11:04 +00:00
Brian Matzon 1099551ad9 missing special handler for ALC_ALL_DEVICES_SPECIFIER 2008-06-05 08:12:14 +00:00
Brian Matzon 8a163a0531 missing destroy 2008-06-05 08:11:17 +00:00
Brian Matzon 929217d8d8 dont use String.format *grumble* 2008-06-04 21:36:59 +00:00
Brian Matzon e8cd4439cb OpenAL info program a la openal-soft's openal-info 2008-06-04 21:31:52 +00:00
Brian Matzon 625dc0fb28 support for ALC_ENUMERATE_ALL_EXT 2008-06-04 21:31:07 +00:00
Brian Matzon 2886b754a9 rc1 identifier string 2008-06-04 19:40:24 +00:00
Elias Naur 1071c31bc0 Removed dead code from Display 2008-05-30 07:08:14 +00:00
Elias Naur f18b5baa09 Removed Display.sync2 and Display.sync3 2008-05-30 06:53:33 +00:00
Elias Naur be5837c7d0 Mac OS X: Call setFocusTraversalKeysEnabled(false) on LWJGL created MacOSXGLCanvases 2008-05-23 11:03:31 +00:00
kappa1 164b6f9008 added support for displaying the current download speed 2008-05-22 00:04:11 +00:00
kappa1 fab73d2e8f removed repaint() which had no effect. 2008-05-11 14:41:46 +00:00
kappa1 c11fa3f1ee workaround no longer needed for paint() and switchApplet(), removes blank screen delay between java2d and lwjgl switch. 2008-05-06 21:47:49 +00:00
Elias Naur 9293ee4073 Windows: Split WindowsDisplay.nDestroyWindow into nReleaseDC and nDestroyWindow 2008-05-05 17:24:42 +00:00
Elias Naur 5e06f19944 Windows: Generalized WindowsDispaly.nCreateWindow 2008-05-05 16:46:16 +00:00
Elias Naur b6b83936ac Windows: Clean up window in case of exception thrown from WindowsDisplay.createWindow 2008-05-02 11:05:49 +00:00
Elias Naur b11fcc99f6 Windows: Moved pixel format logic from WindowsDisplayPeerInfo.initDC to WindowsDisplay.createWindow 2008-05-01 09:55:54 +00:00
Elias Naur bf4b5a5890 Windows: Made WindowsPeerInfo.choosePixelFormat static and let WindowsPeerInfo.setPixelFormat be called seperately 2008-05-01 09:44:19 +00:00
Elias Naur ef5bf0361b Windows: Split nChoosePixelFormat's applyPixelFormat() out in a seperate function 2008-05-01 09:37:21 +00:00
Elias Naur 0a3bf6e075 Windows: Moved icon handles to java 2008-05-01 09:20:57 +00:00
Elias Naur 4dde43f5fe Windows: Check for Display.isCreated in Sys.getHwnd() 2008-04-30 19:00:08 +00:00
Elias Naur bcb909f5a9 Windows: Moved hwnd and hdc to java 2008-04-30 16:40:14 +00:00
Elias Naur 1006aed308 Windows: Made WindowsDisplayPeerInfo take hwnd and hdc arguments 2008-04-30 16:01:25 +00:00
Elias Naur 2420133bb9 Windows: Moved child window style selection to java 2008-04-30 15:29:39 +00:00
Elias Naur 8b0b1b8b63 Added platform specific getJNIVersion implementations 2008-04-30 14:58:47 +00:00