Commit Graph

491 Commits

Author SHA1 Message Date
Elias Naur 8458a8cbb7 Linux fixes to absolute coordinates 2004-11-12 15:43:14 +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
Elias Naur 2e291719fe Linux fix destroyCursor native function typo 2004-11-11 16:58:21 +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
Elias Naur 4094c4ed7d *** empty log message *** 2004-11-08 12:11:42 +00:00
Elias Naur d3cc993523 Linux: don't rely on focus messages, just ask for the current focus at the end of the event loop act accordingly 2004-11-06 09:41:02 +00:00
Elias Naur b4fde6438a Linux: removed redundant last_z from Mouse.c. Mac: Compile fixes. Use NSAddImage for loading GL library 2004-11-05 10:30:04 +00:00
Elias Naur 2fe958948a Split out native implementation of Display/Mouse/Keyboard into implementers of DisplayImplementation 2004-11-02 12:49:41 +00:00
Elias Naur ddd61963ee Split out native implementation of Display/Mouse/Keyboard into implementers of DisplayImplementation 2004-11-02 12:48:58 +00:00
Elias Naur b76ea2d616 Linux: make accented character input work 2004-10-18 12:26:30 +00:00
Elias Naur 78c086a01c Linux: Added basic support for Xutf8LookupString, providing better support for international characters 2004-10-16 21:59:20 +00:00
Elias Naur 22de5b7660 Minor linux keyboard input fixes 2004-10-15 21:31:46 +00:00
Elias Naur bd34754f86 Linux: minor linux fix 2004-10-13 10:55:49 +00:00
Elias Naur 58d78eec2c Linux: improved cursor position tracking 2004-09-30 12:31:59 +00:00
Elias Naur 91efa96d95 Linux: Don't warp cursor position at Mouse.create() 2004-09-28 13:02:38 +00:00
Elias Naur 468502cb00 Track event mouse deltas even when the event queue overflows 2004-09-27 13:20:27 +00:00
Elias Naur 9cb5176ce7 Linux: Fixed problem with updating screen dimension globals 2004-09-22 19:56:02 +00:00
Elias Naur 8b691bbe78 Linux: reset/restore gamma settings on activate/deactivate 2004-09-22 19:25:16 +00:00
Elias Naur c6e9d5f13b Fix linux Mouse compile 2004-09-22 18:35:14 +00:00
Elias Naur 8da3656540 Fix native mouse issues 2004-09-22 17:54:27 +00:00
Elias Naur 38ebcf5fb3 Updated win32 to report Mouse deltas 2004-09-22 15:06:27 +00:00
Elias Naur fa1713c4e8 Add delta values to Mouse events 2004-09-22 11:08:21 +00:00
Elias Naur 0d013c7f54 Linux: Improve input latency by processing X messages from nPoll and nRead 2004-09-22 09:28:09 +00:00
Elias Naur 5361073072 Fix linux crash in nGetNativeCursorCaps 2004-09-21 14:36:52 +00:00
Elias Naur af66408d3d Added setLocation support for linux 2004-09-15 17:44:39 +00:00
Elias Naur e686334d14 Improved _NET_WM_STATE_FULLSCREEN support for older kde window managers 2004-09-10 14:09:33 +00:00
Elias Naur 55a67aaacc Converted native code from C++ (.cpp files) to C (.c files), thus avoiding an annoying dependency on the standard C++ library on Linux. We weren't using any particular C++ features anyway. 2004-09-10 08:13:56 +00:00
Elias Naur aa60495bb5 Linux: improve cursor position handling (warp behaviour) 2004-09-08 20:15:55 +00:00
Elias Naur bb540708a4 Removed commented out code 2004-09-06 10:21:34 +00:00
Elias Naur 33285cd06a Linux: Reimplemented undecorated flag through use of the obscure Motif window manager hint instead of the override_redirect flag 2004-08-23 11:33:57 +00:00
Elias Naur 9cd4948517 Linux: cleanup and remove input grab in button press 2004-08-23 10:59:47 +00:00
Elias Naur bb1d59fffe Linux: Implemented support for Extended Window Manager Hints. LWJGL now cooperates
much better with the window manager, if the X randr and EWMH extensions are supported.
Especially fullscreen handling has improved, by avoiding the use of the override_redirect
flag.
2004-08-23 08:46:35 +00:00
Elias Naur 0c5bb83832 Linux: Added support for X RandR extension 2004-08-21 20:31:24 +00:00
Elias Naur 0d4d5b6bf1 Linux: Added missing throwException in display.cpp.initDisplay() 2004-08-21 17:42:23 +00:00
Elias Naur a558ad68b2 Linux: only grab the keyboard when in fullscreen mode. Remove the alt-tab hack 2004-08-21 10:22:23 +00:00
Elias Naur 4b98c873da Made Xcursor library static linked instead of dynamically loaded 2004-08-21 00:18:20 +00:00
Elias Naur 483f03a4ec Implemented default AWT implementation of Sys.getClipboard() 2004-08-12 15:22:48 +00:00
Caspian Rychlik-Prince f0954a9a70 Put getClipboard back. 2004-08-12 14:30:13 +00:00
Caspian Rychlik-Prince 00848a6cc7 Removed clipboard stuff. Elias got a headache 2004-08-12 14:22:25 +00:00
Elias Naur b0c4fa8df8 Fixed Sys.setClipboard native stub naming 2004-08-12 12:27:14 +00:00
Caspian Rychlik-Prince dd0886851a *** empty log message *** 2004-08-11 15:37:40 +00:00
Elias Naur b88624e608 Add a public DisplayMode constructor 2004-08-09 11:55:48 +00:00
Elias Naur 6fb9a62cab Removed ability to share Display context in Pbuffer - it was too much trouble for little gain 2004-08-02 14:32:51 +00:00
Elias Naur 0e9931e2a2 Removed commented out releaseContext() from linux Display.cpp 2004-07-30 13:58:08 +00:00
Elias Naur 2e8999c342 Added more missing decDisplay() 2004-07-30 13:30:15 +00:00
Elias Naur b50b5ca09b Added decDisplay to Pbuffer.cpp in linux to fix a potential X connection leak 2004-07-30 13:26:11 +00:00
Elias Naur 98eef52c41 Linux part of letting Pbuffer fallback to double buffered formats 2004-07-26 14:42:13 +00:00
Elias Naur 665f971aec Make Pbuffers that share the display context be single-buffered (linux part) 2004-07-26 13:36:04 +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 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 3fb960ead8 Fix display mode switching and use separate X connection for display mode switching on linux 2004-07-21 21:51:37 +00:00
Elias Naur 19fbff094b Linux: Fixed repeat issue 2004-07-21 14:39:22 +00:00
Elias Naur 456a948195 Linux: Set dirty flag on UnMapNotify 2004-07-19 07:24:41 +00:00
Elias Naur b121cd0fc7 Don't actually center cursor on setGrabbed(true) 2004-07-15 15:53:16 +00:00
Elias Naur abf0de6233 Fixed linux native cursor hotspot 2004-07-07 10:31:26 +00:00
Elias Naur f661aaa22b Undo GLContext.cpp split 2004-07-06 08:06:16 +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 b7e4214a1a Moved openal native stub loading to java 2004-07-04 09:13:19 +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 05afc24027 *** empty log message *** 2004-07-03 14:53:25 +00:00
Elias Naur 33611232f3 Linux fix fallback 2004-07-03 12:06:25 +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
Brian Matzon 4cea3e191b header unification 2004-06-12 20:28:34 +00:00
Elias Naur 9cf079d054 Fixed bug in Window.cpp 2004-05-23 19:08:16 +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 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 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
Elias Naur 0011e75a6e LINUX: Improved input handling 2004-04-13 12:13:32 +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
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 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 bf8cce9b59 Make poll deltas accumulative, and only reset on getD* 2004-04-06 14:23:19 +00:00
Elias Naur 65c16c3741 *** empty log message *** 2004-04-05 14:19:25 +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 6f4a3afd26 Tweaking 2004-04-04 13:43:43 +00:00
Caspian Rychlik-Prince 0e733a1fb7 Tweaking 2004-04-04 13:39:10 +00:00
Elias Naur ffc4758d6d Pulled global isUndecorated into function 2004-04-04 13:24:34 +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 a538d84eb1 Implemented the undecorated flag and reshape on linux 2004-04-04 09:34:11 +00:00
Elias Naur 8e6568d3d6 Fixed compile problems 2004-04-04 08:36:55 +00:00
Caspian Rychlik-Prince 37262e6727 New window sizing & undecorated code 2004-04-03 23:01:39 +00:00
Elias Naur e5e492a285 added missing software flag checks in linux 2004-03-29 11:26:26 +00:00
Elias Naur 021e03eea5 Implemented version check to check for incompatible native libraries 2004-03-27 14:09:55 +00:00
Elias Naur 0a576f8e33 Save unread buffered input events between read()s 2004-03-26 21:11:20 +00:00
Caspian Rychlik-Prince fca57cefd5 Simplification work 2004-03-26 11:09:39 +00:00
Brian Matzon bb51e3dc23 Cursor animation support regardless of platform features 2004-03-21 21:54:57 +00:00
Elias Naur 536bab5a52 org.lwjgl.opengl.Window.allowSoftwareOpenGL flag support for linux 2004-03-12 07:12:34 +00:00
Elias Naur 9da5a48fa9 Split GLX from extgl into separate platform specific extgl_glx 2004-03-11 12:38:13 +00:00
Elias Naur f5bf5b590b Removed duplicate exception 2004-03-09 12:20:21 +00:00
Elias Naur 39140f1072 Replaced CHECK_EXISTS with one time check at symbol load time 2004-03-07 15:18:47 +00:00
Ioannis Tsakpinis d49ce2bfc0 render-to-texture support 2004-03-02 01:59:32 +00:00
Elias Naur 912ffcfaea alert->nAlert in linux 2004-02-27 09:54:37 +00:00
Elias Naur 0cc4f710a8 Fixed up linux for JOGL integration work 2004-02-25 18:09:10 +00:00
Elias Naur 52a709efd6 Small linux fix 2004-02-25 16:44:45 +00:00
Caspian Rychlik-Prince 5356e13feb New Context stuff 2004-02-18 17:48:26 +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 ceca66cd6d Added null check in linux setDisplayMode 2004-02-11 11:25:19 +00:00
Elias Naur b5194bbb04 Implemented linux swap control through GLX_SGI_swap_control 2004-01-03 08:09:17 +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 a4b1a7fd5a Newline fix 2003-11-22 19:20:05 +00:00
Elias Naur f4c5e78bfa Removed a XSetInputFocus call from linux Window.cpp 2003-11-02 14:41:20 +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 7d5992c02e *** empty log message *** 2003-10-24 05:51:50 +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 b6390ef976 Fixed linux mouse creation 2003-10-20 12:49:50 +00:00
Elias Naur b6a13f736b Fixed mouse creation 2003-10-20 12:40:51 +00:00
Elias Naur a6c56bd791 *** empty log message *** 2003-10-14 14:29:23 +00:00
Elias Naur 963605989f Implemented mouse button buffering 2003-10-11 16:29:40 +00:00
Elias Naur 2f0089b961 *** empty log message *** 2003-10-11 13:23:55 +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
Elias Naur fc925baab4 *** empty log message *** 2003-10-08 07:49:43 +00:00
Elias Naur aa9e183c7f *** empty log message *** 2003-10-07 13:10:17 +00:00
Elias Naur 0e799f0972 *** empty log message *** 2003-10-07 10:04:38 +00:00
Elias Naur 09cdf84141 *** empty log message *** 2003-10-06 08:13:18 +00:00
Elias Naur 6d8991f7dd *** empty log message *** 2003-09-30 11:14:06 +00:00
Elias Naur 9d52aaba56 Dummy getAdapter()/getVersion() for linux 2003-09-28 07:02:23 +00:00
Elias Naur 42ad1026af Don't ignore lying drivers 2003-09-26 13:59:50 +00:00
Elias Naur a8cd48965f *** empty log message *** 2003-09-08 14:51:01 +00:00
Elias Naur 8b947a575f *** empty log message *** 2003-09-07 16:11:15 +00:00
Elias Naur 2787a66207 *** empty log message *** 2003-09-03 15:42:37 +00:00
Elias Naur 8e7572192d *** empty log message *** 2003-09-02 14:06:34 +00:00
Elias Naur ba3acc79b9 Committed spelling fixes 2003-08-29 08:00:44 +00:00
Elias Naur 7d35ee2744 *** empty log message *** 2003-08-23 09:47:58 +00:00
Elias Naur da4eb5d83e *** empty log message *** 2003-08-17 18:40:58 +00:00
Elias Naur a8826b4b12 update->updateState 2003-08-17 18:17:20 +00:00
Brian Matzon 4f39c59b45 renamed updateStatus to update 2003-08-17 14:10:53 +00:00
Brian Matzon 7e283db15c mod: tick is now called updateState - bitch all you will :p 2003-08-17 09:27:32 +00:00
Elias Naur f625bea9f0 *** empty log message *** 2003-08-11 17:33:41 +00:00
Elias Naur 177595e4ca *** empty log message *** 2003-08-11 16:53:16 +00:00
Elias Naur c8f38ac9b7 Flipped cursor coordinates to match OpenGL 2003-08-11 16:35:45 +00:00
Elias Naur 683991fe79 Added buffer positions to Cursor 2003-08-05 20:07:32 +00:00
Elias Naur a62ebc2c3b Fixed a negative focus feedback loop 2003-08-05 14:21:59 +00:00
Elias Naur 35a1538f82 Implemented safe VBO indices (phew) 2003-08-04 23:00:49 +00:00
Elias Naur e6cca3fda8 *** empty log message *** 2003-08-04 10:11:53 +00:00
Elias Naur d359a6b7e1 *** empty log message *** 2003-08-04 10:09:40 +00:00
Elias Naur f7ce5c39ed Improved createIndexBuffer 2003-08-03 16:19:09 +00:00
Elias Naur 3f18bd15c4 Removed Sys.NULL 2003-08-03 11:02:57 +00:00
Elias Naur 907d5f083d Converted various GL sizes to buffer.remaining() 2003-08-02 15:21:55 +00:00
Elias Naur ee08be5b75 Converted GL native 2003-08-02 12:53:25 +00:00
Elias Naur baa39830c0 Renamed Sys.createARBVBOBuffer to Sys.createIndexBuffer 2003-07-29 11:09:44 +00:00
Elias Naur 8b9931560f Moved GL capabilities to GLCaps 2003-07-28 10:09:58 +00:00
Elias Naur 579dc64f4f Fixed WGL extension bug 2003-07-26 09:39:48 +00:00
Elias Naur e4aaf66d8c Fixed some int address->Buffer bugs 2003-07-20 19:27:36 +00:00
Elias Naur d8f64cbb15 Separated BaseGL from CoreGL and GL and renamed to GLWindow 2003-07-18 19:02:49 +00:00
Elias Naur 794c802253 Added createARBVBOBuffer to enable VBO indexing with Buffers 2003-07-17 09:16:51 +00:00
Elias Naur 1526ad3a2a Added linux focus support 2003-07-16 21:10:28 +00:00
Elias Naur 63e3ef67fd Small error message fix 2003-07-15 14:02:39 +00:00
Elias Naur 315375dee5 Ported OpenGL to Buffers 2003-06-24 12:24:55 +00:00
Elias Naur 2e30eff2a5 Try to return a better minimum cursor size 2003-06-08 14:32:30 +00:00
Elias Naur 34aeff1757 Try to return a better minimum cursor size 2003-06-08 14:30:53 +00:00
Elias Naur 71f46bfce9 Fixed win9x keyboard translation 2003-06-07 13:56:06 +00:00
Elias Naur c267f6d5da Linux fixes 2003-06-01 17:20:03 +00:00
Elias Naur 18685ab806 Added USEGLX13 to BaseGL.cpp 2003-05-30 16:29:17 +00:00
Elias Naur e66f5dee8a More Display checks 2003-05-30 14:44:45 +00:00
Elias Naur 66a2676652 Extra checks in window creation 2003-05-30 06:10:33 +00:00
Elias Naur 16e1d44cdb Implemented gamma, brightness and contrast controls on win32 and linux
using a simplified gamma ramp API
2003-05-27 14:12:10 +00:00
Elias Naur 5411e23b7a Native cursor fixes 2003-05-20 14:28:30 +00:00
Elias Naur ccc115fe9d Native cursor fixes 2003-05-20 13:59:30 +00:00
Elias Naur 4c53756e7b Cursor fixes 2003-05-20 12:33:51 +00:00
Elias Naur 9bcaa18c3d Implemented Pbuffers on win32 and linux (render to texture will be done later)
Implemented native cursor caps (one bit transparancy, alpha translucency and animations)
2003-05-20 12:20:13 +00:00
Elias Naur a1649bab3f Min cursor size 1, not 0 2003-05-17 08:06:39 +00:00
Elias Naur e886d95122 Native cursors implemented 2003-05-16 18:39:46 +00:00
Elias Naur 038a1c540c *** empty log message *** 2003-05-02 20:58:53 +00:00
Elias Naur 86798e426f Fixed some linux input focus issues 2003-05-02 13:41:40 +00:00
Elias Naur b705ea51d0 Removed makeContexCurrent and releaseContext 2003-04-26 06:54:32 +00:00
Elias Naur c82ecd306d Fixed missing header include 2003-04-07 17:49:13 +00:00
Elias Naur 1222c594d0 *** empty log message *** 2003-04-07 17:30:41 +00:00
Elias Naur f0c94451e9 Added dummy gamma controls to linux 2003-04-07 17:04:24 +00:00
Elias Naur 3018edde4c Added Sys.NULL constant 2003-04-03 20:20:29 +00:00
Elias Naur 267b868db7 Minor linux fix 2003-03-31 10:56:41 +00:00
Elias Naur d58c8b767b I like those makeContextCurrent/releaseContext... 2003-03-30 19:40:35 +00:00
Elias Naur bc33d3ff2b Linux/win32 changes for 0.6 2003-03-30 19:26:39 +00:00
Elias Naur bb2d3d472d Various linux fixes(alot) 2003-03-27 18:28:05 +00:00
Elias Naur 8343bfa44c Various linux fixes(alot) 2003-03-27 18:27:36 +00:00
Elias Naur 0955acdec1 Linux various (5) 2003-03-27 17:22:26 +00:00
Elias Naur 8b4a868ddd Various linux fixes(4) 2003-03-27 15:42:25 +00:00
Elias Naur 52445cf214 Various linux fixes(3) 2003-03-27 15:38:47 +00:00
Elias Naur d9828de0c4 Various linux fixes 2003-03-27 15:16:35 +00:00
Elias Naur acfd9e4cea Updated linux Mouse 2003-03-24 18:10:04 +00:00
Elias Naur a7ec7cda5b Various linux fixes 2003-03-21 23:28:00 +00:00
Elias Naur bba7bf9462 Added getPlatform() to linux 2003-03-21 17:37:58 +00:00
Elias Naur 0d620e9125 Reverted display mode selection 2003-03-19 12:41:28 +00:00
Elias Naur 2077bbb1db Moved disabling of repeat rate to Display 2003-03-08 22:14:17 +00:00
Elias Naur 374334e7d3 Disable linux key repeat while Keyboard is created - match win32 behavior 2003-03-08 18:47:34 +00:00
Brian Matzon 12b7c4dd85 fix: now enumerates multiple displaydevices, if available 2003-03-03 21:49:46 +00:00
Elias Naur 451f237085 Linux mouse buttons now match those on win32 (again) 2003-02-26 18:11:32 +00:00
Elias Naur 4d67446487 Linux mouse buttons now match those on win32 2003-02-26 17:49:09 +00:00
Elias Naur 470ea4a7dc linux scroller now match win32 behaviour more precisely - scrolling reversed and scaled 120 2003-02-24 19:46:52 +00:00
Elias Naur 6196e6845b Fixed bug when a X display connection cannot be established (again) 2003-02-20 13:27:20 +00:00
Elias Naur 6113da5083 Fixed bug when a X display connection cannot be established 2003-02-20 13:20:54 +00:00
Elias Naur 55ac8dd74c Don't fail create if grab doesn't succeed on the first try 2003-02-14 11:23:01 +00:00
Elias Naur e3eeff94b0 Added preliminary alt-tab support on linux 2003-02-12 17:12:01 +00:00
Elias Naur c022100cab Added closeRequested support to linux 2003-02-09 17:01:01 +00:00
Elias Naur 36d8f34e86 linux windows can't be resized now 2003-02-09 11:06:51 +00:00
Elias Naur 15b6e08872 Updated linux files to recent mouse and display changes 2003-02-08 20:36:31 +00:00
Elias Naur f2f829483b Added isMinimized to linux 2003-02-08 19:55:07 +00:00
Elias Naur 30e1e4459d Added window title bars to linux 2003-02-06 20:40:41 +00:00
Elias Naur 1f1d932687 Added missing linux keyboard mapping 2003-02-02 22:49:16 +00:00
Elias Naur 86c4ce70dc Bug fix 2003-01-12 11:42:27 +00:00
Elias Naur a6bd8e7fa4 Fixed linux compile 2003-01-11 21:03:22 +00:00
Elias Naur e0ff212e5e Fixed embarrassing Display.destroy() bug 2002-12-28 10:41:17 +00:00
Elias Naur 04909d4f55 Added more intelligent pixel format chooser in linux 2002-12-23 11:31:32 +00:00
Elias Naur 31f8dfd08a Updated linux to new display mode behavior 2002-12-22 20:58:25 +00:00
Elias Naur 18e8950eb3 Added Sys.alert to linux 2002-12-22 20:19:50 +00:00
Elias Naur 1f3f00aed1 Moved BaseGL constructor parameters to Display 2002-12-19 16:35:35 +00:00
Elias Naur 7184576886 Fixed a mouse button state array bug 2002-12-12 19:51:20 +00:00
Elias Naur 98398e4a7a Minor fix to Display.cpp 2002-12-11 07:26:49 +00:00
Elias Naur 8202b0e14c Switched to dynamic loading of gl functions and libs 2002-12-11 07:16:31 +00:00
Elias Naur 24e25533ab Fixed a GL context creation bug 2002-12-04 15:17:49 +00:00
Elias Naur 08faa001ba Removed Makefile.elias_naur 2002-11-30 21:43:06 +00:00
Elias Naur 4641d82e43 Added the XWarpointer call again - this time centering the pointer 2002-11-30 21:25:00 +00:00
Elias Naur 9055e992e9 Reverted Luke's XWarpPointer change 2002-11-29 11:51:10 +00:00
Luke Holden 0aa1f0d701 BaseWindow: We are now grabbing the mouse. Doing this because on linux,
you need to grab and move the pointer or else you can scroll away from
your full screen program.

