Commit Graph

50 Commits

Author SHA1 Message Date
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 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 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 ceca66cd6d Added null check in linux setDisplayMode 2004-02-11 11:25:19 +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 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 9d52aaba56 Dummy getAdapter()/getVersion() for linux 2003-09-28 07:02:23 +00:00
Elias Naur a8cd48965f *** empty log message *** 2003-09-08 14:51:01 +00:00
Elias Naur 315375dee5 Ported OpenGL to Buffers 2003-06-24 12:24:55 +00:00
Elias Naur c267f6d5da Linux fixes 2003-06-01 17:20:03 +00:00
Elias Naur e66f5dee8a More Display checks 2003-05-30 14:44:45 +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 f0c94451e9 Added dummy gamma controls to linux 2003-04-07 17:04:24 +00:00
Elias Naur bc33d3ff2b Linux/win32 changes for 0.6 2003-03-30 19:26:39 +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 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
Brian Matzon 12b7c4dd85 fix: now enumerates multiple displaydevices, if available 2003-03-03 21:49:46 +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 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 86c4ce70dc Bug fix 2003-01-12 11:42:27 +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 1f3f00aed1 Moved BaseGL constructor parameters to Display 2002-12-19 16:35:35 +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 77e86f580c Added pointer warping to keep pointer in center of the display 2002-11-28 21:49:11 +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 f188a1400b Improved pointer and keyboard handling under windowed mode 2002-11-20 10:33:37 +00:00
Elias Naur b9458afc52 Ported to C++. ported Math ops 2002-11-19 08:50:57 +00:00
Renamed from src/native/linux/org_lwjgl_Display.c (Browse further)