Log to file /sdcard/glesinfo.txt

Also read various GLES constants

Signed-off-by: Tony Lofthouse <lofthous@amazon.com>