small opengl api in java with software rendering