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