Commit Graph

19 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
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 f3472da2ed CL: Cleaned-up callbacks and object registries.
Mapped: Added .capacity() and .foreach() with default elementCount.
2011-08-02 23:45:19 +00:00
Ioannis Tsakpinis 83c2208aa0 Added support for NV_path_rendering.
Made MappedObjectUnsafe package private.
2011-07-29 11:30:14 +00:00
Ioannis Tsakpinis d3d14b6f3c @MappedType is now optional.
copyTo now only copies (SIZEOF - padding) bytes.
2011-07-24 09:38:46 +00:00
Ioannis Tsakpinis 054a5c5ae9 Added support for volatile keyword. 2011-07-23 22:28:57 +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 896e363979 Converted sizeof and align to methods.
Override more methods in MappedObject subclasses, foreach is now 4 times faster.
2011-07-22 20:09:01 +00:00
Ioannis Tsakpinis 20b9d3f89f Added support for array access to mapped objects.
Added SpriteShootout test that uses mapped objects.
2011-07-22 02:01:56 +00:00
Ioannis Tsakpinis c7088cb44f Fixed manual merge error. 2011-07-14 23:11:41 +00:00
Ioannis Tsakpinis b09625557d Implemented .next() with bytecode transformation, 4x faster now.
Made method transformation a bit faster.
2011-07-14 16:54:25 +00:00
Ioannis Tsakpinis 1f305d514a Removed stride and .configure. Mapped object view updates are now 50% faster. [Riven]
org.lwjgl.util.mapped.PrintBytecode is now functional. [Riven]
2011-07-13 22:15:25 +00:00
Ioannis Tsakpinis bad616d4cb Fixed stackmap and classloading bugs. 2011-07-12 21:30:48 +00:00
Ioannis Tsakpinis a75b1dde68 Added friendly error message when a non-static inner class is registered with the transformer. 2011-07-12 19:29:15 +00:00
riven-lwjgl 1e108964cd First attempt at manual computation of stack frames 2011-07-12 18:30:56 +00:00
riven-lwjgl 950b17a8fe Test case showing problems on loading library (64 vs 32 bit) 2011-07-12 17:49:58 +00:00
Ioannis Tsakpinis e174bf3bc8 Changed mapping behavior to be consistent with the LWJGL API; it now starts at the buffer's current .position().
Reverted client JVM warning to use serr instead of LWJGLUtil.log, for extra visibility when Debug is disabled.
2011-07-12 14:21:29 +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
riven-lwjgl 7e244edc2b Initial release of mapped objects library (v0.10) in LWJGL. 2011-07-11 21:46:00 +00:00