Commit Graph

2309 Commits

Author SHA1 Message Date
Caspian Rychlik-Prince 64f58414b4 *** empty log message *** 2006-01-16 21:04:49 +00:00
Elias Naur e1c51385c6 Mac OS X: Added loading of a legacy native lwjgl library to support applications that need to run on Mac OS X 10.2, 10.3 and 10.4, including intel mac versions. NOTE: Intel support from the universal build is not tested, since I don\'t have acces to an intel mac. 2006-01-16 20:37:28 +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
Elias Naur e636ab9671 Linux: Made Xxf86vm dynamically linked when compiling to amd64 2006-01-13 14:37:16 +00:00
Elias Naur 63589487d9 Linux: Added workaround to avoid crash on exit with nvidia drivers 2006-01-12 12:25:12 +00:00
Elias Naur 7e53e81103 Linux: don't throw exception if Xrandr or XF86VM extension query fails 2006-01-04 12:52:25 +00:00
Elias Naur 033dc40a89 Converted System.getenv() to Boolean.getBoolean to please the blackdown VM 2006-01-04 07:36:08 +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 196471a968 Linux: Re-added RTLD_GLOBAL to dlopen() with a comment since DRI drivers need it. 2006-01-02 13:16:16 +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
Elias Naur a8aabe008e Added initGL to AWTGLCanvas 2005-12-28 22:23:35 +00:00
Elias Naur d633986260 PBO/VBO checks now query OpenGL directly instead of keeping track of the currently bound buffers 2005-12-27 14:46:42 +00:00
Elias Naur 1d521cf604 Win32: Removed stale declaration from display.h 2005-12-27 13:48:27 +00:00
Elias Naur 07da99cd7d Win32: Moved getGammaRampLength to java side 2005-12-27 13:47:25 +00:00
Elias Naur ad1987d748 Win32: Moved handleMessages to java side (update()) 2005-12-27 13:40:21 +00:00
Ioannis Tsakpinis 9bd5c0b9b4 New EXT_framebuffer extensions 2005-12-27 12:35:12 +00:00
Elias Naur 6aed933999 Win32: display.c: Make initDisplay use the same API as getAvailableDisplayModes 2005-12-27 11:21:46 +00:00
Elias Naur 7861e281c3 Win32: Adder createDisplayMode helper function to display.c 2005-12-27 11:12:53 +00:00
Elias Naur cbf850fc5e Win32: Removed unused cruft from display.c 2005-12-27 11:03:33 +00:00
Elias Naur 918e87b154 Win32: Zero out the devmode struct in display.c 2005-12-27 08:54:56 +00:00
Elias Naur 55aacdac01 Win32: Commented multi-monitor stuff out from display.c, since we don't really support multiple monitors anyway. Now we only operate on the default (DISPLAY_DEVICE_PRIMARY_DEVICE) device, which should scale to multi monitor setups. Needs thorough testing, of course. 2005-12-26 21:52:12 +00:00
Elias Naur 42e1a8a8c0 Win32: Added debug to dispaly mode switching and removed the DM_DISPLAYFLAGS flag 2005-12-26 15:06:45 +00:00
Ioannis Tsakpinis 9dfd46ba6f New EXT_framebuffer extensions 2005-12-24 19:37:25 +00:00
Ioannis Tsakpinis 1c2910f60b New EXT_framebuffer extensions 2005-12-24 19:30:59 +00:00
Ioannis Tsakpinis ab7d4a797c Converted comments to javadoc, code cleanup 2005-12-24 19:28:13 +00:00
Brian Matzon 1e582060ba include generated when doing javadoc 2005-12-20 22:35:49 +00:00
Elias Naur a74d21929d Mac OS X:Added support for -exported_symbols_list 2005-12-20 10:13:41 +00:00
Elias Naur 69356ac9ea Linux: Added lwjgl.map to specify symbol visibility. Only Java_ symbols will be exported from the liblwjgl.so library now 2005-12-20 09:23:14 +00:00
Elias Naur 16f78b39c6 Linux: Removed the unnecessary RTLD_GLOBAL flag from the dynamic loading of libGL.so 2005-12-20 08:47:40 +00:00
Elias Naur 13fdcded26 Added Sys.getVersion() in place of the compile time constant Sys.VERSION 2005-12-19 10:57:22 +00:00
Brian Matzon 5cdf986ed6 disallow creation of ILUT prior to ILU (unable to load native unless ILU has been loaded first) 2005-12-18 10:54:18 +00:00
Brian Matzon 5eab7dd2a6 incremented to 0.99 2005-12-17 21:22:11 +00:00
Brian Matzon 3dbf76621b experimental amd64 buildfile 2005-12-17 21:14:42 +00:00
Ioannis Tsakpinis 587d2f8f79 Removed STENCIL_INDEX_EXT (spec rev. #114, June 16, 2005)
Removed FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT (spec rev. #117, September 26, 2005)
2005-12-13 20:12:39 +00:00
Ioannis Tsakpinis 370b505581 Added missing sampler enums (spec rev. 7/8/2005) 2005-12-13 20:10:56 +00:00
Brian Matzon 8d68a3824e fixed javadoc 2005-12-09 23:37:04 +00:00
Brian Matzon e27338e9d0 fixed version mismatch (!!!!) 2005-11-28 22:12:06 +00:00
Elias Naur 747f0850a0 Added support for native formatted exception messages 2005-11-24 11:31:26 +00:00
Elias Naur 42406fcf8f Win32: Removed unused variable from context.c 2005-11-24 10:28:32 +00:00
Elias Naur 17c01716ab Linux: use the correct KEYBOARD_SIZE 2005-11-23 17:08:17 +00:00
Elias Naur bbab370e8c Linux: Removed unused vsync_enabled from Display.c 2005-11-23 15:56:57 +00:00
Elias Naur f21a31e595 Linux: Removed redundant initEventQueue from Mouse.c 2005-11-23 15:36:21 +00:00
Elias Naur 3f128ca204 Linux: Removed redundant global variables from Display.c 2005-11-23 15:30:53 +00:00
Elias Naur 1ff7a0af4f Linux: Made setIcon in Display.c static since it is not called elsewhere 2005-11-23 15:18:34 +00:00
Elias Naur 4c68fc2ecf Linux: Added -lm and -std=c99 to fix the warning abount round(). Removed some unnecessary headers 2005-11-23 15:10:05 +00:00
Elias Naur 3c83a92a64 Linux: Ignore events from old windows 2005-11-22 14:30:00 +00:00
Elias Naur d6ae5e2d45 Converted some static local variables to stack localvariables 2005-11-22 14:03:52 +00:00
Elias Naur 2bc0988c98 Linux: More native code refactoring 2005-11-22 13:53:13 +00:00
Elias Naur 7469d59dbf Linux: Removed current_* mode cache from display.c 2005-11-22 11:23:37 +00:00
Elias Naur f548d581ce Linux: Fixed a mouse cursor position issue in grabbed mode 2005-11-22 11:06:21 +00:00
Elias Naur 9a64711cea Linux: removed getWindowWidth/Height from native side 2005-11-22 10:32:17 +00:00
Elias Naur 026f64a8e5 Linux: Removed getScreenModeWidth/Height from display.c 2005-11-22 09:32:15 +00:00
Elias Naur 936ae90290 Linux: fixed an issue with Xrandr timestamps 2005-11-21 22:37:14 +00:00
Elias Naur e2ee957f0b Linux: let exceptions from display.c propagate to LinuxDisplay.java 2005-11-21 22:21:29 +00:00
Elias Naur b6dd18fc7d Linux: Moved saved display mode from C to LinuxDisplay.java 2005-11-21 21:59:11 +00:00
Elias Naur b3fd19cf01 Linux: Moved some JNI functions 2005-11-21 18:25:30 +00:00
Elias Naur 61bfceaaed Linux: Moved a display connection to java 2005-11-21 16:50:11 +00:00
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