Commit graph

339 commits

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