gles: Add ES1 and ES2 profiles to glretrace.py
gles: Add ES1 and ES2 profiles to glretrace.py

Some of the internal GL calls we make generate GL_INVALID_ENUM or other errors
when tracing an GLES app.  We need to know the profile of the current context
to adapt the calls made.

schulmar/apitrace,swq0553/apitrace,tuanthng/apitrace,EoD/apitrace,joshua5201/apitrace,tuanthng/apitrace,PeterLValve/apitrace,surround-io/apitrace,trtt/apitrace,schulmar/apitrace,EoD/apitrace,surround-io/apitrace,EoD/apitrace,apitrace/apitrace,swq0553/apitrace,trtt/apitrace,tuanthng/apitrace,joshua5201/apitrace,apitrace/apitrace,EoD/apitrace,trtt/apitrace,swq0553/apitrace,joshua5201/apitrace,PeterLValve/apitrace,trtt/apitrace,joshua5201/apitrace,apitrace/apitrace,tuanthng/apitrace,swq0553/apitrace,PeterLValve/apitrace,schulmar/apitrace,EoD/apitrace,apitrace/apitrace,PeterLValve/apitrace,surround-io/apitrace,schulmar/apitrace,surround-io/apitrace,schulmar/apitrace,trtt/apitrace,joshua5201/apitrace,tuanthng/apitrace,swq0553/apitrace,surround-io/apitrace