Brian Matzon
3b5c704383
fixed issue with prematurely interrupting the inputstream getter thread\nmade secondary check for inputstream null
2008-04-06 22:15:16 +00:00
Elias Naur
bf25259325
Linux: Attempt to avoid race condition when tracking Display parent focus
2008-04-06 21:34:22 +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
350c3c2661
Let otherwise generic AWT utilities classes take a Component instead of the more specific AWTGLCanvas
2008-04-06 14:39:32 +00:00
Elias Naur
bc33b3c4d5
Windows: Moved Display.setIcon logic to java
2008-04-01 20:45:24 +00:00
Elias Naur
395cf797cb
Linux: Added alpha mask support to Display.setIcon
2008-04-01 19:46:20 +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
f2b73f57de
Mac OS X: Added missing #import
2008-02-19 14:06:48 +00:00
Elias Naur
59f5ed712e
Added AWTInputAdapter.isCreated() requested by kevglass
2008-02-01 12:02:54 +00:00
Brian Matzon
0d2f6a8256
second 2.0 alpha
2008-01-31 19:22:32 +00:00
Brian Matzon
c4b9d2321d
2.0a version string
2008-01-21 22:56:37 +00:00
Elias Naur
a877b0c1f1
javadoc fixes
2008-01-21 22:20:25 +00:00
Elias Naur
31669b02ec
javdoc fixes
2008-01-21 22:15:12 +00:00
Brian Matzon
73f10ce7c0
removing as per request of elias
2008-01-21 22:07:48 +00:00
Elias Naur
6d9ce94068
javadoc fixes
2008-01-21 22:03:45 +00:00
Brian Matzon
c9979fcfab
2.0 version string
2008-01-21 21:55:20 +00:00
Elias Naur
dc3999b075
Removed devil and fmod support. yay.
2008-01-21 21:38:29 +00:00
Elias Naur
7fe1db23ec
Converted GLU to use Buffers instead of arrays to match the rest of lwjgl
2008-01-21 21:27:03 +00:00
Elias Naur
df9e7af261
Moved org.lwjgl.opengl.glu to org.lwjgl.util.glu
2008-01-21 20:38:04 +00:00
Elias Naur
5e3956d358
Moved translation of ogl error codes from GLU to Util, to prepare for glu to be moved to lwjgl_utils
2008-01-21 20:28:53 +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
Brian Matzon
f6152a134a
1.1.4 version string
2008-01-20 08:20:54 +00:00
Elias Naur
fa4bc30097
Only let Display.update() call display_impl.update() once
2008-01-19 09:53:14 +00:00
Elias Naur
8e2233167d
Linux: Fixed test for XkbSetDetectableAutoRepeat success
2008-01-19 08:57:20 +00:00
Elias Naur
e448bb0c29
Removed OS message polls from mouse and keyboard poll() and read(), since they can be quite expensive
2008-01-19 08:49:10 +00:00
Elias Naur
d184509ac7
AWTGears: Make the canvas the same size as the Gears test
2008-01-18 10:29:01 +00:00
Elias Naur
8f677f1585
Linux: use XkbSetDetectableAutoRepeat to detect repeated key events more reliably
2008-01-07 18:29:04 +00:00
Elias Naur
b5aef81f7e
Added missing @OutParameter annotations to alGen* and glGen* methods
2008-01-06 21:33:34 +00:00
Elias Naur
4bf0703eb1
Windows: Pulled DefWindowProc calling to java side
2007-12-13 09:29:36 +00:00
Elias Naur
e03ee5d4d7
Windows: 64bit compilation fixes
2007-12-04 10:58:10 +00:00
Elias Naur
9d7eb11600
Windows: Removed unused local declarations from WindowsContextImplementation.c
2007-12-04 09:27:54 +00:00
Elias Naur
1cd7d96c68
Mouse: Attempt to clarify Mouse.setNativeCursor javadoc
2007-11-27 07:58:03 +00:00
Elias Naur
5e830de033
windows: Use throwFormattedException, not throwException in tryLoadOpenAL()
2007-11-14 11:10:52 +00:00
Elias Naur
b19f24ec61
openal: Don't free native path too early (duh)
2007-11-14 11:07:22 +00:00
Elias Naur
74ab4f7fa4
openal: Improved error reporting from native library load
2007-11-14 10:45:07 +00:00
Brian Matzon
c3500a14d2
fixed 1.1 detection so that oal 1.1 stubs are loaded for major > 1
2007-11-12 16:02:57 +00:00
Elias Naur
dbe9667c3d
Added a Thread.yield() to applets tests that repaint() last in paintGL() to help input responsiveness on linux. Thanks to Kappa for debugging and finding the workaround.
2007-11-09 05:11:29 +00:00
Brian Matzon
632fcbfeaa
added aho's adapter
2007-11-07 23:17:14 +00:00
Elias Naur
71603f996f
Tweaked exception message
2007-11-01 13:06:11 +00:00
Elias Naur
d616f8439a
Linux: use throwFormattedException in extgl_Open instead of custom message formatting
2007-10-30 18:34:38 +00:00
Brian Matzon
9ebea51be1
updating version string to 1.1.3
2007-10-28 21:42:43 +00:00
Brian Matzon
d098129690
miscellaneous minor fixes to improve the loading and displaying of the applet
2007-10-24 21:55:39 +00:00
Brian Matzon
99fe356399
reworked urlconnection.getInputStream to threaded usage, to avoid Opera issue (detective work: kappaOne)
2007-10-24 21:25:54 +00:00
Brian Matzon
ee85c04e95
removed annotation
2007-10-24 21:23:32 +00:00
Brian Matzon
409da4106b
added required isSupported
2007-10-22 20:54:16 +00:00
Brian Matzon
21b2cc0c21
cleaning imports
2007-10-20 21:31:52 +00:00
Brian Matzon
d87b73e73d
applied kappaOnes latest fixes
2007-10-20 21:20:00 +00:00
Brian Matzon
8ee25e22cd
removing direct x, can be picked up in the lwjgl-directx tag
2007-10-20 19:02:48 +00:00
Brian Matzon
5a659ac1d9
make sure that any windows cursor image pixel is either 0xffxxxxxx or 0x00000000
2007-10-20 14:48:07 +00:00
Elias Naur
07ae6b0513
Fixed GLU compile error
2007-10-17 08:24:07 +00:00
Brian Matzon
d11758044a
fix: generic error message placeholder String text was not being replace by the error message - kappaOne
2007-10-13 07:37:39 +00:00
Ioannis Tsakpinis
100e528fae
Extension updates and fixes.
2007-09-19 14:10:48 +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
3d81b7715d
Added KEY_LMETA and KEY_RMETA to Keyboard to replace the windows centric KEY_LWIN and KEY_RWIN, which are now deprecated
2007-08-28 08:02:24 +00:00
Elias Naur
473eb61c60
Mac OS X: Mapped the option key to Keyboard.KEY_LWIN and Keyboard.KEY_RWIN instead of KEY_*META like the alt key
2007-08-28 07:38:20 +00:00
Elias Naur
9fc5b5273b
Linux: Don't close the static Display connection, to avoid crashes with some dri drivers
2007-08-26 22:07:24 +00:00
Elias Naur
42a9d985d4
tweaked build.xml to get compile working again
2007-08-25 14:47:24 +00:00
Mark Bernard
8291c7f163
2007-08-22 23:11:54 +00:00
Mark Bernard
9182e5b3ae
First commit of Direct3D extension.
2007-08-22 23:11:27 +00:00
Mark Bernard
ed3261718f
First commit of Direct3D extension.
2007-08-22 23:11:02 +00:00
Brian Matzon
31a1fe4d4f
1.1.2
2007-08-17 18:41:00 +00:00
Elias Naur
1c935179f3
Windows: Don't do SYSRQ hackery on WM_SYSKEYDOWN
2007-08-17 06:14:40 +00:00
Elias Naur
c443696e24
Reverted 2877
2007-08-17 06:12:59 +00:00
Brian Matzon
26a040a7d2
handle alt+space (windows system menu)
2007-08-16 20:29:01 +00:00
Elias Naur
02d119d76e
Windows: Handle WM_SYSCHAR
2007-08-16 09:46:45 +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
Elias Naur
9851b06009
Windows: Make cursor visible when grabbed and not focused
2007-08-16 08:38:20 +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
e76fd53950
Windows: Fixed cursor clipping when loosing focus
2007-08-12 23:33:25 +00:00
Brian Matzon
866374b003
tagging 1.1.1
2007-08-05 20:51:11 +00:00
Elias Naur
1a13e010a6
Windows: Mapped VK_OEM_8 to KEY_GRAVE to match lwjgl 1.0 behaviour
2007-07-29 19:55:06 +00:00
Elias Naur
7a49d5ce8f
Windows: Mapped VK_SNAPSHOT to KEY_SYSRQ and added workaround to a windows bug where WM_KEYDOWN is never generated for VK_SNAPSHOT
2007-07-29 19:43:36 +00:00
Elias Naur
659a1cf4c7
Windows: Added key mapping to KEY_EQUALS for VK_OEM_PLUS to match lwjgl1.0 with US keyboard layout
2007-07-29 19:24:17 +00:00
Elias Naur
aa434022ee
Bumped Sys.JNI_VERSION
2007-07-28 21:28:33 +00:00
Elias Naur
3f21f95b2f
Windows: Don't be too aggressive in clipping the cursor. Fixes a problem where the window is moved out of the screen when clicking the title bar while having the mouse grabbed
2007-07-28 21:19:58 +00:00
Elias Naur
8bb3e5aec0
Windows: Removed an unused parameter from WindowsDisplay.clipCursor
2007-07-28 20:46:17 +00:00
Elias Naur
436cd2e39c
Disable MacOSXDisplay.setIcon since there are no window icons on Mac OS X
2007-07-20 21:24:03 +00:00
Elias Naur
45517e96c2
Merge Windows and Linux privileged Runtime.exec usage into a method in LWJGLUtil. Linux: Added the recent freedesktop.org standard xdg-open script to the list of possible URL handlers.
2007-06-29 22:11:31 +00:00
Elias Naur
1e5b712747
Mac OS X: Add a Toolkit.getDefaultToolkit() incantation to MacOSXSysImplementation to avoid hangs on Mac OS X 10.3
2007-06-20 08:57:45 +00:00
Elias Naur
83ac2f22d0
Linux: Don't use seperate Display connections to switch display modes
2007-06-15 06:58:38 +00:00
Brian Matzon
ee9c52ddb4
no longer null'ing SecurityManager
2007-06-11 18:43:13 +00:00
Brian Matzon
92edcd850b
applied kappaOne's Permision denied handling
...
made some minor cleanup
2007-06-11 18:10:19 +00:00
Brian Matzon
48c91afd16
initial checking on AppletLoader
2007-06-10 20:30:03 +00:00
Brian Matzon
61c0425057
split gears implementation into own canvas, to be reused
2007-06-10 20:28:49 +00:00
Elias Naur
befe34e32d
Removed unused, private Display.getContext()
2007-06-06 13:56:03 +00:00
Elias Naur
a183367860
Added gl extension/core aliases in BaseReferences
2007-06-06 12:27:40 +00:00
Elias Naur
98c79d991d
Missing change to ContextCapabilitiesGenerator from last commit
2007-06-06 12:18:33 +00:00
Elias Naur
ddfae1512d
Don't use GL13 and ARB_vertex_shader constants in BaseReferences if they're not supported
2007-06-06 12:07:45 +00:00
Elias Naur
1986b75e82
Removed dead code from WindowsKeyboard
2007-06-06 09:01:09 +00:00
Elias Naur
d4b7b88366
Tweaked KeyboardTest
2007-06-06 08:38:45 +00:00
Elias Naur
6446f28cda
Fixed svn properties on WindowsKeycodes.java
2007-06-05 16:52:01 +00:00
Elias Naur
16cdf15499
Removed unused org.lwjgl.util.IGL
2007-06-05 16:33:33 +00:00
Elias Naur
31d821941e
Mac OS X: When grabbing the mouse, skip the next event to avoid bogus deltas
2007-05-31 22:09:46 +00:00
Elias Naur
52b5958191
Mac OS X: Synchronized access to grabbed state
2007-05-31 21:11:34 +00:00
Elias Naur
710d56fe55
Mac OS X: Track grabbed state in MacOSXMouseEventQueue
2007-05-31 21:04:52 +00:00
Elias Naur
bea9667f8b
Mac OS X: Don't use global is_grabbed variable in MacOSXMouseEventQueue.nWarpCursor
2007-05-31 21:00:13 +00:00
Elias Naur
2d436e3231
Windows: Fix repeated character codes
2007-05-31 08:52:55 +00:00
Elias Naur
8f2da1dea5
Removed unnecessary (and deadlock prone) synchronized modifiers from methods in Keyboard and Mouse
2007-05-30 20:33:40 +00:00
Elias Naur
6939f9170a
Windows: Fix up WindowsContextImplementation.nSetSwapInterval
2007-05-27 15:32:25 +00:00
Elias Naur
985d0973a8
Linux: Move input grab update from createWindow to when MapNotify is received. This avoid any input grabbing being ignored because the window is not yet mapped
2007-05-27 13:17:35 +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
42e75bb619
Windows: Check for gl errors after setting swap interval
2007-05-27 05:19:19 +00:00
Elias Naur
59a3176ace
Implemented proper buffer reference retaining for complicated functions like glVertexAttribPointer and glTexCoordPointer. Patch by MatthiasM.
2007-05-22 22:30:21 +00:00
Brian Matzon
6768532934
reworked typecasting with a dash of insanity to look more like nalBufferData - lisp anyone?
2007-05-20 17:51:28 +00:00
Brian Matzon
79a394c749
reordered context destruction - fixing some invalidation issues
2007-05-20 17:47:33 +00:00
Brian Matzon
fc770dc67e
fixed issues with typecasting of buffer type
2007-05-20 17:44:59 +00:00
Brian Matzon
fc845268e6
remove context from the devices list of context on context destroy
2007-05-19 20:47:53 +00:00
Brian Matzon
4ec5e9994f
moved invalidation into sycnhronized block
2007-05-19 20:40:04 +00:00
Brian Matzon
325ad04c7e
dont compare validity on equals
2007-05-19 20:39:50 +00:00
Brian Matzon
d0956ea179
fixed address checking issue
...
fixed issue with ALC error checking not taking a device into account
now tracking device and context create and destroy
made the create with open default device option public
misc cleaning up and commenting
2007-05-19 19:37:57 +00:00
Elias Naur
e4745f5728
Linux: Removed GCJ workaround since current GCJ versions support re-entrant AWT locking
2007-05-18 07:15:35 +00:00
Elias Naur
fc759e6192
Implemented Keyboard.enableRepeatEvents(), Keyboard.areRepeatEventsEnabled() and Keyboard.isEventRepeat() to control repeat event reporting. Added repeat key test to KeyboardTest
2007-05-13 22:01:48 +00:00
Elias Naur
eef220a10f
Use event timestamp to detect key repeat events in KeyboardEventQueue
2007-05-13 21:11:53 +00:00
Elias Naur
b5e6d79ea9
use timestamp matching hack to detect key repeat events instead of globally disabling keyboard repeating
2007-05-13 20:13:37 +00:00
Elias Naur
691f471f7d
AppletTest: Destroy AWTInputAdapter on destroy()
2007-05-01 18:13:29 +00:00
Elias Naur
c025a7c70f
Re-implemented VBO buffer binding caches to speed up gl*Pointer calls. Patch by MatthiasM.
2007-04-29 20:22:25 +00:00
Elias Naur
a4b67705a0
Removed Util.glGetInteger convenience method since it is not thread safe
2007-04-29 19:38:04 +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
71e62fa844
Added output of character code value to KeyboardTest
2007-04-26 06:55:55 +00:00
Elias Naur
a42f401331
Simplified ALC10.nalcOpenDevice
2007-04-26 05:58:35 +00:00
Elias Naur
649822f65b
Windows: Use TranslateMessage and WM_CHAR to receive character input instead of manual translation. This change fixes composed characters.
2007-04-24 14:41:17 +00:00
Elias Naur
010d6582c7
Windows: Call default handler on key events
2007-04-24 14:13:42 +00:00
Elias Naur
6402783a9e
Removed debug output
2007-04-24 13:41:31 +00:00
Elias Naur
13cec51058
Windows: Convert WindowsKeyboard to use windows messages instead of DirectInput.
2007-04-24 13:40:13 +00:00
Elias Naur
b44fff716f
Compile fix
2007-04-24 13:22:35 +00:00
Elias Naur
23701fdf75
Windows: Remove dependency on DirectInput for WindowsMouse used by WindowsDisplay. Keyboard conversion coming up. Reasons:
...
1. DirectInput is deprecated (http://en.wikipedia.org/wiki/DirectInput ). Specifically, Microsoft recommends using regular windows messages for keyboard and mouse input.
2. Not using DirectInput enable us to use the Raw Input JInput plugin to access multiple mice (and keyboards).
3. We're already using windows messages for features DirectInput never supported, so by removing DirectInput dependency, we get rid of some special case code.
4. When we're only using windows messages for input, we're (theoretically) more compatible than with a dependency on a properly working DirectInput.
2007-04-24 09:30:03 +00:00
Elias Naur
403fd47e2e
Windows: Fixed NULL check in native setupCursorClipping
2007-04-23 20:50:44 +00:00
Elias Naur
b386d2185b
Added support for non-direct in glGet* style functions
2007-04-23 20:17:42 +00:00
Elias Naur
7ee398fe4e
Added support for non-direct buffers to Cursor
2007-04-23 16:47:25 +00:00
Elias Naur
31aa4355ca
Inline optimizations to state trackers by MatthiasM
2007-04-22 21:29:28 +00:00
Brian Matzon
2d7c4b20d7
fixing warnings
2007-04-19 23:13:52 +00:00
Brian Matzon
5caece9329
fixing warnings
2007-04-19 23:02:57 +00:00
Brian Matzon
0ac9e5ff83
removing ALC
2007-04-19 22:58:13 +00:00
Brian Matzon
fdb0d2cd1d
re-enabled missing ALC error check
2007-04-19 22:54:25 +00:00
Brian Matzon
aa94d36e07
removed some null checks
2007-04-19 22:49:49 +00:00
Brian Matzon
69f24e8f23
output capture devices
2007-04-19 22:44:07 +00:00
Brian Matzon
f7d2966370
remove debug
2007-04-19 22:43:38 +00:00
Brian Matzon
bd00f39ff9
using NewStringNativeWithLength
2007-04-19 22:39:08 +00:00
Brian Matzon
1d920fb4ef
updated to ALC10 instead of ALC
2007-04-19 22:26:19 +00:00
Brian Matzon
d16d77f30d
updated to ALC10 instead of ALC
2007-04-19 22:25:47 +00:00
Brian Matzon
a6ce837564
openal 1.1
2007-04-19 22:25:13 +00:00
Brian Matzon
23ad78416f
exposing context and device
...
updated to ALC10 instead of ALC
removed getImplementations - alcGetString now works as "expected"
2007-04-19 22:24:36 +00:00
Brian Matzon
3b5064f229
updated to ALC10 instead of ALC
2007-04-19 22:23:40 +00:00
Brian Matzon
54eefcb876
exposing context and device
2007-04-19 22:23:20 +00:00
Brian Matzon
2481ce4356
updated to ALC10 instead of ALC
2007-04-19 22:23:04 +00:00
Brian Matzon
9d67fe978c
Capture test for OpenAL 1.1
2007-04-19 22:22:18 +00:00
Brian Matzon
8ad8eb57b4
openal 1.1
2007-04-19 22:21:52 +00:00
Brian Matzon
80bd5b9e03
AL_SOURCE_TYPE changed value ...
2007-04-19 22:21:37 +00:00
Brian Matzon
4152deb7c4
using NewStringNativeWithLength
2007-04-19 22:21:04 +00:00
Brian Matzon
3630ebd6c2
using NewStringNativeWithLength
2007-04-19 22:20:36 +00:00
Brian Matzon
844ae6dce2
openal 1.1
...
exposing device and context
2007-04-19 22:20:14 +00:00
Brian Matzon
6889c876f6
using NewStringNativeWithLength
2007-04-19 22:18:16 +00:00
Elias Naur
e6b9cb1a90
Cut VBO/PBO sanity checks from two to one glGetInteger call by exploiting GL enum value aliasing (once again inspired by MatthiasM). Additionally, support PBO calls added in OpenGL 2.1.
2007-04-19 07:42:01 +00:00
Elias Naur
d9373a798a
Move null parameter checks from check classes to the generated classes, since calculateImageSize assumes the buffer being non-null
2007-04-15 19:43:35 +00:00
Elias Naur
ca35f3b2b4
Don't add border when checking image sizes
2007-04-15 19:33:03 +00:00
Brian Matzon
5d15006837
1.1 version string
2007-04-11 20:32:12 +00:00
Elias Naur
7c6511cf66
Added support for non-direct buffers for all functions that doesn't cache the buffer address at the native side (e.g. glVertexPointer). Reasons:
...
1. We can now support calls like "glLight(..., ..., FloatBuffer.wrap(new float[] {...}));" without worrying about running out of direct memory heap,
since both the FloatBuffer and the array are allocated on the java heap. Future JVMs with stack allocation support could improve this even further.
2. We avoid getting in the way of users that doesn't (yet) know why direct buffers are important.
Obviously, we'd like direct support for arrays, but non-direct buffers are a nice compromise that avoids the API bloat that results when almost all
functions gain an overloaded versions that take arrays instead of buffers.
Notes:
1. Non-direct buffer support should not affect the performance in the direct buffer case, since the non-direct buffer code path is only activated
when the isDirect() check fails, and we were already checking isDirect() for sanity checking.
2. When using non-direct buffers, the buffer contents (remaining() bytes) are copied to a resizable ThreadLocal cached direct buffer (which is
resized as needed) and used instead of the non-direct buffer. Thus, performance of non-direct buffers is lower than direct buffers.
2007-04-11 17:30:13 +00:00
Elias Naur
5a2c33423a
Moved null check from generated code to BufferChecks and removed unused buffer checks
2007-04-11 16:13:05 +00:00
Brian Matzon
2b8f56021f
1.0.1 version string
2007-04-07 19:10:22 +00:00
Elias Naur
81564102c3
Removed generated files from version control - all platforms have support for the java 1.5 apt tool
2007-04-03 10:06:12 +00:00
Elias Naur
fe196168ea
Updated generated files
2007-04-03 08:21:46 +00:00
Elias Naur
7c1b930ab4
Fixed typo in EXT_gpu_program_parameters
2007-04-03 08:16:45 +00:00
Elias Naur
3899e6828f
Windows: Correct testing of wParam when a WM_SYSCOMMAND is received
2007-03-30 19:35:37 +00:00
Elias Naur
176a617393
Windows: Native compile fixes
2007-03-30 19:00:59 +00:00
Elias Naur
360a9a0827
WindowsRegistry: Make sure the native library is loaded by calling Sys.initialize()
2007-03-22 14:05:41 +00:00
Elias Naur
55a889d053
Use jawt_md.h instead of jawt.h since that is apparently the official way of using JAWT (from the example in jawt.h) and is required for lwjgl to compile with the ibm 1.5 jdk
2007-03-13 08:18:00 +00:00
Elias Naur
3c44d0c7be
Added error checking to getBooleanProperty
2007-03-09 14:34:27 +00:00
Elias Naur
eeb711239e
Added error checking to NewStringNative
2007-03-09 14:28:52 +00:00
Elias Naur
d6207572c6
Added a Pbuffer constructor that omits the RenderTexture parameter, and added a note that FBOs should be used instead, if available. Render-to-texture pbuffers can only be available on Windows platforms and is thus not portable.
2007-02-24 18:41:41 +00:00
Elias Naur
4bf4a385f3
Linux: When creating a window don't loop waiting for the MapNotify event. Instead, make sure we don't immediately go from fullscreen to minimized by checking if the window has been focused at least once before minimizing (and resetting display mode).
2007-02-23 10:14:18 +00:00
Elias Naur
a5c8a3d6af
Linux: Don't call XSetInputFocus when creating a window. XSetInputFocus can fail if the window is not mapped when calling it, and it seems that it's rude to call XSetInputFocus according to the ICCCM when the application doesn't already have the focus in one of its subwindows.
2007-02-23 08:31:59 +00:00
Elias Naur
12eb552aba
Linux: Don't use XClearWindow to clear the window, but rely on the OpenGL clearing instead. Also, remove redundant attributes in XCreateWindow
2007-02-23 08:21:02 +00:00
Ioannis Tsakpinis
10695d0b2d
Added NV_geometry_shader4
2007-02-21 13:44:33 +00:00
Elias Naur
dd41c22da7
Windows: Don't exclude PFD_GENERIC_ACCELERATED formats when selecting pixel formats. Hopefully this will enable LWJGL to use the directx emulated opengl implementation on vista
2007-02-17 09:49:44 +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
Brian Matzon
c880c689ff
fixed test to use -1 in freq
2007-02-04 21:46:29 +00:00
Brian Matzon
79a8cf82bd
1.0 version string
2007-02-03 12:22:25 +00:00
Elias Naur
763d9cce7c
Linux: Make sure the first Mouse.poll() return correct absolute X and Y values
2007-01-31 14:07:20 +00:00
Elias Naur
46ce5679c8
Windows AWTInput: Make sure the cursor is contained within the window when the Mouse is grabbed.
2007-01-30 13:08:51 +00:00
Brian Matzon
e8d032973f
updated streams
2007-01-23 19:55:46 +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
5d13607699
Changed version to RC2
2007-01-22 09:24:06 +00:00
Elias Naur
083137884b
Remove the rest of the implementation reflection
2007-01-17 12:58:38 +00:00
Elias Naur
7742185e34
Sys.java: Don't use reflection to create platform specific implementations
2007-01-17 12:49:20 +00:00
Elias Naur
4a1b565c74
Bumped native version because of internal linux API change
2007-01-17 08:22:31 +00:00
Elias Naur
4b13bb10d3
Linux: Fixed wrong return type in LinuxEvent.nGetKeyAddress
2007-01-17 08:16:16 +00:00
Elias Naur
d3f6588580
Auto generated files update
2007-01-17 08:01:49 +00:00
Elias Naur
9d998d61ad
Auto generated files update
2007-01-17 08:01:37 +00:00
Elias Naur
0df2660f1d
Fixed type in NV_framebuffer_multisample_coverage.java
2007-01-17 08:00:54 +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
31079a10c1
AWTInput: Don't create the Robot before it is needed
2007-01-10 13:55:42 +00:00
Brian Matzon
00db5fcb85
added Display.create/destroy. Fixes an error on mac, since OpenGL has to be initialized before creating ILUT
2007-01-07 20:41:45 +00:00
Brian Matzon
48fe0910a1
osx cursor animation emulation enabled
2007-01-04 23:28:33 +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
97db4ca4b2
Windows: Don't use UpdateWindow after all. Instead, don't use a background brush at all to avoid windows clearing windows with non OpenGL drawing commands. Hopefully this will improve compatibility (The NeHe tutorials also don't specify a background brush).
2007-01-04 14:00:45 +00:00