gles -> gles2
add gles1-tests for logic op
make a helper for dumping register writes
use librnn if found

This way we get some colorful output and stuff. quite a lot nicer
output.