Commit Graph

2178 Commits

Author SHA1 Message Date
Brian Matzon 4f3c76a6ba devil 1.6.8-RC1 2006-06-03 08:15:07 +00:00
Elias Naur d281f8848c Change AWTGLCanvas paint() to make current and release the context to avoid problems with different AWT event threads calling paint() 2006-05-30 12:41:49 +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
Elias Naur a2059554c2 Split out the exception case in BufferChecks.checkBufferSize() to help the JVM inline it 2006-05-29 12:30:23 +00:00
Elias Naur 5e4807ebac Saved one getClientAttribStack() in StateTracker.pushAttrib() 2006-05-29 12:24:46 +00:00
Ioannis Tsakpinis bb66074c13 Fixed i64 suffixes 2006-05-26 12:58:37 +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 4dcd3421c0 Win32: Update build.bat to use the free Visual Studio Express 2005 compiler. We can use the /delayload switch for the default build now. 2006-05-18 11:43:52 +00:00
Caspian Rychlik-Prince c3325f0ac2 Added serialVersionUID 2006-05-16 18:51:27 +00:00
Elias Naur 2cc1b508dd Update doc/generator.txt 2006-05-16 11:32:45 +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
Ioannis Tsakpinis cbbac62c30 Added ATI_text_fragment_shader extension 2006-05-15 13:09:47 +00:00
Brian Matzon 6f184075d9 1.0beta version string
fixes to optional
2006-05-14 21:55:57 +00:00
Brian Matzon 7c08c27dd8 1.0beta version string 2006-05-14 21:54:48 +00:00
Ioannis Tsakpinis 58fc5401d5 Added ATI_shader_texture_lod extension 2006-05-14 14:18:13 +00:00
Elias Naur ec67322e64 Linux: Fixed accum color bits when accum_bpp = 0 2006-05-13 10:03:19 +00:00
Elias Naur 6bb5885bcc Updated jinput.jar to fix a NPE in the directinput plugin 2006-05-07 10:19:47 +00:00
Elias Naur 1ea59789f6 Mac OS X: build fixes 2006-05-06 19:45:12 +00:00
Elias Naur 7f01d5d220 Removed the generator from lwjgl_util.jar 2006-05-05 08:14:28 +00:00
Elias Naur 684ee48641 Added Display.swapBuffers(). Combined with Display.processMessages() and Mouse/Keyboard/Controllers.poll() this method allows an application to create a custom policy for the rendering/polling loop in addition to the static Display.update() policy. 2006-05-03 20:53:16 +00:00
Elias Naur 0d0e6f03ea Mac OS X: Updated the libjinput-osx.jnilib to avoid a separate libjinput-osx-legacy.jnilib 2006-05-03 08:04:57 +00:00
Elias Naur da675ddc9b Updated jinput.jar to fix a windows issue 2006-05-02 15:12:19 +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 8baee79bd2 1.0
base and optional
2006-04-30 21:15:30 +00:00
Brian Matzon 9130b91027 updated version to 1.0 2006-04-30 21:15:14 +00:00
Brian Matzon 4869744cf1 changed cursor support exception to lwjglexception 2006-04-30 21:09:16 +00:00
Brian Matzon 65dba57d2c mo contribs 2006-04-30 19:45:29 +00:00
Brian Matzon 81ba9164ab restructure into optional 2006-04-30 19:45:14 +00:00
Brian Matzon 42f82a2c37 restructure into optional 2006-04-30 19:44:56 +00:00
Elias Naur a0f78ffb55 Removed svn eol markers on binary files 2006-04-28 15:21:15 +00:00
Elias Naur 2c34208e22 Linux: updated libopenal.so 2006-04-27 19:34:45 +00:00
Brian Matzon 079489ab0c orig logo 2006-04-25 21:02:24 +00:00
Caspian Rychlik-Prince 16524516cd Tidied up unused variables, added serialVersionUIDs as appropriate,
removed a few unnecessary casts and brackets and exceptions.
2006-04-21 11:11:21 +00:00
Brian Matzon 5db7a9a7b8 removed printf statement 2006-04-13 13:36:03 +00:00
Elias Naur 821778c655 Made AWTGLCanvas listen to its own component events 2006-04-06 21:00:43 +00:00
Elias Naur 481ffb5f16 Fixed jinput plugins 2006-04-05 12:42:17 +00:00
Elias Naur f16f0e26cc Added a JInput plugin to interface with the LWJGL mouse and keyboard from jinput (untested) 2006-04-05 11:27:46 +00:00
Elias Naur 461a9a2ba4 Upgraded jinput to the 'jinput 2' branch 2006-04-05 11:25:51 +00:00
Elias Naur 0aa0ec5526 Added glPrioritizeTextures and glAreTexturesResident 2006-04-05 11:20:36 +00:00
Elias Naur 0b5f802d33 Windows: Fixed building natives with latest directx sdk 2006-03-30 07:35:15 +00:00
Elias Naur 5d7ffed6c4 Fix building of jinput wrapper 2006-03-30 07:12:35 +00:00
Elias Naur e94260adf8 Linux: Added SunOS (solaris) as a linux(-like) platform 2006-03-30 06:50:24 +00:00
Brian Matzon 8a3bee6b1c applied patch to move ID tag 2006-03-23 19:32:21 +00:00
Brian Matzon 0c539252b4 new, improved and shiny version, courtesy of Jos Hirth 2006-03-10 18:49:34 +00:00
Elias Naur e34ce0f20c Fixed typo 2006-02-28 12:39:15 +00:00
Caspian Rychlik-Prince 3548ac989c Removed superfluous imports 2006-02-27 19:55:43 +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 63e997aae4 create single distribution 2006-02-21 22:11:49 +00:00
Elias Naur 2e3c168792 OpenGL: Made generated ContextCapabilities only try to load super class symbols if a sub class is supported. This avoids spurious 'Could not locate symbol' warnings in debug mode (glLoadProgramNV on ATI hardware) 2006-02-06 11:11:09 +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 bf84c8b361 Linux: Fixed resetDisplayMode in case XRandr is used and the first reported mode is not the initial mode 2006-01-31 12:48:46 +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 a895f58e37 Mac OS X: Fixed legacy library loading 2006-01-17 08:47:52 +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
Caspian Rychlik-Prince 08ca3d8586 Cleanup of unused imports 2006-01-16 21:06:00 +00:00
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