Commit graph

2124 commits

Author SHA1 Message Date
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
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