Commit Graph

29 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 0ebbec4e7f
Optimize generators 2022-09-08 07:10:40 -04:00
Ioannis Tsakpinis 78911cc0d4 Made the javac-based Generator compatible with JDK 6. 2014-09-14 21:59:47 +03:00
Ioannis Tsakpinis 59323ff03f Automatic code reformatting.
Nothing to see here, just a cleanup so that subsequent commits are cleaner.
2014-09-14 17:16:51 +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 cb759158e7 Fixed some native compilation warnings. 2014-08-04 22:25:12 +03:00
Ioannis Tsakpinis 3caf672e42 Fixed pointer array init for NIO buffers. 2013-07-22 20:13:01 +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 4a02aed129 More java-side pointer arithmetic.
Fixed pointer cast warning.
2011-07-16 16:42:51 +00:00
Ioannis Tsakpinis 0b0e185f47 Moved all pointer arithmetic to Java code. 2011-07-16 16:05:37 +00:00
Ioannis Tsakpinis 40cbf3e45f Added support for OpenGL ES. 2011-05-17 16:53:57 +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 b17aa7d21b Added JNIEXPORT to AL alternate methods.
Now forcing full regen when any class in the Generator changes.
2010-03-16 19:05:19 +00:00
Ioannis Tsakpinis e97e601894 Added Charset encoding to StringUtils
Changed shader tests to use the String APIs
Finished ARB_uniform_buffer_object shader test
Fixed native code compiler warnings
Made the generator check file timestamps to avoid unnecessary 3+ min builds
2010-03-14 00:19:48 +00:00
Ioannis Tsakpinis fd5bd2589d Force Indirect for StringLists 2010-03-12 23:35:55 +00:00
Ioannis Tsakpinis 3e87a3ae7b Address var fix. 2010-03-12 22:14:11 +00:00
Ioannis Tsakpinis 6ac8e327f2 Added support for Strings! (WIP, needs more testing) 2010-03-12 21:55:13 +00:00
Ioannis Tsakpinis d97fc05a7b Added support for explicit length arguments in functions that map buffer objects.
Simplified CachedResult handling of functions that map buffer object ranges.
Improved documentation of CachedResult functions.
2010-01-04 18:47:49 +00:00
Ioannis Tsakpinis 6e5355bc83 Added generator support for null-terminated string lists.
Fixed GetUniformIndices and TransformFeedbackVaryings.
Added a ARB_uniform_buffer_object test.
2009-12-04 04:49:19 +00:00
Ioannis Tsakpinis 6befeb63f2 Completed GL32 support.
Added Generator support for wrapping GL pointers.
Added support for passing command-line arguments to tests.
Added test for ARB_sync functionality.
Temp fix to NV_shader_buffer_load.
2009-08-12 13:06:11 +00:00
Brian Matzon bb16ec7492 updated and added license where needed 2008-04-07 18:36:09 +00:00
Elias Naur eaed716958 Generator: Support arbitrary @AutoResultSize expressions. Make Buffer result sizes long instead of int 2006-12-20 19:19:56 +00:00
Elias Naur 93eabcf999 Generator: Make sure that @GLvoid types result in proper address calculations at the native side, even though the parameter java type is not java.nio.Buffer 2006-11-27 23:01:01 +00:00
Elias Naur c64dd328f9 Added a native NewStringNativeUnsigned to avoid compile warnings 2006-07-07 10:36:26 +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 8a3bee6b1c applied patch to move ID tag 2006-03-23 19:32:21 +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
Caspian Rychlik-Prince 39694b9780 Moved generator to util packages 2005-02-20 19:28:34 +00:00
Renamed from src/java/org/lwjgl/generator/NativeMethodStubsGenerator.java (Browse further)