Elias Naur
f1705b7fde
Added AccessController.doPrivileged where needed
2005-05-30 16:21:05 +00:00
Elias Naur
9902110033
Removed update() from Display.createWindow() as it caused garbage to appear as the first frame. Added a black background brush t win32 window class
2005-05-06 09:40:36 +00:00
Caspian Rychlik-Prince
2d46f5580a
Internal tweaks to allow certain display mode changes
2005-05-04 20:41:24 +00:00
Elias Naur
0e6c9aa0cd
Added LWJGLUtil.getPlatform to encapsulate platform detection. Added FreeBSD as an alias to Linux.
2005-04-09 17:35:37 +00:00
Caspian Rychlik-Prince
24c3017d68
Replaced sync() with a method that works, based on sync2() and Thread.sleep(1)
2005-04-09 16:45:14 +00:00
Brian Matzon
ad8d7676c2
moved Sys.log to LWJGLUtils and renamed property to org.lwjgl.util.Debug
2005-03-29 18:09:33 +00:00
Elias Naur
3085702a38
Mac OS X port of the refactoring. Linux and Win32 fixes.
2005-02-23 11:11:08 +00:00
Elias Naur
fb5d89599b
Linux support for AWTGLCanvas. Big refactor of context specific code into Context.java that is now shared between Display, Pbuffer and AWTGLCanvas. (Win32 and Mac OS X is now broken while I implement the same changes on those platforms)
2005-02-20 11:24:22 +00:00
Elias Naur
0612deb69f
Fixed setDisplayMode
2005-02-04 12:00:24 +00:00
Elias Naur
250a87767f
Removed Controller
2005-01-18 15:32:13 +00:00
Elias Naur
77bdce5ff7
Don't set the window location twice in Display.createWindow()
2005-01-14 12:29:19 +00:00
Elias Naur
02b883726b
Removed redundant makeCurrent from Display.java
2005-01-14 09:39:22 +00:00
Elias Naur
859204c4a0
Don't make context current in DisplayImplementation.createWindow(), but let Display do it explicitly to increase native call granularity
2005-01-14 09:24:59 +00:00
Elias Naur
69bc20f3f5
Removed enableBuffer() and enableTranslation() from the public API.
2005-01-10 08:19:28 +00:00
Elias Naur
3a320a7cbf
call setLocation _after_ window has been created
2005-01-06 14:22:25 +00:00
Brian Matzon
abb1a97b3b
respect display location
2004-12-27 21:38:50 +00:00
Elias Naur
b84e98f8f6
Log ignored exception in Display.destroy()
2004-12-14 08:11:18 +00:00
Elias Naur
1e7a67673d
Added initial mode debug output
2004-12-11 16:44:56 +00:00
Ioannis Tsakpinis
83dd8b6bbc
Code cleanup
2004-11-25 22:31:38 +00:00
Caspian Rychlik-Prince
23b6e400eb
Centres windowed mode now.
2004-11-22 21:12:51 +00:00
Caspian Rychlik-Prince
282ac78fc1
Fixed a fullscreen/displaymode setting bug
2004-11-22 13:42:28 +00:00
Caspian Rychlik-Prince
14b1199812
Reverted sync2 change
2004-11-07 17:26:45 +00:00
Caspian Rychlik-Prince
23791a0230
Adjusted sync2() to sync to FPS - 1, like sync() does. Now runs much smoother in Super Elvis.
2004-11-07 16:38:02 +00:00
Elias Naur
7ecf2516fb
Only initialize Controller on win32
2004-11-03 13:58:06 +00:00
Elias Naur
0f95034fd3
Added Display.processMessages(), providing a hook to only process native events and not swap buffers or poll input
2004-11-02 18:15:39 +00:00
Elias Naur
ddd61963ee
Split out native implementation of Display/Mouse/Keyboard into implementers of DisplayImplementation
2004-11-02 12:48:58 +00:00
Elias Naur
c51c3897b1
Don't reset the mode to the initial mode when a mode switch or window creation goes wrong
2004-11-01 23:13:30 +00:00
Elias Naur
8b691bbe78
Linux: reset/restore gamma settings on activate/deactivate
2004-09-22 19:25:16 +00:00
Brian Matzon
da867ff28a
support for setLocation
2004-09-15 17:07:06 +00:00
Brian Matzon
309ef6b06e
fixed a gazillion imports
2004-08-20 06:26:19 +00:00
Elias Naur
b88624e608
Add a public DisplayMode constructor
2004-08-09 11:55:48 +00:00
Elias Naur
8040e723c6
Removed all instances of synchronized, as we're not really multithread safe anyway. It is up to the user of LWJGL to synchronize access to LWJGL
2004-07-29 15:45:45 +00:00
Elias Naur
72afa14aa3
Converted *.allocateDirect to BufferUtils
2004-07-29 11:41:11 +00:00
Elias Naur
e994515f7c
Removed redundant vbo_tracker from Display.java
2004-07-28 22:17:56 +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
84bd38f42f
Make reset() revert the display mode field
2004-07-21 16:06:30 +00:00
Elias Naur
4d8c6ea421
Added calls to nUpdate() before querying window state
2004-07-19 07:32:13 +00:00
Elias Naur
d1e887d793
*** empty log message ***
2004-07-16 08:23:49 +00:00
Caspian Rychlik-Prince
deb08476ef
Added experimental sync2() method to Display. We'll see which one works best and remove the worst one.
2004-07-09 11:20:14 +00:00
Caspian Rychlik-Prince
dddf3daedd
Fixed null title bug
2004-07-06 16:30:28 +00:00
Elias Naur
1827f0efd4
Implemented reference counted loading of gl library in java
2004-07-05 14:34:47 +00:00
Elias Naur
4241dfde37
Removed extra System.out
2004-07-05 11:19:09 +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
4a13ffa90f
*** empty log message ***
2004-07-03 17:39:25 +00:00
Caspian Rychlik-Prince
645cbe5ba4
*** empty log message ***
2004-07-03 16:41:38 +00:00
Elias Naur
d4aa34e4f5
*** empty log message ***
2004-07-03 16:07:00 +00:00
Elias Naur
a57a736de5
*** empty log message ***
2004-07-03 13:55:25 +00:00
Caspian Rychlik-Prince
6b7695e0f9
*** empty log message ***
2004-07-03 13:13:54 +00:00
Elias Naur
d0fce51ebb
Check for null mode
2004-07-03 13:02:45 +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