Commit graph

317 commits

Author SHA1 Message Date
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