Commit Graph

995 Commits

Author SHA1 Message Date
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
Elias Naur cf978fcf1a Added SHIFT-F in WindowCreationTest to do a complete fullscreen toggle 2005-03-23 09:56:22 +00:00
Brian Matzon ee668cf9de Work In Progress - demobox 2005-03-23 06:44:02 +00:00
Brian Matzon d7c9d3c562 fixed license 2005-03-22 22:02:50 +00:00
Elias Naur a5af4dfeba Added missing file 2005-03-22 12:41:33 +00:00
Brian Matzon c3733213c6 updated WindowCreationTest to allow more dynamic testing 2005-03-21 21:28:16 +00:00
Elias Naur 87bf14c698 Implemented strong references in glVertexPointer and friends 2005-03-21 08:27:45 +00:00
Brian Matzon 665839e202 updated version string to 96 2005-03-16 21:18:41 +00:00
Elias Naur e6f4e08365 Sync generated source files 2005-03-16 11:47:24 +00:00
Mark Bernard f7e73b3ea7 DevIL dynamic lib loading. Added some Mac and Linux code. 2005-03-15 03:53:43 +00:00
Caspian Rychlik-Prince 76cb2ba735 Removed that ugly calibration code! Now using a new kind of hires timer instead. 2005-03-13 20:12:50 +00:00
Ioannis Tsakpinis 2e2396d1f0 Fixed GetShader & GetProgram 2005-03-11 16:19:02 +00:00
Elias Naur 7986b0abef OpenAL: Don't use System.mapLibraryName 2005-03-09 13:28:16 +00:00
Elias Naur 7251a38930 OpenAL: Moved more library loading from native to java 2005-03-09 13:06:17 +00:00
Elias Naur ed325d0c95 Moved Win32 specific code to win32 specific class(!) 2005-03-09 08:37:06 +00:00
Caspian Rychlik-Prince 7d7ec34082 Fixed up bugs and problems in new timer calibration code. 2005-03-08 23:13:50 +00:00
Brian Matzon 94cb99de64 fixed loading of awt through use of loadLibrary on windows 2005-03-08 20:44:41 +00:00
Caspian Rychlik-Prince 43a4117e42 New auto-calibrating system hires timer. 2005-03-08 14:46:46 +00:00
Brian Matzon 4946bf9b60 cleanup 2005-03-07 16:17:25 +00:00
Brian Matzon 20fbdd18be AWT version of gears 2005-03-07 16:15:14 +00:00
Brian Matzon 336f2f6a34 moved WaveData to util 2005-03-01 16:49:52 +00:00
Brian Matzon 8bf163d7a8 moved WaveData to util 2005-02-25 20:24:11 +00:00
Elias Naur a5469e6ff3 Win32: Handle context-dependent wgl extensions 2005-02-24 13:24:08 +00:00
Elias Naur f9400843aa Mac OS X: getPbufferCapabilities no longer requires a current context 2005-02-24 11:09:16 +00:00
Elias Naur bdcb68a582 Linux: Handle different GLX capabilities on different screens 2005-02-24 10:44:34 +00:00
Elias Naur 2e03a6426b Made Context.setVSync static. Added synchronization. 2005-02-23 12:12:47 +00:00
Elias Naur 2586270d03 Removed debug 2005-02-23 11:47:47 +00:00
Elias Naur d28a2ad61c Clean up java code 2005-02-23 11:45:25 +00:00
Elias Naur f84e2ceb26 Linux: Make sure libjawt.so can be loaded 2005-02-23 11:22:14 +00:00
Elias Naur 3085702a38 Mac OS X port of the refactoring. Linux and Win32 fixes. 2005-02-23 11:11:08 +00:00
Elias Naur acbbf03fe6 Removed loading of jawt, since it does not exist on mac 2005-02-22 14:10:06 +00:00
Elias Naur 9a764b3d33 Linux: moved handle allocations to native 2005-02-22 13:59:33 +00:00
Elias Naur 47814d58f4 Fix AWTGLCanvas to create context and make it current in paint(). GL usage can then only happen from an overidden paintGL(). 2005-02-22 13:35:09 +00:00
Elias Naur ca260e3330 *** empty log message *** 2005-02-21 15:58:24 +00:00
Elias Naur 8bb10a1372 Linux: moved Cursor handle allocation to native side 2005-02-21 15:56:53 +00:00
Elias Naur 62e561cddf Win32 part of refactor and AWTGLCanvas 2005-02-21 14:46:47 +00:00
Caspian Rychlik-Prince 39694b9780 Moved generator to util packages 2005-02-20 19:28:34 +00:00
Elias Naur 61949cea24 *** empty log message *** 2005-02-20 12:31:42 +00:00
Elias Naur 451a5b9d92 Fixed reflection method names in LinuxCanvasImplementation.java 2005-02-20 12:24:02 +00:00
Elias Naur 8364443052 Made Linux specific code use reflection to avoid compilation errors on other platforms 2005-02-20 12:05:19 +00:00
Elias Naur 91813bfc09 Added missing file 2005-02-20 11:36:15 +00:00
Elias Naur fb5d89599b Linux support for AWTGLCanvas. Big refactor of context specific code into Context.java that is now shared between Display, Pbuffer and AWTGLCanvas. (Win32 and Mac OS X is now broken while I implement the same changes on those platforms) 2005-02-20 11:24:22 +00:00