Commit Graph

41 Commits

Author SHA1 Message Date
Michael Pfaff 325db15a1d
More progress, nearly fixed native header generation
BufferUtils.c and CallbackUtil.c have been modified to not include the
generated header file. This is because `javac` is choosing to ignore
those files for generation of headers for unknown reasons.
2022-08-10 11:43:59 -04:00
Michael Pfaff 134263f5cd
More progress, Windows build is definitely broken for now 2022-08-09 21:59:46 -04:00
Ioannis Tsakpinis 8cdaf59905 Replace .jnilib with .dylib on OS X with JDK 6. Resolve #100 2014-11-28 13:26:26 +02:00
Ioannis Tsakpinis 76867b161f Merge pull request #54 from qbit/master
enable build on OpenBSD
2014-09-29 20:33:14 +03:00
Philip Whitehouse fd726e545f Fix some straightforward Javadoc problems 2014-05-20 00:05:53 +01:00
Aaron Bieber 27d444ed74 enable build on OpenBSD 2013-10-22 08:00:50 -06:00
kappaOne 6b15398855 Fix compilation issue in LWJGLUtil.java 2013-09-05 09:58:13 +01:00
frustaci dfe0fc6bb4 Update LWJGLUtil.java
Im trying to debug a error while loading lwjgl binaries but i get a strange message.
[LWJGL] Failure locating java.lang.NoSuchMethodException: findLibrary using classloader:java.lang.NoSuchMethodException: findLibrary

I guess it's a typo c instead of e again.
2013-07-16 15:33:06 -03:00
Ioannis Tsakpinis 900eb4e4d2 Added support for cache-line padding and alignment.
Made byteOffset() in MappedField optional.
Misc fixes and improvements.
2011-08-10 16:05:46 +00:00
Ioannis Tsakpinis d0cb1f8c90 Removed sizeof from @MappedType, it's calculated automatically now.
Added padding to @MappedType, defaults to 0.
Added support for @Pointer long fields for easier interaction with pointer data.
2011-07-23 22:02:01 +00:00
Ioannis Tsakpinis 585549f1f1 Mapped object code improvements: added license, additional documentation, reformatted code, now using LWJGLUtil.log instead of System.err.
Added system properties for bytecode transformer debug output. (org.lwjgl.util.mapped.PrintTiming & org.lwjgl.util.mapped.PrintActivity)
Added support for bounds checking the view of mapped objects. Enabled with org.lwjgl.util.mapped.Checks
Added tests for mapped objects. (org.lwjgl.test.mapped package)
Added "[LWJGL] " prefix to all LWJGL generated debug messages.
2011-07-12 13:29:04 +00:00
Brian Matzon a2a3a25b9b Applying patch from Matthias that changes the LWJGL icon from byte array to string, shaving ~20k in class size. 2011-06-24 18:34:10 +00:00
kappa1 e2fe8155f8 Add "Unix" as a linux platform to allow LWJGL to work on Slackware Linux, thx to kruno73 for pointing this out. 2011-06-23 11:26:42 +00:00
Brian Matzon f9569ec329 init util as MACOSX if running under darwin 2011-01-23 07:48:50 +00:00
Ioannis Tsakpinis 2b79b68501 Misc GL/CL fixes and additions.
Made native calls package private, we can now use them from the high-level API.
Added support for "render-to-texture" in the fractal demo.
2010-09-30 17:21:50 +00:00
Ioannis Tsakpinis a8bcb7fd25 Ported codebase to Java 1.5.
Misc OpenCL fixes and API improvements.
Changed fractal demo to use events/sync objects instead of cl/glFinish for synchronization. (untested)
2010-09-28 21:11:35 +00:00
Ioannis Tsakpinis 1aa9ab5104 Added support for OpenCL & CL/GL interop + minor improvements. [WIP] 2010-09-26 23:43:24 +00:00
Ioannis Tsakpinis 47c9991b41 Fixed ByteOrder of @Return ByteBuffers.
Cleaned up Drawable interface and introduced a reusable base implementation.
Added support for disabling runtime function checks, buffer checks and state tracking. Activated with -Dorg.lwjgl.util.NoChecks=true
2010-04-22 23:21:48 +00:00
Brian Matzon bb16ec7492 updated and added license where needed 2008-04-07 18:36:09 +00:00
Elias Naur 6d9ce94068 javadoc fixes 2008-01-21 22:03:45 +00:00
Elias Naur 45517e96c2 Merge Windows and Linux privileged Runtime.exec usage into a method in LWJGLUtil. Linux: Added the recent freedesktop.org standard xdg-open script to the list of possible URL handlers. 2007-06-29 22:11:31 +00:00
Elias Naur 6abfeb4df2 Made LWJGLUtil.getLibraryPaths support multiple library names. Now AL.create on linux tries both libopenal.so and libopenal.so.0, which is the name of the system library 2006-11-20 20:07:29 +00:00
Elias Naur f62f11b437 Made LWJGLUtil.getPathFromClassLoader private 2006-11-20 19:28:50 +00:00
Elias Naur cd67b97e7c Made LWJGLUtil.getPathFromClassLoader run the protected ClassLoader.findLibrary in a privileged context. This is apparently necessary to get a valid path in some cases. This fixes (at least) a problem where OpenAL failed to locate the native openal library in a web start program. 2006-11-13 12:21:31 +00:00
Brian Matzon c7f8f488bd using constants for names 2006-07-12 19:57:22 +00:00
Brian Matzon d4a3be63d6 win32->windows 2006-07-12 19:55:57 +00:00
Elias Naur e2bbb739aa Linux: added support for 64 bit JVMs 2006-07-11 20:30:19 +00:00
Elias Naur 85ca7c65bb Made sure no dependency from core LWJGL to LWJGLInstaller exists 2006-07-03 10:21:44 +00:00
Brian Matzon 5d2772ba9e preliminary applet support 2006-07-02 21:55:09 +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
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
Brian Matzon 9c9feb8e65 embedded LWJGL logo 2005-10-21 18:52:45 +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
Elias Naur f1705b7fde Added AccessController.doPrivileged where needed 2005-05-30 16:21:05 +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
Caspian Rychlik-Prince 200ed3792a Cleanup of unused imports 2005-05-04 20:59:44 +00:00
Elias Naur 0e6c9aa0cd Added LWJGLUtil.getPlatform to encapsulate platform detection. Added FreeBSD as an alias to Linux. 2005-04-09 17:35:37 +00:00
Brian Matzon ad8d7676c2 moved Sys.log to LWJGLUtils and renamed property to org.lwjgl.util.Debug 2005-03-29 18:09:33 +00:00
Brian Matzon 97f919869e reworked detection of native paths to shared implementation in new class LWJGLUtil 2005-03-28 12:44:33 +00:00