Commit Graph

145 Commits

Author SHA1 Message Date
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 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 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 5faf661f04 Added setSwapInterval to Display and AWTGLCanvas 2006-01-01 19:50:06 +00:00
Elias Naur a74d21929d Mac OS X:Added support for -exported_symbols_list 2005-12-20 10:13:41 +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 df2bc7d7e0 Moved generated files to seperate directories 2005-09-29 17:13:38 +00:00
Elias Naur f07c190d3c Mac OS X: Removed usage of the deprecated function NSIsSymbolNameDefinedInImage 2005-08-26 15:11:21 +00:00
Elias Naur c4ee90ff6e Mac OS X: Use NSOpenGLPFAMinimumPolicy when selecting pixel formats 2005-06-03 08:26:24 +00:00
Elias Naur 0f5281e24f OpenAL: Made the openal library path returned by the current ClassLoader and cwd more override java.library.path. Converted some printfDebug to printfDebugJava 2005-05-12 07:47:07 +00:00
Elias Naur 1c49b2f969 Mac OS X: Only use SetSystemUIMode workaround on 10.3 and lower 2005-05-03 09:08:12 +00:00
Elias Naur d329181fc6 *** empty log message *** 2005-03-30 08:49:02 +00:00
Elias Naur ad92547914 Moved platform specific stuff from extgl.c into platform directories 2005-02-23 13:22:44 +00:00
Elias Naur c96dc98b63 Clean out commented code 2005-02-23 11:42:04 +00:00
Elias Naur 3085702a38 Mac OS X port of the refactoring. Linux and Win32 fixes. 2005-02-23 11:11:08 +00:00
Elias Naur e4a0673211 Mac OSX: removed agl 2005-02-09 10:37:31 +00:00
Gregory Pierce 9b33e40a3b Update for pbuffer power of 2 issues 2005-01-29 18:20:41 +00:00
Elias Naur e446883a7f Renamed org.lwjgl.opengl.Window.allowSoftwareOpenGL to org.lwjgl.opengl.Display.allowSoftwareOpenGL 2005-01-27 21:26:46 +00:00
Elias Naur 8bc26e72a0 Mac OS X:Fix Makefile indentation 2005-01-25 09:17:08 +00:00
Brian Matzon 797de7557f mac fix as per: http://lwjgl.org/forum/viewtopic.php?t=903 2005-01-23 23:08:19 +00:00
Elias Naur 66181d1486 Delegate Sys platform dependent methods into SysImplementation instances 2005-01-18 20:23:05 +00:00
Elias Naur 89074eafa2 Removed Sys.setProcessPriority 2005-01-18 19:05:34 +00:00
Elias Naur c90625eb1f macosx compile fix 2005-01-11 14:03:50 +00:00
Elias Naur 925139bc7d Added a Pbuffer argument to the Pbuffer constructor to enable sharing between pbuffers when the display is not created. Moved Pbuffer native methods into DisplayImplementation. 2005-01-11 13:53:12 +00:00
Elias Naur bc6cabc1fd Support org.lwjgl.opengl.Window.allowSoftwareOpenGL on Mac OS X 2004-12-11 10:47:21 +00:00
Elias Naur 2577ffd377 Split up Sys.openURL into the platform specific DisplayImplementation 2004-11-22 21:22:30 +00:00
Elias Naur 9ec94cb364 Move getPbufferCaps to DisplayImplementation. Mac OS X pbuffer support 2004-11-18 12:10:28 +00:00
Elias Naur 4ce552b44b Mac OS X: Add error handling to gamma functions 2004-11-16 14:23:28 +00:00
Elias Naur cea73a6b85 Mac OS X: Implemented gamma 2004-11-16 14:08:31 +00:00
Elias Naur 45607a7c69 Mac OS X: Work around AWT shifting the fullscreen window off the screen 2004-11-16 13:21:46 +00:00
Elias Naur f65ae73d47 Mac OS X: Don't hide mouse mouse when already hidden (because the cursor state is counted) 2004-11-15 15:28:53 +00:00
Elias Naur 26ce1fecae Mac OS X: Add missing file and disable native cursors because of AWT bugs 2004-11-15 14:38:00 +00:00
Brian Matzon 1bda864efd changed String handling to use proper localizing method 2004-11-13 21:06:38 +00:00
Elias Naur d4d164e87e Mac OS X part of absolute mouse coords 2004-11-12 15:11:42 +00:00
Elias Naur 47c8343728 Kill off automake/autoconf/libtool build system and replace by a much simpler Makefile 2004-11-12 14:32:42 +00:00
Elias Naur 1ec70842d0 Mac OS X port, second try :) 2004-11-11 16:03:19 +00:00
Elias Naur 7774c02098 *** empty log message *** 2004-11-03 12:31:42 +00:00
Elias Naur f661aaa22b Undo GLContext.cpp split 2004-07-06 08:06:16 +00:00
Elias Naur 39c06a14ab LINUX: Made pbuffer creation independent of the Display context 2004-07-05 14:57:02 +00:00
Elias Naur 1827f0efd4 Implemented reference counted loading of gl library in java 2004-07-05 14:34:47 +00:00
Brian Matzon 4cea3e191b header unification 2004-06-12 20:28:34 +00:00
Caspian Rychlik-Prince b697fb3ecf Removed Sys.setTime(), Sys.getPlatform()
Changed Sys.getTime()
Added Display.sync()
2004-05-05 14:28:40 +00:00
Brian Matzon 863e4e1fee missing function found by llewmason 2004-04-18 03:20:04 +00:00
Brian Matzon 86eb042b81 reworked animated native cursors, to use X animation when required
added initial setGrabbed(boolean) feature - Work in progress
both needs verification on linux
2004-04-12 00:33:01 +00:00
Elias Naur 8065870592 Removed Keyboard.initIDs 2004-04-07 07:48:37 +00:00
Elias Naur bf8cce9b59 Make poll deltas accumulative, and only reset on getD* 2004-04-06 14:23:19 +00:00
Elias Naur 021e03eea5 Implemented version check to check for incompatible native libraries 2004-03-27 14:09:55 +00:00
Elias Naur 0a576f8e33 Save unread buffered input events between read()s 2004-03-26 21:11:20 +00:00
Brian Matzon 31dd0f8b57 added nMakeCurrent 2004-03-23 21:23:58 +00:00
Brian Matzon bb51e3dc23 Cursor animation support regardless of platform features 2004-03-21 21:54:57 +00:00
Elias Naur de2edcf84f Fixed up macosx 2004-03-05 22:57:51 +00:00
Brian Matzon 4d5f244f23 osx fixes - needs verification 2004-03-05 22:20:10 +00:00
Ioannis Tsakpinis d49ce2bfc0 render-to-texture support 2004-03-02 01:59:32 +00:00
Elias Naur 5c3e17c8a3 Added GLX_ARB_multisample support to Pbuffers 2004-02-15 15:46:10 +00:00
Elias Naur e3a4f5f7f7 Added GLX_ARB_multisample support 2004-02-15 15:27:02 +00:00
Brian Matzon f874cd8fc3 missing include 2004-01-29 20:53:00 +00:00
Elias Naur ad28763347 *** empty log message *** 2003-12-20 22:23:15 +00:00
Elias Naur 790b01a01b Reduced Sys.debug from bool -> int 2003-12-20 22:03:25 +00:00
Elias Naur fb8fd0a2d7 Implemented proper debug levels 2003-12-20 14:01:31 +00:00
Elias Naur 472b5337d4 Replaced debug libraries with runtime debug condition 2003-12-15 11:49:17 +00:00
Elias Naur ceb9cb4681 Fixed Mac OS X keyboard translation 2003-11-06 14:30:25 +00:00
Elias Naur a05a42970c Updated to make input work with Mac OS X 10.3 2003-11-03 13:34:06 +00:00
Elias Naur dbd0da31f1 Removed extra ; in mac Window.cpp 2003-11-02 11:34:27 +00:00
Caspian Rychlik-Prince a4facc93f0 *** empty log message *** 2003-10-28 19:26:51 +00:00
Caspian Rychlik-Prince 754f917730 New Sys.openURL command added 2003-10-28 16:23:17 +00:00
Elias Naur 9ad6b5eb1f Added created to mac Mouse.cpp 2003-10-26 08:44:19 +00:00
Elias Naur 5f89be0e63 Fixed Mac OS X mouse button mapping 2003-10-25 21:27:54 +00:00
Elias Naur 32e0d708fd *** empty log message *** 2003-10-24 11:59:18 +00:00
Elias Naur 20c2ec51dd *** empty log message *** 2003-10-24 11:51:07 +00:00
Elias Naur 1746749a46 Switched mouse handling to Carbin events 2003-10-24 11:46:31 +00:00
Elias Naur ada3a07b17 Switched mouse handling to Carbin events 2003-10-24 11:45:55 +00:00
Elias Naur 7d5992c02e *** empty log message *** 2003-10-24 05:51:50 +00:00
Elias Naur 86cedb9425 *** empty log message *** 2003-10-23 18:21:56 +00:00
Elias Naur 27b3d4063a *** empty log message *** 2003-10-22 20:13:40 +00:00
Elias Naur 8cabcd523f *** empty log message *** 2003-10-22 18:34:42 +00:00
Elias Naur d61172410c *** empty log message *** 2003-10-22 12:38:24 +00:00
Elias Naur 0f1d70a6ec *** empty log message *** 2003-10-22 11:45:51 +00:00
Elias Naur 561f3cff10 *** empty log message *** 2003-10-22 10:57:19 +00:00
Elias Naur 50326a73f7 *** empty log message *** 2003-10-21 15:11:59 +00:00
Elias Naur d9972299cd *** empty log message *** 2003-10-16 13:56:22 +00:00
Elias Naur 3712e7c870 *** empty log message *** 2003-10-16 13:29:29 +00:00
Elias Naur f9ad60c4aa *** empty log message *** 2003-10-15 11:49:24 +00:00
Elias Naur 23d09086e3 *** empty log message *** 2003-10-15 11:44:05 +00:00
Elias Naur 6b9b2d302f *** empty log message *** 2003-10-15 08:49:36 +00:00
Elias Naur a6c56bd791 *** empty log message *** 2003-10-14 14:29:23 +00:00
Elias Naur 15dafb1c5a Don't return from UpdateMouseFields on failure to acquire - still need to set deltas to 0 2003-10-14 12:42:05 +00:00
Elias Naur 36dbba4596 Implemented Matzon's mac os x init through reflection 2003-10-13 11:54:45 +00:00
Elias Naur 963605989f Implemented mouse button buffering 2003-10-11 16:29:40 +00:00
Elias Naur 50b8c3941c *** empty log message *** 2003-10-08 10:05:34 +00:00
Elias Naur fc925baab4 *** empty log message *** 2003-10-08 07:49:43 +00:00
Elias Naur 859f7bf50e *** empty log message *** 2003-10-07 15:10:24 +00:00
Elias Naur 0de7e16140 *** empty log message *** 2003-10-07 12:12:08 +00:00
Elias Naur df7a48b3ea *** empty log message *** 2003-10-07 11:23:12 +00:00
Elias Naur 0e799f0972 *** empty log message *** 2003-10-07 10:04:38 +00:00
Elias Naur e62178a8df *** empty log message *** 2003-10-06 15:28:12 +00:00
Elias Naur a55e3b2ade *** empty log message *** 2003-10-06 14:00:44 +00:00