Commit Graph

945 Commits

Author SHA1 Message Date
Elias Naur 250a87767f Removed Controller 2005-01-18 15:32:13 +00:00
Elias Naur 8220b2e04c Removed EAX 2005-01-18 15:22:52 +00:00
Elias Naur d64589aaa7 Linux: removed org_lwjgl_input_Controller.c, since the methods were empty anyway 2005-01-18 14:09:27 +00:00
Elias Naur fbcd19698b Moved Mouse.getNativeCursorCaps() to Cursor.getCapabilities()
Renamed Pbuffer.getPbufferCaps() to Pbuffer.getCapabilities()
2005-01-18 12:34:36 +00:00
Elias Naur 78e665d773 Win32: hardened getAvailableDisplayModes 2005-01-16 11:12:57 +00:00
Elias Naur 8668ab3e89 Linux: Hardened getAvailableDisplayModes so that it won't be confused by a changing number of display modes while it is executing 2005-01-16 10:43:30 +00:00
Ioannis Tsakpinis dd312b492b createARBContextAndPixelFormat didn't return true when ok 2005-01-15 23:52:53 +00:00
Ioannis Tsakpinis 2227e83ea4 Completed GL 2.0 2005-01-15 23:50:55 +00:00
Elias Naur ed3acebaa5 Win32: Fix Pbuffer.getPbufferCaps() 2005-01-15 15:45:54 +00:00
Elias Naur 2d62731a3d Win32: Fix pbuffer context sharing 2005-01-14 13:56:51 +00:00
Elias Naur 37f6c9fe97 Linux: Don't free Pbuffer when it is not created 2005-01-14 13:30:41 +00:00
Elias Naur 0e15025879 Win32: Fix native crash when no suitable pixel format is found. 2005-01-14 11:20:04 +00:00
Elias Naur 859204c4a0 Don't make context current in DisplayImplementation.createWindow(), but let Display do it explicitly to increase native call granularity 2005-01-14 09:24:59 +00:00
Ioannis Tsakpinis 0c6521397e Implemented PBO support 2005-01-13 20:30:39 +00:00
Elias Naur 2f536fef59 remove const from offsetToPointer in common_tools.h since PBO functions take non-const pointers 2005-01-13 12:14:10 +00:00
Ioannis Tsakpinis 01e6f3c27c Implemented PBO support 2005-01-13 02:17:42 +00:00
Mark Bernard 3e1651e8e0 Add files for ILUT portion of DevIL. 2005-01-12 12:30:34 +00:00
Elias Naur 7d8cc6abbb Linux: Release context before destroying it 2005-01-12 12:20:53 +00:00
Elias Naur ccd37148e1 Linux: Implemented AWT synchronization through JAWT. Needed because Xlib is not guaranteed thread safe 2005-01-11 15:22:12 +00:00
Elias Naur d1f039a1b0 Win32: Compile fixes 2005-01-11 14:05:14 +00:00
Elias Naur c90625eb1f macosx compile fix 2005-01-11 14:03:50 +00:00
Elias Naur 925139bc7d Added a Pbuffer argument to the Pbuffer constructor to enable sharing between pbuffers when the display is not created. Moved Pbuffer native methods into DisplayImplementation. 2005-01-11 13:53:12 +00:00
Elias Naur 28aff73635 Win32: Fixes for previous commit 2005-01-10 09:21:35 +00:00
Elias Naur e31b1ee12d I've discovered that at least one Win XP configuration doesn't support the DirectInput cooperative level NONEXCLUSIVE | FOREGROUND for mouse devices. Fortunately, we don't really need that coop level anyway, so I have replaced it with Unacquire/Acquire. 2005-01-10 08:48:13 +00:00
Mark Bernard af70a0ef76 First pass at ILU portion of DevIL. Only basic testing is one. No dynamic loading yet. 3 methods not implemented yet. 2005-01-09 04:59:50 +00:00
Elias Naur 4def20c892 Linux: Moved trivial methods from native to java 2005-01-06 14:03:48 +00:00
Elias Naur 323a317658 Win32: Clean up mouse error handling 2005-01-06 13:07:30 +00:00
Elias Naur 7d5528e02c Win32: Clean up mouse error handling 2005-01-06 13:06:41 +00:00
Elias Naur 68c3c8629b More debug output 2005-01-06 11:41:49 +00:00
Elias Naur a07ab9069e Added debugging 2005-01-06 09:18:25 +00:00
Elias Naur da186e5057 Added debugging 2005-01-06 08:56:31 +00:00
Elias Naur b535bd0273 Don't close iconv descriptor if it is opened 2004-12-14 19:12:56 +00:00
Elias Naur 5b54273d2c Linux: Fix missing symbol in fmod3 lib 2004-12-14 12:59:53 +00:00
Brian Matzon 16fc090691 0.94 2004-12-13 17:16:47 +00:00
Brian Matzon 9dbf3119d7 include wtypes.h on win32 platforms 2004-12-13 17:06:48 +00:00
Elias Naur d09cdc634f Fixed mac opengl loading bug 2004-12-13 11:11:28 +00:00
Elias Naur 8419537ef7 More linux debug 2004-12-12 19:02:43 +00:00
Elias Naur 1263176471 *** empty log message *** 2004-12-12 17:07:45 +00:00
Elias Naur 46f9ce6ca4 Added more debug output to linux 2004-12-12 16:55:38 +00:00
Elias Naur 5e33c02133 let extgl_Open throw the exception to gain more information about the failure 2004-12-12 16:21:16 +00:00
Brian Matzon 9494a40140 using vsnprintf for printfDebugJava *fix* 2004-12-12 10:44:34 +00:00
Brian Matzon fffb5c2e42 dont do anything in nCreate untill dynamic loading is implemented 2004-12-12 10:43:42 +00:00
Brian Matzon ca774aa3ad using vsnprintf for printfDebugJava 2004-12-12 10:39:45 +00:00
Elias Naur 3f11e82950 Fixed up DevIL and added linux makefiles 2004-12-12 10:13:55 +00:00
Brian Matzon 4df51c137a make it compile 2004-12-12 10:12:49 +00:00
Elias Naur d1fb731587 Added java debug to all of linux native code 2004-12-11 20:18:18 +00:00
Elias Naur 7e4fc4c3b9 Added java debug output to linux display.c 2004-12-11 20:09:04 +00:00
Elias Naur 5ee6565bb5 Tweaked linux native isActive() and added printfDebugJava to print debug from native through Sys.log 2004-12-11 19:44:53 +00:00
Elias Naur a65a9a3001 More linux fixes 2004-12-11 11:29:07 +00:00
Elias Naur 402f46e64d More linux fixes 2004-12-11 11:21:01 +00:00
Elias Naur f8dc7fa67b Linux: Fix more mouse handling bugs 2004-12-11 11:11:23 +00:00
Elias Naur bc6cabc1fd Support org.lwjgl.opengl.Window.allowSoftwareOpenGL on Mac OS X 2004-12-11 10:47:21 +00:00
Elias Naur 644bbc9ac0 Improved fullscreen pointer handling 2004-12-11 08:10:44 +00:00
Elias Naur 3e59db54ab *** empty log message *** 2004-12-10 19:49:11 +00:00
Mark Bernard c5ad32857d Dynamic loading temporarily removed. 2004-12-10 19:33:56 +00:00
Mark Bernard 28393542a1 Dynamic loading 2004-12-10 01:42:35 +00:00
Mark Bernard c6b7a8b9b0 Change to ASCII. 2004-12-10 01:42:00 +00:00
Elias Naur 46967b394c Converted win32 specific native source from C++->C (removes the strange debug flag behaviour exhibited by SourceLimitTest.java) 2004-12-09 15:36:13 +00:00
Mark Bernard 074af135eb Fixed native exception. 2004-12-08 19:27:12 +00:00
Mark Bernard 0b746d6392 Add dynamic loading for DevIL routines. Add all functions that can be called platform independently. 2004-12-08 19:15:50 +00:00
Brian Matzon df870c3861 case insensitive key lookup, reported by zhuzheng 2004-12-07 23:07:03 +00:00
Elias Naur fd32c5b9b9 *** empty log message *** 2004-11-29 08:16:21 +00:00
Brian Matzon 3ae8c81129 only generate events if mouse is actually alive 2004-11-27 10:17:15 +00:00
Ioannis Tsakpinis 76de417bf7 glTexImageXD now accept null buffers 2004-11-25 22:11:16 +00:00
Elias Naur 2577ffd377 Split up Sys.openURL into the platform specific DisplayImplementation 2004-11-22 21:22:30 +00:00
Brian Matzon d04c4920b8 use safeGetBufferAddress when loading data
use correct size of image, instead of size of pointer (!)
2004-11-21 10:10:05 +00:00
Elias Naur 51febce1d3 Fix a memory leak in extal.c 2004-11-19 14:40:56 +00:00
Elias Naur 9ec94cb364 Move getPbufferCaps to DisplayImplementation. Mac OS X pbuffer support 2004-11-18 12:10:28 +00:00
Elias Naur 4ce552b44b Mac OS X: Add error handling to gamma functions 2004-11-16 14:23:28 +00:00
Elias Naur cea73a6b85 Mac OS X: Implemented gamma 2004-11-16 14:08:31 +00:00
Elias Naur 45607a7c69 Mac OS X: Work around AWT shifting the fullscreen window off the screen 2004-11-16 13:21:46 +00:00
Elias Naur f65ae73d47 Mac OS X: Don't hide mouse mouse when already hidden (because the cursor state is counted) 2004-11-15 15:28:53 +00:00
Elias Naur 26ce1fecae Mac OS X: Add missing file and disable native cursors because of AWT bugs 2004-11-15 14:38:00 +00:00
Elias Naur 8ee59e83fb Linux: fix compilation 2004-11-14 11:39:54 +00:00
Brian Matzon 426ec81c3c changed String handling to use proper localizing method 2004-11-14 10:42:19 +00:00
Elias Naur bf5249da86 Win32: Make isFocused false at window creation to stop the message loop from running appActivate(false) when the window is being initially activated 2004-11-14 01:18:56 +00:00
Elias Naur de41972b2e *** empty log message *** 2004-11-13 22:27:19 +00:00
Brian Matzon c9b1268c0d lets use proper arguments for localizing string call 2004-11-13 21:12:09 +00:00
Brian Matzon 1bda864efd changed String handling to use proper localizing method 2004-11-13 21:06:38 +00:00
Brian Matzon 028606af8a fix #ifdef and miscellaneous compilation issues 2004-11-13 20:55:22 +00:00
Brian Matzon f41e0542cd fix pointer 2004-11-13 20:52:47 +00:00
Elias Naur 11180c3712 Remove more autoconf files 2004-11-13 13:07:41 +00:00
Elias Naur 8458a8cbb7 Linux fixes to absolute coordinates 2004-11-12 15:43:14 +00:00
Elias Naur 95e7c3d3ff Win32 part of absolute mouse coordinates 2004-11-12 15:32:20 +00:00
Elias Naur d4d164e87e Mac OS X part of absolute mouse coords 2004-11-12 15:11:42 +00:00
Elias Naur 9741a99c64 Make read() and poll() return absolute coordinates when the mouse is not grabbed 2004-11-12 15:01:29 +00:00
Elias Naur 47c8343728 Kill off automake/autoconf/libtool build system and replace by a much simpler Makefile 2004-11-12 14:32:42 +00:00
Mark Bernard 006204de00 Full functionality from IL. Does not include Windows specific calls or anything that uses function pointers. 2004-11-12 02:54:31 +00:00
Elias Naur 2e291719fe Linux fix destroyCursor native function typo 2004-11-11 16:58:21 +00:00
Elias Naur 1ec70842d0 Mac OS X port, second try :) 2004-11-11 16:03:19 +00:00
Elias Naur 4e35eea9ca Mac OS X automake not supported 2004-11-11 14:26:00 +00:00
Elias Naur 78fc29c3cb Cursor fixup 2004-11-11 13:42:26 +00:00
Elias Naur 5b1b513aab Moved native cursors to DisplayImplementation 2004-11-11 13:27:59 +00:00
Ioannis Tsakpinis a46706b752 New extensions 2004-11-09 21:29:17 +00:00
Elias Naur 8c41a9b7be Reverted accidental debug changes 2004-11-09 11:17:28 +00:00
Elias Naur f02e90eb7e *** empty log message *** 2004-11-09 11:00:49 +00:00
Elias Naur 4094c4ed7d *** empty log message *** 2004-11-08 12:11:42 +00:00
Elias Naur e8f91ccefc Reset event queue on mouse grab 2004-11-08 12:10:26 +00:00
Caspian Rychlik-Prince a5d83e735b Removed redundant code. 2004-11-07 16:39:54 +00:00
Caspian Rychlik-Prince 810d495a83 Fixes to focus / minimize handling. Now should cope with windows popping up behind. 2004-11-07 16:36:36 +00:00