Commit Graph

271 Commits

Author SHA1 Message Date
Elias Naur b7e4214a1a Moved openal native stub loading to java 2004-07-04 09:13:19 +00:00
Elias Naur 8585d8b2a5 Make sure the GL11 native stubs are unloaded too.
Throw exception when wglMakeCurrent fails
2004-07-04 08:39:09 +00:00
Elias Naur 2cc7e0d02f *** empty log message *** 2004-07-03 17:45:26 +00:00
Elias Naur ba01e888fb *** empty log message *** 2004-07-03 17:06:56 +00:00
Elias Naur 1fd7d36188 *** empty log message *** 2004-07-03 16:38:02 +00:00
Elias Naur 0b07bb7afb *** empty log message *** 2004-07-03 16:07:52 +00:00
Elias Naur d4aa34e4f5 *** empty log message *** 2004-07-03 16:07:00 +00:00
Elias Naur 2d5ff5d23d *** empty log message *** 2004-07-03 14:41:06 +00:00
Elias Naur 48f01cf614 Split WGL out to extgl_wgl.cpp/h 2004-07-03 14:39:29 +00:00
Elias Naur fa45b4dc78 Win32 part of Display/Window merge 2004-07-03 11:29:44 +00:00
Elias Naur 86ddd2a579 *** empty log message *** 2004-07-03 11:16:59 +00:00
Elias Naur 0ea7ab410f Win32 part of Display/Window merge 2004-07-03 10:42:29 +00:00
Elias Naur 475d22e73b WIN32: Pbuffer pixel format must be single buffered 2004-07-03 10:36:26 +00:00
Elias Naur e59ed5d906 Win32 part of Display/Window merge 2004-07-03 10:16:28 +00:00
Elias Naur 84110e9c13 Linux part:
Merged Window and Display into org.lwjgl.Display
Added support for persistent context. This will enable LWJGL games
to avoid recreating the context resources like textures and display
lists when switching between windowed and fullscreen and/or context
dimensions.

