Elias Naur
|
1071c31bc0
|
Removed dead code from Display
|
2008-05-30 07:08:14 +00:00 |
|
Elias Naur
|
f18b5baa09
|
Removed Display.sync2 and Display.sync3
|
2008-05-30 06:53:33 +00:00 |
|
Elias Naur
|
37ab6afff2
|
Don't set icon when Display is parented
|
2008-04-13 18:26:22 +00:00 |
|
Elias Naur
|
9aefad3f09
|
Linux: Some DRI drivers don't like to have the context destroyed before the window, even though the context is not current anymore. The destroy ordering in Display.destroy is now flipped as a workaround
|
2008-04-13 18:11:38 +00:00 |
|
Elias Naur
|
d8333fb279
|
Added line about tracking parent size to Display.setParent javadoc
|
2008-04-07 20:39:46 +00:00 |
|
Elias Naur
|
61a71ea912
|
Let the Display resize itself to match its parent, if non null
|
2008-04-07 19:21:40 +00:00 |
|
Brian Matzon
|
bb16ec7492
|
updated and added license where needed
|
2008-04-07 18:36:09 +00:00 |
|
Elias Naur
|
c499f33bcf
|
Added experimental Display.setParent to allow Display to be embedded in an AWT Canvas. Added basic linux implementation and test.
|
2008-04-06 20:56:52 +00:00 |
|
Elias Naur
|
abd3f75d6c
|
Removed 2D OpenGL initialization code from Display. It messes with the implicit, but well-defined, opengl default state and doesn't fit well with multiple context types (gl3 and d3d)
|
2008-03-23 15:51:10 +00:00 |
|
Elias Naur
|
65309d759c
|
Added notes to Mouse.poll() and Keyboard.poll() that Display.processMessages() (or Display.update()) must be called to receive new input state
|
2008-03-02 18:16:39 +00:00 |
|
Elias Naur
|
31669b02ec
|
javdoc fixes
|
2008-01-21 22:15:12 +00:00 |
|
Elias Naur
|
e9a3b7a556
|
Display: Removed display_impl.update() from isCloseRequested(), isVisible(), isDirty() and isActive() since it can be an expensive call on at least linux. Display.update() is now required to be called to update the internal state.
|
2008-01-21 20:21:21 +00:00 |
|
Elias Naur
|
fa4bc30097
|
Only let Display.update() call display_impl.update() once
|
2008-01-19 09:53:14 +00:00 |
|
Elias Naur
|
a9f9a38c4c
|
Mac OS X: Release and clear the context from the drawable in the correct order
|
2007-08-30 18:27:12 +00:00 |
|
Elias Naur
|
bc09bd11e3
|
Don't let Display.sync* sleep with the global lock held
|
2007-08-30 12:34:56 +00:00 |
|
Elias Naur
|
7e05654cd2
|
Made Display.timeNow local
|
2007-08-30 12:19:34 +00:00 |
|
Elias Naur
|
15cf41553c
|
Don't allow switching to fullscreen when a custom display mode is in effect. This is a change from before, where the current mode was simply overwritten with the initial (desktop) mode
|
2007-08-16 08:55:06 +00:00 |
|
Elias Naur
|
03749c312c
|
Revert 2872
|
2007-08-16 08:49:14 +00:00 |
|
Brian Matzon
|
e809c1f7f0
|
fix: make sure that we return to the same display mode that was set in windowed mode when toggling between fullscreen and windowed mode
|
2007-08-15 20:14:29 +00:00 |
|
Elias Naur
|
befe34e32d
|
Removed unused, private Display.getContext()
|
2007-06-06 13:56:03 +00:00 |
|
Elias Naur
|
748c826af4
|
Display: Add GL error check after initial makeCurrent() (for real this time)
|
2007-05-27 13:09:48 +00:00 |
|
Elias Naur
|
1ccab9e810
|
Display: Add GL error check after initial makeCurrent()
|
2007-05-27 07:48:43 +00:00 |
|
Elias Naur
|
ef37c0e897
|
Make sure the swap interval is reset in Display when switching Display modes and toggling fullscreen
|
2007-04-28 20:10:21 +00:00 |
|
Elias Naur
|
6402783a9e
|
Removed debug output
|
2007-04-24 13:41:31 +00:00 |
|
Elias Naur
|
56178d97fd
|
Make the rest of LWJGL thread safe. No attempt have been done to make the locking minimal. Instead, one global lock is shared by Display, Mouse, Keyboard and Cursor. The lock surrounds all public methods.
|
2007-02-12 12:18:26 +00:00 |
|
Elias Naur
|
1602a74f42
|
Tweaked comment for Display.getAvailableDisplayModes to make it clear that invalid modes can be returned and that create() won't always detect such modes
|
2007-01-22 10:14:13 +00:00 |
|
Elias Naur
|
083137884b
|
Remove the rest of the implementation reflection
|
2007-01-17 12:58:38 +00:00 |
|
Elias Naur
|
7adffdb0cc
|
Display: Fixed a NPE when create() fails on context creation
|
2007-01-13 19:24:05 +00:00 |
|
Elias Naur
|
b7b203d29a
|
Windows: Clear the window with OpenGL to replace UpdateWindow(HWND) and run message loop once in Display.create().
|
2007-01-04 14:12:36 +00:00 |
|
Elias Naur
|
7ca70d8c5e
|
Display: Don't add the shutdown hook twice when a previous create() call has failed
|
2006-11-19 11:43:00 +00:00 |
|
Elias Naur
|
0a17002082
|
Don't register the Display shutdown hook in the static initializer. Register it at create() and remove it at destroy(). This avoids unnecessary conflicts when only using AWT stuff
|
2006-10-26 19:41:15 +00:00 |
|
Elias Naur
|
ec9b449b78
|
Made Display.getImplementation package private, and made the input.* packages access it through reflection.
|
2006-10-08 09:05:16 +00:00 |
|
Elias Naur
|
def08f06f8
|
Display.java: Moved Context creation to after createWindow to relax the requirement that the Display PeerInfo must be valid before createWindow(). This will help Windows get rid of a dummy window.
|
2006-09-19 13:41:18 +00:00 |
|
Elias Naur
|
4c9edffc85
|
Linux: Remove 32x32 icons size check, since other sizes seem to work alright. Document the fact that Display.setIcon use the icons from the icon array in order of decreasing preference
|
2006-07-22 21:30:31 +00:00 |
|
Elias Naur
|
bb8dcf3996
|
Windows: Rename Win32* files to Windows*
|
2006-07-12 18:32:58 +00:00 |
|
Elias Naur
|
5a83c8de35
|
Reverted Display.getPrivilegedBoolean access modifier change - package private is alright
|
2006-07-02 22:45:56 +00:00 |
|
Brian Matzon
|
a9edd6af6e
|
made Display priveledged action private. Fixes a possible security exploit that would allow anyone to get a boolean from System properties *gasp*
|
2006-07-02 20:26:49 +00:00 |
|
Elias Naur
|
aedb5ad912
|
Mac OS X: Fixed flickering caused by the new context handling in AWTGLCanvas
|
2006-06-07 06:35:52 +00:00 |
|
Elias Naur
|
684ee48641
|
Added Display.swapBuffers(). Combined with Display.processMessages() and Mouse/Keyboard/Controllers.poll() this method allows an application to create a custom policy for the rendering/polling loop in addition to the static Display.update() policy.
|
2006-05-03 20:53:16 +00:00 |
|
Caspian Rychlik-Prince
|
16524516cd
|
Tidied up unused variables, added serialVersionUIDs as appropriate,
removed a few unnecessary casts and brackets and exceptions.
|
2006-04-21 11:11:21 +00:00 |
|
Caspian Rychlik-Prince
|
64f58414b4
|
*** empty log message ***
|
2006-01-16 21:04:49 +00:00 |
|
Elias Naur
|
c9f35b917d
|
Made Display.releaseContext static (duh)
|
2006-01-02 14:15:24 +00:00 |
|
Elias Naur
|
95bc8cc4e5
|
Fixed exception messages
|
2006-01-02 14:05:30 +00:00 |
|
Elias Naur
|
9ccb31416e
|
Added Display.releaseContext()
|
2006-01-02 13:49:36 +00:00 |
|
Elias Naur
|
5faf661f04
|
Added setSwapInterval to Display and AWTGLCanvas
|
2006-01-01 19:50:06 +00:00 |
|
Elias Naur
|
2a9b8de2fb
|
Make Display, Pbuffer and AWTGLCanvas fail on null PixelFormats
|
2005-12-29 22:31:46 +00:00 |
|
Elias Naur
|
6ea1739399
|
Make Display, Pbuffer and AWTGLCanvas fail on null PixelFormats
|
2005-12-29 22:30:14 +00:00 |
|
Brian Matzon
|
483d6bcf38
|
create windows with LWJGL logo
dont recache same icons
|
2005-10-21 18:53:21 +00:00 |
|
Brian Matzon
|
eb795b9ecb
|
caching of window icon
|
2005-07-16 11:15:37 +00:00 |
|
Kevin Glass
|
94e0bb30c0
|
Added methods to set the window icon. MacOS implementation added using AWT images.
|
2005-07-05 21:54:12 +00:00 |
|