org_lwjgl_input_Mouse.cpp: When in full screen, the pointer should warp
to the corner of the display. This fixes a few issues.

Also added a stub for nEnableBuffer, with a fixme message. This function
does not seem to be implemented in either the linux or win32 source...
but exists in the java Mouse class. The stub keeps programs from crashing.

ltmain.sh: Fixed a bug in libtool, where it uses gcc vs c++ for linking
librarys built in c++. This fixes a missing symbol issue.

configure.in: Made a few small changes.
2002-11-29 08:29:53 +00:00
Luke Holden ebfdcb7ef9 initial autoconf/automake support =) 2002-11-28 22:40:06 +00:00
Luke Holden a98cfffb0d Renamed... prepping for autoconf =) 2002-11-28 22:35:29 +00:00
Elias Naur 77e86f580c Added pointer warping to keep pointer in center of the display 2002-11-28 21:49:11 +00:00
Elias Naur 383ceb7c25 Mouse.cpp fix 2002-11-28 09:29:40 +00:00
Elias Naur 341f75dae4 Increased poll buffer size 2002-11-26 20:07:49 +00:00
Elias Naur be5dcc1768 Added poll() logic so behavior looks like DX 2002-11-26 20:07:06 +00:00
Elias Naur 7c031a8486 Reverted the Keyboard.poll() change 2002-11-26 08:15:17 +00:00
Luke Holden c0c4e60d29 Removed the native time readout from queryTime().
I think elias_naur was trying to annoy me to death with time updates
every 0.001 seconds =)
2002-11-26 04:58:29 +00:00
Luke Holden f02005efd9 Added a fix for when GLX_ALPHA_SIZE cant be set (I think this happens
when display depth is below 24.)

