Commit Graph

2143 Commits

Author SHA1 Message Date
Elias Naur debaaf6538 Linux: Move gamma ramps to java code 2005-11-21 16:32:34 +00:00
Elias Naur c9669d20c9 Linux: Folded three ramp arrays into one, to avoid multiple allocations 2005-11-21 13:43:49 +00:00
Elias Naur 6e5ed9d1ff Linux: Moved a display connection creation to java 2005-11-21 13:32:52 +00:00
Elias Naur 5af5828dc6 Linux: Moved display mode extension and window state handling up into java code 2005-11-21 13:22:52 +00:00
Elias Naur 1d3a2ccf26 build.xml: target 'jars' shouldn't depend on target 'clean' 2005-11-21 11:08:04 +00:00
Elias Naur fe915b8d1c Linux: Removed superfluous check from display.c 2005-11-21 10:55:49 +00:00
Elias Naur 3099244b4f Linux: Added zero size check to display.c 2005-11-21 10:45:59 +00:00
Elias Naur 1d52341e60 OpenAL: Made alcGetCurrentContext static in org_lwjgl_openal_ALC.c 2005-11-20 13:47:45 +00:00
Elias Naur 314d353aea Linux: renamed _glX* function pointers to lwjgl_glX* to avoid symbol clash problems discovered in mustang 2005-11-20 13:20:40 +00:00
Elias Naur b669751c73 Linux: renamed _glX* function pointers to lwjgl_glX* to avoid symbol clash problems discovered in mustang 2005-11-20 13:19:39 +00:00
Elias Naur 73314be1bb Don't ignore exceptions 2005-11-20 10:08:02 +00:00
Elias Naur 95e35d95ac OpenAL: Fix the declaration of alGetListenerf and alGetListeneri 2005-11-16 09:19:18 +00:00
Kevin Glass 02a9ec5c9c Removed the use of "jinput.plugins" system property since it doesn't appear to be needed any more and causes double detection of controllers. 2005-11-15 22:31:49 +00:00
Elias Naur cd9dde873d Added missing generated stuff 2005-11-07 08:49:50 +00:00
Ioannis Tsakpinis 202e913022 Added missing functions in ARB_vertex_shader 2005-11-05 18:57:25 +00:00
Brian Matzon a33a82e80b silly debug leftovers nuked 2005-11-04 19:28:34 +00:00
Brian Matzon 20a9d2216c reworked devil dynamic stub to use generated header using a new ILNative class 2005-11-04 19:22:52 +00:00
Elias Naur a9bd41f12e Mac OS X: Fixed an issue where pbuffer contexts could not share with the display context. 2005-11-04 12:38:59 +00:00
Brian Matzon be343cf334 dont javah devil 2005-11-02 22:09:18 +00:00
Brian Matzon 696a4c7ed9 removed premature created = true 2005-11-02 22:08:27 +00:00
Brian Matzon 8e28671ce0 dynamic stub support 2005-11-02 22:04:15 +00:00
Elias Naur 140e3fa3b7 Added support for doubles (ALdouble and GLdouble) 2005-11-02 09:28:12 +00:00
Elias Naur 965b0e1ec4 MacOSX: Fix bugs in MacOSXDisplay.setIcon 2005-10-31 10:51:54 +00:00
Elias Naur 706a263c75 Added missing @Const annotations to opengl and openal functions 2005-10-28 15:43:51 +00:00
Elias Naur 44330fbd74 Don't fail on two threads wanting to lock the same PeerInfo 2005-10-23 19:52:15 +00:00
Elias Naur 56a56503d6 Linux: Don't assume JAWT Lock()/Unlock() are re-entrant, fixing a hang with GCJ 4 2005-10-23 19:41:09 +00:00
Brian Matzon 1bb8bc04d7 dont load XPM files - uses embedded logo 2005-10-21 18:54:00 +00:00
Brian Matzon 483d6bcf38 create windows with LWJGL logo
dont recache same icons
2005-10-21 18:53:21 +00:00
Brian Matzon 9c9feb8e65 embedded LWJGL logo 2005-10-21 18:52:45 +00:00
Brian Matzon 0b6885202b dont double create AL 2005-10-21 18:51:20 +00:00
Brian Matzon 82f935ae34 using OpenAL32.dll name 2005-10-20 21:46:20 +00:00
Brian Matzon bf3a431ce7 changed search order to:
1) Library path
2) Current dir
3) OS search
2005-10-20 21:32:33 +00:00
Brian Matzon 3294925f1e using OpenAL32.dll as name now (renamed wrap_oal.dll still, due to proxy issues) 2005-10-20 21:31:00 +00:00
Brian Matzon 537248bc90 update to generated dir 2005-10-20 16:56:11 +00:00
Elias Naur 9af9ed4320 OpenAL: Fixed native headers, now that altypes.h and alctypes are gone 2005-10-10 12:50:10 +00:00
Elias Naur 94f39655a5 Linux: Fix Mouse.setCursorPosition() 2005-10-10 09:11:24 +00:00
Elias Naur 0b1939dce5 Added float format to GL11.glReadPixels 2005-10-06 20:03:01 +00:00
Elias Naur e1662c6659 Added float type to GL11.glGetTexImage 2005-10-06 19:30:36 +00:00
Elias Naur 2563ccb99d Mac OS X: Makefile now supports building an universal version of the lwjgl natives 2005-10-04 07:43:50 +00:00
Elias Naur 4636c4b251 Added the opengl-template-pattern ant property to control the set of included opengl extensions 2005-09-29 18:12:20 +00:00
Elias Naur df2bc7d7e0 Moved generated files to seperate directories 2005-09-29 17:13:38 +00:00
Elias Naur 67e544709a build.xml: factored opengl template generator calls into a general purpose ant task 2005-09-29 13:56:30 +00:00
Ioannis Tsakpinis 94cad6fc07 Added EXT_packed_depth_stencil 2005-09-26 18:07:34 +00:00
Elias Naur 39cb1c580d Win32: Moved some Win32Display.getVersion code to java 2005-09-23 10:39:56 +00:00
Elias Naur 77412a26a2 Win32: Moved some registry access code to java (for Win32Display.getAdapter()) 2005-09-23 10:25:24 +00:00
Elias Naur 2bb7d78c0f OpenAL: Made AL.create complain if it is already created to match Display.create behaviour 2005-09-16 06:50:34 +00:00
Elias Naur f7aa8b982b OpenAL: Cleaned up visibility and removed unnecessary static fields from AL 2005-09-16 06:43:10 +00:00
Caspian Rychlik-Prince df1c875ff4 Further tweakage 2005-09-15 23:15:13 +00:00
Caspian Rychlik-Prince 3399b6409e Altered create() methods to supply sane defaults 2005-09-15 19:30:49 +00:00
Elias Naur 5d139f4585 Linux: Added support for LWJGL_DISABLE_XRANDR environment variable to override Xrandr support on broken window managers 2005-09-13 06:56:14 +00:00
Elias Naur 545ac5ac95 Linux: Drop out of Xrandr loop after a set amount of iterations 2005-09-12 13:05:54 +00:00
Elias Naur 57635274d2 Mac OS X: Fetch the current viewport dimensions instead of assuming them equal to the current window size 2005-09-09 10:27:13 +00:00
Brian Matzon 8904f18bae applied DarkProphets patch for better error handling and more types 2005-09-07 16:06:06 +00:00
Brian Matzon 1b453d6e10 use buffer.get since we dont have a backing array 2005-09-07 15:43:52 +00:00
Elias Naur 06d8470691 Made GLContext OGL version parsing more robust 2005-08-29 20:14:59 +00:00
Elias Naur f07c190d3c Mac OS X: Removed usage of the deprecated function NSIsSymbolNameDefinedInImage 2005-08-26 15:11:21 +00:00
Ioannis Tsakpinis 24ee443e7f Added new extensions 2005-08-23 13:49:50 +00:00
Elias Naur c1350ff363 Linux: Made the XRRSetScreenConfigAndRate retry loop more robust in order to avoid endless loops 2005-08-21 20:27:20 +00:00
Brian Matzon 7b57affe3c Workaround for Sun JDK bug 4796548 which still exists in java for OS X 2005-08-20 19:09:02 +00:00
Caspian Rychlik-Prince 4e3a47e343 *** empty log message *** 2005-08-20 10:33:28 +00:00
Brian Matzon b2713156b8 fixed XPMFile to use InputStream load method too 2005-08-18 13:55:10 +00:00
Brian Matzon 2bf0d9c9cb updated readme to include jinput 2005-08-18 13:48:43 +00:00
Brian Matzon 07e172e8c9 include jinput in release target 2005-08-18 13:48:18 +00:00
Brian Matzon 0481285dd9 added everything but the kitchen sink 2005-08-18 11:27:44 +00:00
Brian Matzon 2656b694e1 0.98 version string 2005-08-17 22:05:15 +00:00
Elias Naur f72013defa Win32: Fixed SIS/VIA crashes 2005-08-08 16:00:15 +00:00
Elias Naur e98e4029cb Added fast path to GLContext.getCapabilities() optimized for single threaded applications 2005-08-07 12:19:09 +00:00
Brian Matzon fe3b071f0f fix for matrox parhelia, they wont accept NULL buffer, despite the specs saying it's legit. Bugfinding: Javazoid 2005-07-20 07:30:26 +00:00
Brian Matzon 943edb85b3 add jinput to classpath when building org.lwjgl.* instead, since input is dragged into the compile via Sys.java 2005-07-19 19:32:13 +00:00
Kevin Glass ab19f4722e Fix for alpha based icons under win32. 2005-07-16 11:27:58 +00:00
Brian Matzon eb795b9ecb caching of window icon 2005-07-16 11:15:37 +00:00
Kevin Glass 9c40ee58b1 LWJGL icon used as window icon in test. 2005-07-16 10:37:00 +00:00
Kevin Glass 5e72533772 Fix for compilation on 1.4, remove autoboxing 2005-07-16 10:36:13 +00:00
Kevin Glass 8d51cf81a1 Fix win32 icon alpha mask 2005-07-16 10:30:16 +00:00
Brian Matzon cc774a9147 temp XPM logo files 2005-07-16 09:13:27 +00:00
Brian Matzon c100909c35 XPM File reader 2005-07-16 09:11:26 +00:00
Brian Matzon 6bfd01502b way simple icon test 2005-07-11 17:05:11 +00:00
Kevin Glass fe139192ec Fix native code to work with RGBA rather than RBGR. 2005-07-10 20:16:53 +00:00
Kevin Glass ce83d997bf Fix size check bug in icon setting. Divide by four to get the size of the buffer in pixels. 2005-07-10 20:15:55 +00:00
Kevin Glass 2147b530b3 Added Linux native code for window icon setting. 2005-07-06 19:46:35 +00:00
Kevin Glass d99ec21e90 Updated Win32 native interface to use IntBuffers rather than ByteBuffers 2005-07-05 22:09:44 +00:00
Kevin Glass 513fd74301 Updated to actually convert the passed int buffer 2005-07-05 22:08:55 +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
Kevin Glass 0208d5b6d5 Added empty implementation of the window icon setting code in preperation for adding the Linux version. 2005-07-05 21:46:27 +00:00
Kevin Glass bb0fe5ea3a Added function to set the window icon on win32 2005-07-05 21:45:02 +00:00
Brian Matzon 105c859ed7 automatic polling via Display.update(); 2005-06-29 20:48:58 +00:00
Brian Matzon 351e6f5b19 support isCreated and destroy (destroy currently ignored) 2005-06-29 20:47:18 +00:00
Brian Matzon e487a4a2b9 decrease visibility of classes 2005-06-29 20:38:21 +00:00
Brian Matzon 5811820e5b added 3rd party native libs 2005-06-29 20:32:16 +00:00
Brian Matzon 4250a961ba added licenses 2005-06-29 20:16:43 +00:00
Brian Matzon b10abeb421 added comment about 3rd party library usage and dependency 2005-06-29 20:16:11 +00:00
Kevin Glass 9373992e3e Initial controller input checkin. Updates to add classpath to javac task for building input. 2005-06-29 20:13:10 +00:00
Kevin Glass 0ae6c420ef Initial controller input checkin. Source for the wrapper round JInput including the test tool. 2005-06-29 20:11:15 +00:00
Kevin Glass a14316a498 Initial controller input checkin. JInput native for linux. 2005-06-29 20:08:06 +00:00
Kevin Glass 77f6162f1a Initial controller input checkin. JInput native for win32 2005-06-29 20:04:34 +00:00
Kevin Glass edd402134e Initial controller input checkin. JInput native for macosx 2005-06-29 20:03:45 +00:00
Kevin Glass 8931011074 Initial controller input checkin. Jar for jinput. 2005-06-29 20:00:42 +00:00
Elias Naur dda8ac8af1 Mac OS X: Handle MouseEvent.NOBUTTON case 2005-06-29 07:39:28 +00:00
Elias Naur ce673390d3 Linux: Added library unload destructor that resets keyboard repeat mode 2005-06-28 15:19:32 +00:00
Elias Naur 839306597b Check for null pixel format in Display.create 2005-06-16 20:59:55 +00:00