Commit Graph

752 Commits

Author SHA1 Message Date
Elias Naur 1aee4598a9 Win32 part of ByteBuffer handles for Pbuffer and Cursor 2004-07-25 14:51:28 +00:00
Elias Naur bdf5a43d5e Converted Cursor and Pbuffer handles to ByteBuffers 2004-07-25 14:28:50 +00:00
Elias Naur 401a3a859f Make setting keyboard rate use own X connection 2004-07-24 22:17:03 +00:00
Elias Naur c17a6fe481 Avoid ARB_pixel_format in Display whereever possible. Must try the path once though, to increase the chance of getting a pbuffer compatible context. If it fails, the normal path context is kept, in hope that it will support pbuffers. If not, only unique context pbuffers will be available. 2004-07-24 22:06:43 +00:00
Elias Naur 79813c8f5a Win32 part of fast Pbuffer 2004-07-24 21:19:08 +00:00
Elias Naur 2c28c39fce Implemented new type of Pbuffer that use the Display context, which is faster than a separate context (Linux) 2004-07-24 19:44:41 +00:00
Elias Naur a1642b0dcf Linux: Fix context NULL'ed before free'ing 2004-07-22 08:52:25 +00:00
Elias Naur 19f32b3d63 Fix indentation 2004-07-22 07:56:36 +00:00
Elias Naur a2680adb77 Fix DisplayMode.equals 2004-07-22 07:38:56 +00:00
Elias Naur 3fb960ead8 Fix display mode switching and use separate X connection for display mode switching on linux 2004-07-21 21:51:37 +00:00
Brian Matzon 62ed747bce 0.91 release 2004-07-21 15:00:24 +00:00
Brian Matzon aa07f67b68 implemented more fmod methods 2004-07-21 14:48:15 +00:00
Elias Naur 19fbff094b Linux: Fixed repeat issue 2004-07-21 14:39:22 +00:00
Elias Naur ad32e919e0 Linux: Reverted the build script changes (removed .so) because even with automake 1.8.3, the build system still doesn't produce a liblwjgl.so.0.0.0, only a liblwjgl.0.0.0 2004-07-21 09:25:53 +00:00
Elias Naur 456a948195 Linux: Set dirty flag on UnMapNotify 2004-07-19 07:24:41 +00:00
Brian Matzon aaf1cf73bd implemented GetDriverCaps 2004-07-17 23:34:22 +00:00
Brian Matzon 60c7ddb7fe forgot fmod->fmod3 exception! 2004-07-17 23:31:25 +00:00
Elias Naur 314a19098e Mario: Fixed build scripts 2004-07-16 10:03:16 +00:00
Elias Naur 2951ef02cc Win32: Mouse native cursor fixes 2004-07-15 16:07:13 +00:00
Elias Naur b121cd0fc7 Don't actually center cursor on setGrabbed(true) 2004-07-15 15:53:16 +00:00
Brian Matzon f618023b3f expose suspendContext 2004-07-11 08:09:34 +00:00
Elias Naur abf0de6233 Fixed linux native cursor hotspot 2004-07-07 10:31:26 +00:00
Elias Naur eed273405e Win32: Disable ARB pixel format path unless needed (samples > 0) 2004-07-07 09:40:48 +00:00
Elias Naur 8632dce58c Win32 fix 2004-07-07 08:06:57 +00:00
Elias Naur d9ea16fbf7 Win32: Mouse native cursor fixes 2004-07-06 09:13:35 +00:00
Elias Naur f661aaa22b Undo GLContext.cpp split 2004-07-06 08:06:16 +00:00
Elias Naur 19b7f16291 Win32: Make pbuffer creation independent of display context 2004-07-06 07:50:33 +00:00
Elias Naur 39c06a14ab LINUX: Made pbuffer creation independent of the Display context 2004-07-05 14:57:02 +00:00
Elias Naur 1827f0efd4 Implemented reference counted loading of gl library in java 2004-07-05 14:34:47 +00:00
Elias Naur b07143f400 Made the mouse grab and native cursor properties persistent over destroy()/create() 2004-07-05 14:06:40 +00:00
Elias Naur 38ac5781ae Mouse reset coordinate fix 2004-07-05 13:47:18 +00:00
Elias Naur 0ae705b7b0 Added more error checking in OpenAL. Unload native stubs on AL destroy. 2004-07-04 13:58:11 +00:00
Elias Naur 53bd9b660d all initNativeStub() methods throws LWJGLException 2004-07-04 13:14:06 +00:00
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 15934fd6e7 Move native stub initialization from extgl into GLContext.java. Makes it much easier to
exlude extensions classes. Furthermore, GLContext.useContext(null) can now be used to
reset the native stubs when no context is current.
2004-07-03 21:12:33 +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 1c5f7aad3e Removed obsolete LWJGL_SANITY_CHECK and extgl_error 2004-07-03 14:59:15 +00:00
Elias Naur 05afc24027 *** empty log message *** 2004-07-03 14:53:25 +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 33611232f3 Linux fix fallback 2004-07-03 12:06:25 +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 fbd4720236 Make linux Display.create fall back to 16 color bpp 2004-07-03 10:32:12 +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 0bcb13ceac fmod -> fmod3 2004-06-09 19:53:45 +00:00
Brian Matzon 3a7df43117 removed obsolete getPlatform 2004-06-09 19:45:15 +00:00
Brian Matzon 0afefea6ba updated to 3.73 2004-06-02 21:40:47 +00:00
Brian Matzon 5803d98ddc FMusic done, including callbacks!
Added synctest to fmod, showing how to use FMusic
2004-05-31 12:42:09 +00:00
Brian Matzon 9c8ac5d794 expose VM 2004-05-31 12:39:03 +00:00
Caspian Rychlik-Prince 7593877a42 No longer uses ARB pixel formats when samples == 0 2004-05-26 14:41:12 +00:00
Elias Naur 4791b60784 Renamed fmod to fmod_instance 2004-05-23 19:45:00 +00:00
Elias Naur 9cf079d054 Fixed bug in Window.cpp 2004-05-23 19:08:16 +00:00
Elias Naur 093cd19d82 Improved stability of ext_ResetClass and ext_InitializeClass 2004-05-23 18:57:04 +00:00
Elias Naur a2e5e1a946 Added a tool to simplify creating dynamically loaded native stubs 2004-05-23 15:35:09 +00:00
Elias Naur cb2f3f7448 Updated headers and fmod for linux 2004-05-23 14:46:07 +00:00
Brian Matzon d26445afa6 nuke autogenerated headers 2004-05-23 14:04:57 +00:00
Brian Matzon f4a2c8354f fmod support 2004-05-23 14:03:07 +00:00
Brian Matzon 9ed3aa45e2 only get driver once 2004-05-23 13:54:55 +00:00
Brian Matzon 9369626d38 fmod support 2004-05-23 13:50:08 +00:00
Ioannis Tsakpinis e97002fa39 Cleanup 2004-05-19 16:46:59 +00:00
Ioannis Tsakpinis ed903530f1 Added some new extensions 2004-05-18 21:02:55 +00:00
Elias Naur 0786d857f8 Potential fix for the titlebar issue on win2k 2004-05-14 12:52:39 +00:00
Elias Naur e709d0167a Linux: Implemented proper X async error handling 2004-05-11 20:34:47 +00:00
Elias Naur dd8c6e8a42 *** empty log message *** 2004-05-10 21:50:54 +00:00
Elias Naur 60c4e0a778 Linux: Don't free colormap before the window is destroyed 2004-05-10 21:48:06 +00:00
Elias Naur 25c8f8c313 Removed C++ exception handlers 2004-05-10 08:55:09 +00:00
Elias Naur 192b0da29e Fixed linux building 2004-05-05 14:41:04 +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 863e4e1fee missing function found by llewmason 2004-04-18 03:20:04 +00:00
Elias Naur 0011e75a6e LINUX: Improved input handling 2004-04-13 12:13:32 +00:00
Brian Matzon a9506354ee fixed mouse issues, setGrabbed & native cursor now works (afaik ;)) 2004-04-12 14:46:18 +00:00
Elias Naur 1907fb3ff6 LINUX: Turn off keyboard repeat rate at Window.create too 2004-04-12 14:29:55 +00:00
Elias Naur b641b66e12 LINUX: Fixed warp ignores 2004-04-12 12:20:59 +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
Elias Naur e034c76f19 LINUX:Improved warp event ignore 2004-04-12 10:33:39 +00:00
Elias Naur 0085c8862c LINUX: Implemented setGrabbed 2004-04-12 10:05:13 +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 368207e9e2 Various fixes 2004-04-09 21:52:42 +00:00
Elias Naur ebff02b15a *** empty log message *** 2004-04-09 19:26:53 +00:00
Elias Naur 8065870592 Removed Keyboard.initIDs 2004-04-07 07:48:37 +00:00
Elias Naur cc367fa4b5 LINUX: Implemented reference counted display connection to let Cursors be created and destroyed without a window or a mouse 2004-04-07 07:46:03 +00:00
Elias Naur 4779a2e29f Updated Mouse.h 2004-04-06 14:46:40 +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