There might be a better way to handle this... but this lets lwjgl work
for me. =)
2002-11-26 03:30:41 +00:00
Elias Naur 2b814af9f7 Made Keyboard.poll behave like win32 version 2002-11-25 22:10:07 +00:00
Elias Naur c106ae87c1 Dump extension info with debug library 2002-11-25 20:35:01 +00:00
Elias Naur 139e7b4cfb Added releaseContext to BaseGL.java (and native for linux) 2002-11-25 17:04:56 +00:00
Elias Naur f57fc75b7b Remapped some keys 2002-11-25 14:57:13 +00:00
Elias Naur be6e1900b6 Moved OpenAL to common 2002-11-25 13:52:24 +00:00
Elias Naur 2b07698af5 Moved AL utility files to common 2002-11-25 13:39:46 +00:00
Elias Naur 2a0cff36da Moved GLU.cpp to common 2002-11-25 13:36:36 +00:00
Elias Naur badbc634b0 Moved org_lwjgl_opengl_GL.cpp to common 2002-11-25 13:32:17 +00:00
Elias Naur 808217ed84 Moved Math functions to common 2002-11-25 13:18:25 +00:00
Elias Naur c8139a4ea2 Synced math operations with win32 2002-11-25 00:09:47 +00:00
Elias Naur a0925cca05 Added more missing native GL functions 2002-11-24 19:14:36 +00:00
Elias Naur 33fab5d9d2 Added linux support for additional GL functions 2002-11-24 14:27:14 +00:00
Elias Naur 8c446aa6ce Using linux soft realtime priority for Sys.REALTIME_PRIORITY 2002-11-22 11:35:03 +00:00
Elias Naur 5c927942b5 The Makefile now strips the release library to make it smaller 2002-11-22 09:40:18 +00:00
Elias Naur 1019ebb695 make g++ compile with -O3 2002-11-22 09:34:10 +00:00
Elias Naur cac92f22c4 Input fixes 2002-11-21 15:05:51 +00:00
Elias Naur d7e9a66338 Fixed a bug that made extensions unavailable 2002-11-21 11:00:40 +00:00
Elias Naur d77551e685 Null joystick and gamepad files added 2002-11-20 16:11:39 +00:00
Elias Naur ededb55a85 Fixed a viewport placement bug 2002-11-20 13:54:58 +00:00
Elias Naur f188a1400b Improved pointer and keyboard handling under windowed mode 2002-11-20 10:33:37 +00:00
Elias Naur b3d37c9ca2 removed alGetSource3f 2002-11-19 15:48:38 +00:00
Elias Naur fb9126a85f Corrected author tags 2002-11-19 15:22:28 +00:00
Elias Naur 2809cb24e8 linux extal.h 2002-11-19 15:17:45 +00:00
Elias Naur 762df9ca12 Updated linux Makefile 2002-11-19 14:58:34 +00:00
Elias Naur f2b0cf2e6a Added linux specific checkALerror.h 2002-11-19 14:38:00 +00:00
Elias Naur 04dcec3686 Added EAX linux files 2002-11-19 14:33:49 +00:00
Elias Naur ce668ad98b Initial OpenAL linux support 2002-11-19 14:08:21 +00:00
Elias Naur b9458afc52 Ported to C++. ported Math ops 2002-11-19 08:50:57 +00:00
Elias Naur 910f458521 Moved Game.java opengl test to java/org/lwjgl/opengl/test 2002-11-19 07:51:27 +00:00
Elias Naur f45bfa725b Updated extgl.h/c and checkGLerror.h 2002-11-19 07:42:55 +00:00
Elias Naur 8fd64c825b Added small GL extension test to Game.java 2002-11-18 20:29:48 +00:00
Elias Naur d761ef648d GL extensions fixes 2002-11-18 20:22:01 +00:00
Elias Naur c7eb254a5c Cleanup makefile 2002-11-18 20:07:00 +00:00
Elias Naur be1d7bb2a8 Added support for GL extensions 2002-11-18 20:02:17 +00:00
Elias Naur 08e6af2ed0 Added debug support 2002-11-17 17:09:40 +00:00
Elias Naur e78027d295 Cursor z movement added 2002-11-17 16:49:16 +00:00
Elias Naur 1e828e6fc5 Cursor blanking added 2002-11-17 16:14:53 +00:00
Elias Naur 43698ade7c Added Sys setPriority support 2002-11-16 20:10:42 +00:00
Elias Naur 0b4f524ff9 Added Sys timer support 2002-11-16 19:46:18 +00:00
Elias Naur fa979f0f20 Corrected revision and id tags 2002-11-15 11:10:32 +00:00
Elias Naur 833bcb293c corrected id and revisions tags 2002-11-15 11:00:19 +00:00
Elias Naur 0436c62b0a corrected revision and id 2002-11-15 10:58:57 +00:00
Elias Naur a3624b0216 Added linux native src files 2002-11-15 10:40:55 +00:00