Processing 3.2.3 using GPU acceleration on DragonBoard410c



This is my report how to get Processing 3.2.3 working on the Linaro Debian 8 DragonBoard410c

Processing is a flexible software sketchbook and a language for learning how to code within the context of the visual arts. [1]

Processing depends on JogAmp JOGL, java opengl bindings, for hardware accelerated opengl. [2]

I crosscompiled JogAmp JOGL for aarch64 and then i patched Processing 3.2.3 to use the JogAmp JOGL version with aarch64 support. My goal is to have the upstream JogAmp and the Processing projects support aarch64.

I have filed patches to the JogAmp project how to setup a crosscompile environment in order for JogAmp to do builds from aarch64 using its buildfarm. [3]

I have informed the Processing project that aarch64 is working so that they can add aarch64 support to their future releases.



Below is my manual setup script how to setup and run Processing on the DragonBoard410c, this script will likely work on other 96boards as well if OpenGL driver support is available.

# Processing 3.2.3 aarch64 setup instructions
sudo apt-get install openjdk-8-jdk
curl | sudo sh
tar zxvf aarch64-jogamp-2.4-git.tar.gz
sudo cp -r aarch64-jogamp-2.4-git/*.jar /usr/local/lib/processing-3.2.3/core/library/
cd /usr/local/lib/processing-3.2.3/
sudo rm -r java
sudo ln -s /usr/lib/jvm/java-8-openjdk-arm64 java


Really great to hear that 96Boards is helping (you to) improve the AArch64 software ecosystem. Thanks for the write up!