Commit Graph

242 Commits

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