Commit Graph

1036 Commits

Author SHA1 Message Date
Brian Matzon 0b6885202b dont double create AL 2005-10-21 18:51:20 +00:00
Brian Matzon 82f935ae34 using OpenAL32.dll name 2005-10-20 21:46:20 +00:00
Brian Matzon bf3a431ce7 changed search order to:
1) Library path
2) Current dir
3) OS search
2005-10-20 21:32:33 +00:00
Elias Naur 4636c4b251 Added the opengl-template-pattern ant property to control the set of included opengl extensions 2005-09-29 18:12:20 +00:00
Elias Naur df2bc7d7e0 Moved generated files to seperate directories 2005-09-29 17:13:38 +00:00
Elias Naur 39cb1c580d Win32: Moved some Win32Display.getVersion code to java 2005-09-23 10:39:56 +00:00
Elias Naur 77412a26a2 Win32: Moved some registry access code to java (for Win32Display.getAdapter()) 2005-09-23 10:25:24 +00:00
Elias Naur 2bb7d78c0f OpenAL: Made AL.create complain if it is already created to match Display.create behaviour 2005-09-16 06:50:34 +00:00
Elias Naur f7aa8b982b OpenAL: Cleaned up visibility and removed unnecessary static fields from AL 2005-09-16 06:43:10 +00:00
Caspian Rychlik-Prince df1c875ff4 Further tweakage 2005-09-15 23:15:13 +00:00
Caspian Rychlik-Prince 3399b6409e Altered create() methods to supply sane defaults 2005-09-15 19:30:49 +00:00
Elias Naur 57635274d2 Mac OS X: Fetch the current viewport dimensions instead of assuming them equal to the current window size 2005-09-09 10:27:13 +00:00
Brian Matzon 8904f18bae applied DarkProphets patch for better error handling and more types 2005-09-07 16:06:06 +00:00
Brian Matzon 1b453d6e10 use buffer.get since we dont have a backing array 2005-09-07 15:43:52 +00:00
Elias Naur 06d8470691 Made GLContext OGL version parsing more robust 2005-08-29 20:14:59 +00:00
Brian Matzon 7b57affe3c Workaround for Sun JDK bug 4796548 which still exists in java for OS X 2005-08-20 19:09:02 +00:00
Caspian Rychlik-Prince 4e3a47e343 *** empty log message *** 2005-08-20 10:33:28 +00:00
Brian Matzon b2713156b8 fixed XPMFile to use InputStream load method too 2005-08-18 13:55:10 +00:00
Brian Matzon 0481285dd9 added everything but the kitchen sink 2005-08-18 11:27:44 +00:00
Brian Matzon 2656b694e1 0.98 version string 2005-08-17 22:05:15 +00:00
Elias Naur e98e4029cb Added fast path to GLContext.getCapabilities() optimized for single threaded applications 2005-08-07 12:19:09 +00:00
Brian Matzon fe3b071f0f fix for matrox parhelia, they wont accept NULL buffer, despite the specs saying it's legit. Bugfinding: Javazoid 2005-07-20 07:30:26 +00:00
Brian Matzon eb795b9ecb caching of window icon 2005-07-16 11:15:37 +00:00
Kevin Glass 9c40ee58b1 LWJGL icon used as window icon in test. 2005-07-16 10:37:00 +00:00
Kevin Glass 5e72533772 Fix for compilation on 1.4, remove autoboxing 2005-07-16 10:36:13 +00:00
Brian Matzon c100909c35 XPM File reader 2005-07-16 09:11:26 +00:00
Brian Matzon 6bfd01502b way simple icon test 2005-07-11 17:05:11 +00:00
Kevin Glass ce83d997bf Fix size check bug in icon setting. Divide by four to get the size of the buffer in pixels. 2005-07-10 20:15:55 +00:00
Kevin Glass d99ec21e90 Updated Win32 native interface to use IntBuffers rather than ByteBuffers 2005-07-05 22:09:44 +00:00
Kevin Glass 94e0bb30c0 Added methods to set the window icon. MacOS implementation added using AWT images. 2005-07-05 21:54:12 +00:00
Brian Matzon 105c859ed7 automatic polling via Display.update(); 2005-06-29 20:48:58 +00:00
Brian Matzon 351e6f5b19 support isCreated and destroy (destroy currently ignored) 2005-06-29 20:47:18 +00:00
Brian Matzon e487a4a2b9 decrease visibility of classes 2005-06-29 20:38:21 +00:00
Kevin Glass 0ae6c420ef Initial controller input checkin. Source for the wrapper round JInput including the test tool. 2005-06-29 20:11:15 +00:00
Elias Naur dda8ac8af1 Mac OS X: Handle MouseEvent.NOBUTTON case 2005-06-29 07:39:28 +00:00
Elias Naur 839306597b Check for null pixel format in Display.create 2005-06-16 20:59:55 +00:00
Brian Matzon 40e821ffff patch as per: http://lwjgl.org/forum/viewtopic.php?t=1130 2005-06-16 11:18:44 +00:00
Ioannis Tsakpinis e77c1807ce Fixed mode parameter 2005-06-07 10:33:17 +00:00
Brian Matzon 75309ab96d set displaymode when it isn't null! 2005-06-05 11:50:32 +00:00
Elias Naur 29a51b7cad Added doPrivileged to MacOSXDisplay.setCursorPosition() 2005-06-01 07:18:09 +00:00
Elias Naur f1705b7fde Added AccessController.doPrivileged where needed 2005-05-30 16:21:05 +00:00
Brian Matzon fd36f96df9 javadoc 2005-05-29 22:16:56 +00:00
Brian Matzon 05c762be22 added getILType(filename) 2005-05-29 22:14:32 +00:00
Brian Matzon 25badde4c9 added UlfJacks GL_FLOAT patch for gluScaleImage 2005-05-28 08:48:01 +00:00
Elias Naur aef35ae0ed Linux AWT: in case we're not on a SUN jdk, try to determine values instead of bombing out. This should help us compile and run on gcj 2005-05-27 11:50:13 +00:00
Brian Matzon 4a85362ccb added System.exit so that vm instances gets nuked in webstart 2005-05-22 12:12:10 +00:00
Brian Matzon 4ad9b565d5 using .dylibs for devil on mac 2005-05-22 11:14:00 +00:00
Brian Matzon 322f35351b fixed fmod webstart loading 2005-05-19 22:32:30 +00:00
Brian Matzon 8d18a63f59 0.97 version string 2005-05-18 21:02:41 +00:00
Elias Naur b12ac2c44c Mouse: Allow delta queries when not grabbed. 2005-05-17 08:04:48 +00:00
Brian Matzon 348d9922b4 use internal lock mechanism instead of own instance 2005-05-12 15:45:53 +00:00
Brian Matzon a4e8f36130 Threading 101: dont sleep while holding a lock 2005-05-12 15:44:48 +00:00
Brian Matzon c5c80aaa57 updated test to expect exceptions 2005-05-12 15:44:22 +00:00
Elias Naur 0f5281e24f OpenAL: Made the openal library path returned by the current ClassLoader and cwd more override java.library.path. Converted some printfDebug to printfDebugJava 2005-05-12 07:47:07 +00:00
Brian Matzon 04b3595477 added missing enums 2005-05-10 22:31:09 +00:00
Elias Naur 9902110033 Removed update() from Display.createWindow() as it caused garbage to appear as the first frame. Added a black background brush t win32 window class 2005-05-06 09:40:36 +00:00
Elias Naur 78e75012ba Mac OS X: Enable native cursor in Mac OS X 10.4 and later because Apple fixed the outstanding bugs 2005-05-05 11:04:17 +00:00
Elias Naur 137cad2394 Properly reset Keyboard on destroy() 2005-05-05 10:16:46 +00:00
Elias Naur 523a5c6fc2 Fixed generator to not include checkALerror.h 2005-05-05 10:02:45 +00:00
Caspian Rychlik-Prince 200ed3792a Cleanup of unused imports 2005-05-04 20:59:44 +00:00
Caspian Rychlik-Prince 2d46f5580a Internal tweaks to allow certain display mode changes 2005-05-04 20:41:24 +00:00
Caspian Rychlik-Prince 4747c4878b Clean state after destroy 2005-05-04 20:38:29 +00:00
Elias Naur 1c49b2f969 Mac OS X: Only use SetSystemUIMode workaround on 10.3 and lower 2005-05-03 09:08:12 +00:00
Elias Naur 4d5957a22a Corrected AWTGLCanvas documentation 2005-04-30 15:37:42 +00:00
Elias Naur 019a1418c6 Mac OS X: Added a workaround for the 'white screen' problem 2005-04-28 12:55:23 +00:00
Elias Naur 2cd1e740ee Removed cached width and height from Mouse 2005-04-28 11:57:38 +00:00
Elias Naur 8ae988494b Remove unused code 2005-04-28 10:52:03 +00:00
Elias Naur a32da7e226 Fon't reset the cursor position in resetMouse() 2005-04-28 10:36:51 +00:00
Elias Naur 038d929180 Allow setCursorPosition when mouse is grabbed 2005-04-28 10:31:32 +00:00
Elias Naur 0b9d221f9c Fix cursor jumping after Mouse.setGrabbed() 2005-04-28 09:57:45 +00:00
Elias Naur c8d5fe296b Moved AWTSurfaceLock retry-loop to java to avoid non-standard sleep functions 2005-04-27 20:30:14 +00:00
Elias Naur e492cd240b Linux: try to work around crash on opengl library unload 2005-04-25 07:47:28 +00:00
Elias Naur a1e593cee0 Linux: Fixed crash 2005-04-25 07:26:07 +00:00
Elias Naur 096fca927d Mac OS X: Fix potential NPE 2005-04-18 06:47:41 +00:00
Elias Naur 5fe3157227 *** empty log message *** 2005-04-12 11:56:59 +00:00
Elias Naur 61ddd625df Added Mouse.setCursorPosition(x, y) 2005-04-12 11:45:06 +00:00
Elias Naur f3d3ce7ce5 Moved ALC error check to java. Fix linux type cast warnings 2005-04-12 10:55:23 +00:00
Elias Naur f5cf0ef2a4 Converted ALC pointers from int to long 2005-04-12 10:30:05 +00:00
Elias Naur 0e6c9aa0cd Added LWJGLUtil.getPlatform to encapsulate platform detection. Added FreeBSD as an alias to Linux. 2005-04-09 17:35:37 +00:00
Caspian Rychlik-Prince 24c3017d68 Replaced sync() with a method that works, based on sync2() and Thread.sleep(1) 2005-04-09 16:45:14 +00:00
Elias Naur fecbafc097 Don't emit initNativeStub() when generating context-specific OpenGL java classes 2005-04-04 11:19:18 +00:00
Elias Naur d53a793a27 Linux: Fix crash on exit on NVIDIA 2005-03-31 09:32:04 +00:00
Elias Naur 1619279ed1 Fix linux openal library name 2005-03-30 08:32:15 +00:00
Brian Matzon 198a7f5516 updated text to print proper org.lwjgl.util.Debug 2005-03-29 20:47:25 +00:00
Brian Matzon ad8d7676c2 moved Sys.log to LWJGLUtils and renamed property to org.lwjgl.util.Debug 2005-03-29 18:09:33 +00:00
Elias Naur c9fc024fa4 Linux: Moved display connection reference count to java. Linux: Load OpenGL library before opening display to work around a crash in NVIDIA drivers. 2005-03-29 11:31:22 +00:00
Brian Matzon 3dc9e4e4cf first stab at one-shot devil initialization on mac 2005-03-28 13:08:48 +00:00
Brian Matzon 97f919869e reworked detection of native paths to shared implementation in new class LWJGLUtil 2005-03-28 12:44:33 +00:00
Brian Matzon daa07a6fc0 added missing v methods 2005-03-28 10:07:30 +00:00
Brian Matzon 369f13ab4d minor cleanup 2005-03-27 20:12:47 +00:00
Brian Matzon 2e906f07bf minor cleanup 2005-03-27 19:48:47 +00:00
Brian Matzon c706319f08 minor cleanup 2005-03-27 19:36:09 +00:00
Brian Matzon 38dc39c8dc reworked methods to use buffer position
removed not used code
2005-03-27 19:34:44 +00:00
Brian Matzon ef3c0f81e0 fixed lib names 2005-03-25 13:00:06 +00:00
Brian Matzon ff21520179 added ilutGet<type>v 2005-03-25 01:42:04 +00:00
Brian Matzon 831fd20b18 cleanup 2005-03-25 01:40:42 +00:00
Brian Matzon 822013ef33 small cleanup 2005-03-25 01:15:26 +00:00
Brian Matzon ed3dacf6a3 dynamic loading of devil 2005-03-25 01:08:18 +00:00
Elias Naur c3d6665585 Minor fix(2) 2005-03-23 10:06:17 +00:00
Elias Naur 78c2900cd9 Minor fix 2005-03-23 10:05:05 +00:00