Elias Naur
c64dd328f9
Added a native NewStringNativeUnsigned to avoid compile warnings
2006-07-07 10:36:26 +00:00
Elias Naur
cbe41294a5
Linux: Moved most input related stuff from native to java
2006-07-03 18:07:44 +00:00
Elias Naur
6cf49718db
Windows: LWJGL didn't work well with jinput, but compatibility could be greatly improved if LWJGL used DirectInput 8 (like jinput). This can't be done unconditionally, since we need the DX3 support for older versions of windows. So, I've moved most Mouse and Keyboard stuff from native to java side and generalized DirectInput access through an abstract base class, with two concrete subclasses, one for dx3 and one for dx8.
2006-06-26 13:50:48 +00:00
Elias Naur
d7c55744ce
Widened VBO/PBO buffer offsets and sizes to long to better match the GLsizeiptr and GLintptr native types
2006-02-26 11:44:34 +00:00
Elias Naur
3b8b751935
Linux: Fixed resetDisplayMode in case XRandr is used and the first reported mode is not the initial mode
2006-01-31 12:31:41 +00:00
Elias Naur
62e561cddf
Win32 part of refactor and AWTGLCanvas
2005-02-21 14:46:47 +00:00
Elias Naur
5d53187baa
Win32: fixed compilation
2005-02-16 20:25:23 +00:00
Elias Naur
17ee2523c0
The Big Generator. All OpenGL and OpenAL java and native source files are now generated from templates. See doc/generator.txt for a detailed description.
2005-02-15 11:05:36 +00:00
Elias Naur
8d4bf3eb47
Moved extension type definitions into extgl.h. Removed offset argument to safeGetBufferAddress
2005-02-09 10:57:33 +00:00
Elias Naur
debea3b6b7
Compilation fix
2005-01-20 21:30:31 +00:00
Elias Naur
2f536fef59
remove const from offsetToPointer in common_tools.h since PBO functions take non-const pointers
2005-01-13 12:14:10 +00:00
Elias Naur
ccd37148e1
Linux: Implemented AWT synchronization through JAWT. Needed because Xlib is not guaranteed thread safe
2005-01-11 15:22:12 +00:00
Elias Naur
5ee6565bb5
Tweaked linux native isActive() and added printfDebugJava to print debug from native through Sys.log
2004-12-11 19:44:53 +00:00
Elias Naur
8ee59e83fb
Linux: fix compilation
2004-11-14 11:39:54 +00:00
Brian Matzon
426ec81c3c
changed String handling to use proper localizing method
2004-11-14 10:42:19 +00:00
Brian Matzon
1bda864efd
changed String handling to use proper localizing method
2004-11-13 21:06:38 +00:00
Elias Naur
3994b75ded
*** empty log message ***
2004-11-02 15:51:09 +00:00
Elias Naur
6ee64fe82f
Mac OS X compilation fixes
2004-11-02 15:09:40 +00:00
Elias Naur
5c15c88993
Fixed Mac OS X compilation of common
2004-11-02 14:46:18 +00:00
Elias Naur
b1ce8014fc
Fixed Mac OS X compilation of common
2004-11-02 14:43:16 +00:00
Elias Naur
468502cb00
Track event mouse deltas even when the event queue overflows
2004-09-27 13:20:27 +00:00
Elias Naur
fa1713c4e8
Add delta values to Mouse events
2004-09-22 11:08:21 +00:00
Elias Naur
5039684671
Win32 specific fix ups for C++->C conversion
2004-09-10 09:56:26 +00:00
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
53bd9b660d
all initNativeStub() methods throws LWJGLException
2004-07-04 13:14:06 +00:00
Elias Naur
b7e4214a1a
Moved openal native stub loading to java
2004-07-04 09:13:19 +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
Brian Matzon
9c8ac5d794
expose VM
2004-05-31 12:39:03 +00:00
Brian Matzon
9369626d38
fmod support
2004-05-23 13:50:08 +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
Brian Matzon
3b875b1781
support for 'org.lwjgl.opengl.Window.allowSoftwareOpenGL'
...
added utility getBooleanProperty method
2004-03-11 21:30:48 +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
21cdb1f469
Converted openal to dynamic java native methods
2004-03-09 11:03:10 +00:00
Elias Naur
df3689651f
Generalized function pointer initialization
2004-03-09 09:25:10 +00:00
Elias Naur
038108fb76
*** empty log message ***
2004-01-20 10:11:02 +00:00
Elias Naur
f072a46ec1
Moved utility functions to common_tools in preparation of extension separation
2004-01-05 22:43:42 +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
23aa3751ae
Fixed nasty buffer overflow bug in event_queue_t
2003-10-29 16:21:42 +00:00
Elias Naur
561f3cff10
*** empty log message ***
2003-10-22 10:57:19 +00:00
Elias Naur
963605989f
Implemented mouse button buffering
2003-10-11 16:29:40 +00:00