Added a test to check we use hardware acceleration.

- Also switched to jogl 2.1.