Removed previous DirectRenderer
Fixed map ID for renderers
Moved everything related to the kernel to a new class in hopes of fixing the array being 0 length (apparently it was lambdas)
Storing a reference of the pixels and converted colors at each renderer
Implemented matchColor in a CL-compatible way
Added and removed pixel array length check - it kept overindexing at first, but that got fixed eventually and the check crashed Aparapi in GPU mode
Work of today
Successfully rendered to the map via the GPU (well not really, it falls back to an alternative algorithm)
Dropping the PXCLib - finally realized that the GPU speed massively increases after the first pass
Cleanup: Removed the VBoxJava source code
Update: Updated to VirtualBox 6.0
Fix: Added correct class file to put in the API on updates and (probably) fixed the keyboard
Turns out there IS pointer handling in the library, only the wrapper generator isn't prepared for pointers
In the end, all I did was editing the generated source file from byte[] to long[]
Fiiinally got VBox working inside a VM spending a day on it. I was/am
tired. Now I have it set up and it's really easy to debug.
No errors, at first start anyways, but the machine only goes Starting
for a very short amount of time then it's off again.
Updated version
Removed Movecraft as a soft dependency
AllPixels is set on each change
The direct renderer only renders on change and updates (altough it'd
actually only render once before)
- Put all the needed libraries inside the JAR
- Shaded all the dependencies
- Updated VirtualBox interop
- Spent hours fixing bugs for all of the above