Commit Graph

35 Commits

Author SHA1 Message Date
Michael Pfaff 8dbd70ee34
Try to optimize the builds a little bit more. There is a pretty rare race condition that causes a build failure (bad synchronization in the java compiler). 2022-09-12 21:08:44 -04:00
Michael Pfaff 34e1bc3868
Remove unnecessary generator arg 2022-09-09 09:25:34 -04:00
Michael Pfaff 83e0ecd95c
Remove unnecessary generator args 2022-09-08 22:20:31 -04:00
Michael Pfaff b7e7d97f20
Add stubs to source path for generators 2022-08-19 13:42:16 -04:00
Michael Pfaff b53c59b989
Clean-up 2022-08-16 14:27:14 -04:00
Michael Pfaff 68d112adec
Fixed generated C files output path
In addition to the main fix...

- refactored GeneratorVisitor a bit
- slightly improve context in a debug message
2022-08-10 21:01:25 -04:00
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
Michael Pfaff 80ff887638
Deduplicate generator build scripts 2022-03-29 09:48:40 -04:00
Michael Pfaff 68e2ca0b76
Part 1/2
- Remove applet
- Remove webstart
- Refactor all generation to the `target` folder
- Remove eclipse-update
- Update java version in `.tool-versions`
- Update `.gitignore`
- Remove unused `res` folder
- Only macOS builds work currently
- TODO: finish the aforementioned changes to all other targets
- `build.sh` runs in headless mode to avoid the focus stealing and
  performance issues on macOS
2022-03-22 21:26:50 -04:00
Michael Pfaff 229a1da41b
Added build script and update minimum versions to Java 1.8 2022-01-05 13:50:35 -05:00
Chrobi 5d716b2b5a Build Error because bin directory not found
From a `git clone` trying to `ant generate-all` on Ubuntu Linux on Odroid XU4 I got the error:  
lwjgl/platform_build/build-generator.xml:26 destination directory  lgwjgl/bin does exist or is not a directory.
2015-12-26 22:28:04 -07:00
Ioannis Tsakpinis 78911cc0d4 Made the javac-based Generator compatible with JDK 6. 2014-09-14 21:59:47 +03:00
Ioannis Tsakpinis 774bd17ece Ported annotation processing from apt to javac.
This is a manual merge of request #86 by @b23prodtm. The original patch is fantastic, but as expected has a few issues that will be fixed in subsequent commits.
2014-09-14 17:07:56 +03:00
Ioannis Tsakpinis 5400bb27db Misc fixes and improvements on Windows:
- Cleaned up cl flags and enabled parallel compilation. Native compilation
  is now multiple times faster.
- Fixed all /W3 compilation warnings.
- Changed window flag from WS_CHILDWINDOW to WS_POPUP when Display.setParent
  is used, in an attempt to fix focus-related issues.
2013-01-29 22:53:11 +02:00
Ioannis Tsakpinis 929817a4eb Added support for OpenGL 4.3 and OpenGL ES 3.0.
Modified the generator process to use relative paths. We were hitting the command line length limit on Windows.
Some extension improvements, fixes and spec updates.
2012-08-07 15:14:03 +00:00
Ioannis Tsakpinis ad7769f9c9 Added support for OpenCL 1.2 [UNTESTED] 2011-11-16 14:36:28 +00:00
Ioannis Tsakpinis 8e7e212161 Attempt to fix ant release. 2011-07-10 22:38:21 +00:00
Ioannis Tsakpinis 40cbf3e45f Added support for OpenGL ES. 2011-05-17 16:53:57 +00:00
Ioannis Tsakpinis 208972dba5 Attempt to fix build issues. 2010-10-02 12:19:00 +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 5842103580 Added support for OpenGL 4.1 and new extensions. 2010-07-27 15:33:22 +00:00
Ioannis Tsakpinis 21b3c3d818 Added PixelFormat support for framebuffer CSAA (NV_multisample_coverage, WGL & GLX only).
Added support for AMD_name_gen_delete and AMD_debug_output. The AMDDebugOutputCallback class enables query-less message handling.
Added support for extension aliases.
2010-05-27 22:56:29 +00:00
Brian Matzon f64b3b0eb9 EFX patch by Ciardhubh (missing generator entry) 2010-05-24 22:37:11 +00:00
Ioannis Tsakpinis 4eb94622ca Added @NoErrorCheck on vertex data methods.
The debug build will now track Begin/End pairs and never call GetError inside them.
2010-04-09 23:57:40 +00:00
Ioannis Tsakpinis 9f2461fb70 Fixed debug builds. 2010-04-02 18:45:19 +00:00
Ioannis Tsakpinis 02f54eb831 Fixed GLSync build issue. 2009-08-12 14:48:37 +00:00
Jeremy Booth e69f281298 Make the release build also compile the debug jar 2009-04-09 21:18:19 +00:00
Brian Matzon 78b4301147 default to generatechecks for openal. This is needed since initNativeStub expects methods to be indirect (nalEnable instead of alEnable). 2009-03-19 19:12:37 +00:00
Brian Matzon 96ad3a2738 default to not generate checks 2009-03-17 21:49:28 +00:00
Elias Naur a0e5788d50 really enable openal checks 2008-10-11 20:35:03 +00:00
Elias Naur f876246091 enabled openal checks 2008-10-11 20:12:33 +00:00
Brian Matzon 88ab2fa02d dont generate checks for openal 2008-06-07 06:58:53 +00:00
Brian Matzon 90d03c3df3 split build file into components 2008-04-20 18:46:34 +00:00