Commit graph

1308 commits

Author SHA1 Message Date
Elias Naur
da1b81a57d Windows: Moved is_dirty from native to java 2006-06-26 14:24:45 +00:00
Elias Naur
c2dfea3214 Windows: moved closerequested from native to java 2006-06-26 14:05:42 +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
e99b357a1b Windows: Cleanup of native input code 2006-06-23 16:45:21 +00:00
Brian Matzon
9e811f332a fixed offset/length to use buffer properties 2006-06-23 08:16:27 +00:00
Elias Naur
72c0fc81b8 Windows: Make sure the DirectInput even buffer is properly flushed before switching to grabbed state. 2006-06-18 09:08:55 +00:00
Elias Naur
d7542e3a71 Windows: Fixed spurious mouse button events after a Mouse.setGrabbed(true) 2006-06-18 08:51:03 +00:00
Elias Naur
c77c8069d6 Windows: Fix Windows sometimes marking LWJGL apps as "not responding" 2006-06-17 23:46:59 +00:00
Elias Naur
5b18caad92 windows: cleanup 2006-06-15 15:08:06 +00:00
Elias Naur
cf56cfacbb windows: Add support for WGL_ATI_pixel_format_float 2006-06-15 15:03:29 +00:00
Elias Naur
ca4ffed1b1 Win32: Fixed exception message when the ARB pixel format path is selected, but the dummy pixel format is -1. 2006-06-12 14:17:42 +00:00
Elias Naur
c68a8ed314 Win32: Make sure the ARB pixel format path is selected when floating point formats are required 2006-06-12 14:09:49 +00:00
Elias Naur
7ebfbf8bfe Mac OS X implementation of floating point pixel formats 2006-06-12 13:33:07 +00:00
Elias Naur
9c4ce2845b Windows implementation of floating point pixel formats 2006-06-12 13:28:56 +00:00
Elias Naur
c1e65970a2 Added floating point format to PixelFormat. Linux implementation 2006-06-12 13:01:05 +00:00
Elias Naur
9f41ecaedb Removed Keyboard.isStateKeySet() - it is easily replaced by Toolkit.getLockingKeyState() 2006-06-10 20:42:26 +00:00
Elias Naur
7c34e2cddb Win32: Track directinput mouse buttons in the windows message state array. This should avoid some problems when switching from grabbed to non-grabbed 2006-05-30 08:48:16 +00:00
Elias Naur
05111c300f Linux: Added Xfixes to the list of libraries liblwjgl.so statically links to 2006-05-29 19:03:02 +00:00
Ioannis Tsakpinis
843ce1bc27 Added EXT_timer_query extension
Added support for long (int64) types
2006-05-25 13:03:35 +00:00
Elias Naur
cce631748d Win32: Updated various native string handling to use the new _s "secure" variants. 2006-05-18 12:11:37 +00:00
Elias Naur
24bef50437 Linux: Apparently, some the Mesa GLX 1.3 glxChooseFBConfig don't like the GLX_STEREO attribute, even when set to False. So we'll only specify GLX_STEREO in case a stereo context is actually requested 2006-05-15 19:37:29 +00:00
Brian Matzon
7c08c27dd8 1.0beta version string 2006-05-14 21:54:48 +00:00
Elias Naur
ec67322e64 Linux: Fixed accum color bits when accum_bpp = 0 2006-05-13 10:03:19 +00:00
Elias Naur
1ea59789f6 Mac OS X: build fixes 2006-05-06 19:45:12 +00:00
Elias Naur
a9651b1852 Mac OS X: native build.xml tweak 2006-05-01 12:24:13 +00:00
Elias Naur
45f9823958 Mac OS X: native build.xml tweak 2006-05-01 12:14:16 +00:00
Elias Naur
0f5489a883 Mac OS X: Replaced liblwjgl-legacy.jnilib and liblwjgl.jnilib with one liblwjgl.jnilib containing gcc 3 compiled ppc code in the ppc part and gcc 4 compiled intel code in the intel part. That way, we should be able to support all platforms and architectures with one library. I've replaced the Makefile.* files with a single build.xml to do the native building and merging of object code. 2006-05-01 12:07:58 +00:00
Elias Naur
3ce92a9563 Fixed warning from generated native code on mac os x 2006-05-01 08:58:26 +00:00
Brian Matzon
9130b91027 updated version to 1.0 2006-04-30 21:15:14 +00:00
Brian Matzon
5db7a9a7b8 removed printf statement 2006-04-13 13:36:03 +00:00
Elias Naur
0aa0ec5526 Added glPrioritizeTextures and glAreTexturesResident 2006-04-05 11:20:36 +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
d492cbde20 Linux: Removed the glXIsDirect test to determine whether a context is accelerated or not. This is specifically not the case for Xgl and friends that accelerates indireect rendering. Unfortunately, I'm not sure what to replace the test with, so there is currently no way to know from LWJGL whether we're software rendered or not (other than measuring FPS). In fact, I'm not even sure that we can come up with a good test, because some (DRI) drivers use software MESA rendering for some parts of GL, while other parts are hardware accelerated 2006-02-23 19:29:49 +00:00
Elias Naur
55d79e7e55 Fixed a potentially uninitialized return value in ALC.c 2006-02-23 19:22:00 +00:00
Elias Naur
cc028c9c2e Win32: Made the message processing more friendly to potential foreign windows created on the same thread (and thus sharing message queue with LWJGL). Now handleMessages() in Display.c only processes messages for the current lwjgl window. 2006-02-22 10:47:14 +00:00
Elias Naur
2bc1b89772 Win32: Made the window message proc static 2006-02-22 10:30:35 +00:00
Elias Naur
2ba1f053f9 Made handleMessages() in Display.c static 2006-02-22 09:51:25 +00:00
Brian Matzon
ac3a70926b support for ALC_ENUMERATION_EXT using LWJGL specific method: AL.getImplementations 2006-02-02 22:34:28 +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
Caspian Rychlik-Prince
5c1b5517c3 *** empty log message *** 2006-01-20 23:25:05 +00:00
Elias Naur
00292ddf75 Win32: Don't accumulate scroll wheel deltas if Dinput is grabbed 2006-01-17 07:18:02 +00:00
Elias Naur
53ca29e9f7 Win32: More experimental directinput stuff 2006-01-16 23:51:57 +00:00
Elias Naur
51466773f4 Win32: Quick test to see if we can get more accurate polling data from the mouse when not grabbed 2006-01-16 23:09:58 +00:00
Elias Naur
87c996fb45 Mac OS X: Cleanup of macosx_al.c 2006-01-16 21:17:12 +00:00
Elias Naur
8f7540ce43 Mac OS X: Ported OpenGL library code to use frameworks instead of accessing libGL.dylib directly 2006-01-16 19:52:40 +00:00
Elias Naur
19d2d219ec Mac OS X: Load the framework (builtin) version of OpenAL last, after having tried all possible locations of a private openal.dylib 2006-01-16 19:35:09 +00:00
Elias Naur
a47ec6d86f Mac OS X: Removed redundant -syslibroot from linker flags 2006-01-16 18:37:51 +00:00
Elias Naur
e245faff46 OpenAL: Split platform dependent code from extal.c into platform subdirs. Made nCreate take a path instead of an array of paths. 2006-01-16 15:58:23 +00:00
Elias Naur
c26ebafa62 OpenAL: Split platform dependent code from extal.c into platform subdirs. Made nCreate take a path instead of an array of paths. 2006-01-16 15:54:50 +00:00
Elias Naur
c7f671d062 Mac OS X: Made Makefile compile a fat binary under 10.4 as default, and added Makefile.legacy for 10.3 compiles. Made OpenAL try to load the builtin OpenAL framework (available on 10.4) if loading openal.dylib fails 2006-01-16 15:15:38 +00:00