Added PixelFormat class instead of individual parameters to Display.create
and Pbuffer constructor.
2004-07-02 19:02:00 +00:00
Elias Naur d03916ebec Added InitWGL after creating Anti Aliased context 2004-07-02 12:34:33 +00:00
Brian Matzon 4cea3e191b header unification 2004-06-12 20:28:34 +00:00
Brian Matzon 3a7df43117 removed obsolete getPlatform 2004-06-09 19:45:15 +00:00
Caspian Rychlik-Prince 7593877a42 No longer uses ARB pixel formats when samples == 0 2004-05-26 14:41:12 +00:00
Brian Matzon 9ed3aa45e2 only get driver once 2004-05-23 13:54:55 +00:00
Elias Naur 0786d857f8 Potential fix for the titlebar issue on win2k 2004-05-14 12:52:39 +00:00
Elias Naur 25c8f8c313 Removed C++ exception handlers 2004-05-10 08:55:09 +00:00
Caspian Rychlik-Prince b697fb3ecf Removed Sys.setTime(), Sys.getPlatform()
Changed Sys.getTime()
Added Display.sync()
2004-05-05 14:28:40 +00:00
Caspian Rychlik-Prince 3bb53392f6 Added some win32 timing tweaks 2004-05-05 13:26:21 +00:00
Elias Naur e1656b862b Win32: Added missing throwException in Controller.cpp 2004-05-05 11:30:51 +00:00
Elias Naur 7bd59ed27d Split global DirectInput interface into 3 interfaces in Mouse, Keyboard and Controller 2004-05-05 09:53:53 +00:00
Elias Naur 8099826ab7 Throw exception when win32 can't create DirectInput for some reason 2004-05-04 18:58:09 +00:00
Elias Naur 054e1f9f29 Attempt fix for out of focus mouse bug in win32 2004-05-04 18:47:47 +00:00
Brian Matzon a9506354ee fixed mouse issues, setGrabbed & native cursor now works (afaik ;)) 2004-04-12 14:46:18 +00:00
Brian Matzon 84eae4c6f6 removed restriction about native cursors, and fixed mouse not showing on setNativeCursor(null); 2004-04-12 10:37:50 +00:00
Brian Matzon 86eb042b81 reworked animated native cursors, to use X animation when required
added initial setGrabbed(boolean) feature - Work in progress
both needs verification on linux
2004-04-12 00:33:01 +00:00
Elias Naur 8065870592 Removed Keyboard.initIDs 2004-04-07 07:48:37 +00:00
Elias Naur b3b2c4a145 win32 fixup 2004-04-06 14:40:36 +00:00
Elias Naur bf8cce9b59 Make poll deltas accumulative, and only reset on getD* 2004-04-06 14:23:19 +00:00
Elias Naur 40373ec422 Reverted the dirty flag change, because it might be used as a flag to check if the back buffer is corrupted when creating textures from the it. You can't just swap the back buffer in to clear the flag in that case. So we need the flag to be cleared also when isDirty is called 2004-04-04 14:09:12 +00:00
Caspian Rychlik-Prince bd0091b8d9 *** empty log message *** 2004-04-04 13:38:18 +00:00
Caspian Rychlik-Prince 85130ebd90 Rules with mighty fist. New API killed off before it even sees light of day. Some refactoring. 2004-04-04 12:53:45 +00:00
Elias Naur b0a9be7721 Fixed a possible buffer overflow bug in Mouse 2004-04-04 07:37:22 +00:00
Caspian Rychlik-Prince 37262e6727 New window sizing & undecorated code 2004-04-03 23:01:39 +00:00
Elias Naur 021e03eea5 Implemented version check to check for incompatible native libraries 2004-03-27 14:09:55 +00:00
Elias Naur 8a2d246060 Saved input events for win32 2004-03-26 21:49:10 +00:00
Elias Naur af6c61c241 Use the actual buffer size in nPoll 2004-03-23 07:47:39 +00:00
Brian Matzon bb51e3dc23 Cursor animation support regardless of platform features 2004-03-21 21:54:57 +00:00
Brian Matzon 3b875b1781 support for 'org.lwjgl.opengl.Window.allowSoftwareOpenGL'
added utility getBooleanProperty method
2004-03-11 21:30:48 +00:00
Elias Naur 22ef574871 *** empty log message *** 2004-03-11 19:50:42 +00:00
Brian Matzon 015ce9e37d don't forget 98+! 2004-03-10 16:52:31 +00:00
Brian Matzon 4746f40991 optimized mode detection 2004-03-10 16:47:04 +00:00
Ioannis Tsakpinis d49ce2bfc0 render-to-texture support 2004-03-02 01:59:32 +00:00
Brian Matzon e05e891e99 *puff* 2004-02-26 21:39:27 +00:00
Caspian Rychlik-Prince 6a58bc26e6 New context management code (incomplete) 2004-02-23 23:42:58 +00:00
Caspian Rychlik-Prince 5356e13feb New Context stuff 2004-02-18 17:48:26 +00:00
Brian Matzon 9b929c0cf3 make isFocused & isMinimized work as expected
cleaned up field usage
2004-02-17 16:57:23 +00:00
Elias Naur fd56dd232a Added WGL_ARB_multisample support 2004-02-15 19:24:03 +00:00
Elias Naur 5c3e17c8a3 Added GLX_ARB_multisample support to Pbuffers 2004-02-15 15:46:10 +00:00
Elias Naur e3a4f5f7f7 Added GLX_ARB_multisample support 2004-02-15 15:27:02 +00:00
Elias Naur 883149878b Added aldacron's ghost window fix, a ShowWindow(hwnd, SW_HIDE) before destroying the window 2004-02-10 08:31:38 +00:00
Elias Naur d756657a48 Changed GetDeviceCaps(dc, COLORRES) to use BITSPIXEL instead 2004-01-26 19:57:18 +00:00
Brian Matzon 8bcedbffe0 removed \n 2004-01-12 17:24:47 +00:00
Brian Matzon 6f44f03381 make controller work again! 2004-01-12 17:21:56 +00:00
Brian Matzon ea4fed18c4 assert that Window has been created 2004-01-12 17:15:41 +00:00
Brian Matzon 9dd52c6559 assert that Direct Input has been created 2004-01-12 16:28:51 +00:00
Elias Naur ad28763347 *** empty log message *** 2003-12-20 22:23:15 +00:00
Elias Naur 790b01a01b Reduced Sys.debug from bool -> int 2003-12-20 22:03:25 +00:00
Elias Naur fb8fd0a2d7 Implemented proper debug levels 2003-12-20 14:01:31 +00:00
Elias Naur 472b5337d4 Replaced debug libraries with runtime debug condition 2003-12-15 11:49:17 +00:00
Elias Naur 533fb6882f Native cursor fix in win32 2003-11-23 12:52:08 +00:00
Elias Naur 1f9f7365a0 Win32 window creation tweaks 2003-11-17 07:45:14 +00:00
Caspian Rychlik-Prince e640620e94 Removed some annoying debugging 2003-11-10 01:41:57 +00:00
Caspian Rychlik-Prince a4facc93f0 *** empty log message *** 2003-10-28 19:26:51 +00:00
Caspian Rychlik-Prince 754f917730 New Sys.openURL command added 2003-10-28 16:23:17 +00:00
Elias Naur 5f89be0e63 Fixed Mac OS X mouse button mapping 2003-10-25 21:27:54 +00:00
Elias Naur b00c24ef76 Fixed ARBFragmentProgram and ARB_vbo 2003-10-23 07:18:07 +00:00
Elias Naur 8cabcd523f *** empty log message *** 2003-10-22 18:34:42 +00:00
Elias Naur 0f1d70a6ec *** empty log message *** 2003-10-22 11:45:51 +00:00
Caspian Rychlik-Prince 2714842095 New vsync code 2003-10-20 14:17:47 +00:00
Elias Naur a6c56bd791 *** empty log message *** 2003-10-14 14:29:23 +00:00
Elias Naur 15dafb1c5a Don't return from UpdateMouseFields on failure to acquire - still need to set deltas to 0 2003-10-14 12:42:05 +00:00
Elias Naur 963605989f Implemented mouse button buffering 2003-10-11 16:29:40 +00:00
Elias Naur 0fa67c9680 Fixed mouse hot spot coordinate 2003-10-11 12:56:26 +00:00
Elias Naur 43b2d67a71 Moved native cursor origin to middle of the window 2003-10-11 11:03:06 +00:00
Caspian Rychlik-Prince 9ac5e7a530 Minor casting adjustment to work around a compiler bug 2003-10-08 10:56:24 +00:00
Elias Naur fc925baab4 *** empty log message *** 2003-10-08 07:49:43 +00:00
Elias Naur 14d023ed09 *** empty log message *** 2003-10-07 14:28:33 +00:00
Elias Naur aa9e183c7f *** empty log message *** 2003-10-07 13:10:17 +00:00
Elias Naur 89b631746c *** empty log message *** 2003-10-06 08:34:03 +00:00
Elias Naur 1ba24e9bdf *** empty log message *** 2003-09-30 11:52:32 +00:00
Elias Naur 6d8991f7dd *** empty log message *** 2003-09-30 11:14:06 +00:00
Caspian Rychlik-Prince 307755b07c New API for adapter queries 2003-09-28 06:55:01 +00:00
Caspian Rychlik-Prince 17b6a501e4 Changed from wglSwapBuffers back to SwapBuffers. 2003-09-26 16:26:10 +00:00
Elias Naur 42ad1026af Don't ignore lying drivers 2003-09-26 13:59:50 +00:00
Caspian Rychlik-Prince b28860eb71 Gamma back in 2003-09-16 15:42:25 +00:00
Elias Naur f67cd0e384 Tried harder to fix NT display mode selection 2003-09-16 08:29:16 +00:00
Elias Naur fe1d693b81 ifdef'ed some debug printfs 2003-09-11 08:00:28 +00:00
Caspian Rychlik-Prince 6551d03cd4 More fixes 2003-09-10 22:55:25 +00:00
Caspian Rychlik-Prince 392663d590 Fixed compile error 2003-09-10 22:41:17 +00:00
Caspian Rychlik-Prince e92a54db87 Repaired gamma code. 2003-09-10 22:39:46 +00:00
Elias Naur 9148cb7c90 Fixed display mode code paths 2003-09-10 22:35:06 +00:00
Caspian Rychlik-Prince ecb0045241 Fixed code in display enumeration. 2003-09-02 11:30:36 +00:00
Elias Naur ba3acc79b9 Committed spelling fixes 2003-08-29 08:00:44 +00:00
Brian Matzon f27e5a294c fix: isStateKeySet now returning int 2003-08-23 09:45:22 +00:00