Try to find the best matching EGL visual according to the profile.
Try to find the best matching EGL visual according to the profile.

The current method doesn't take into account the current profile, and it
may end up selecting an incompatible visual. To remedy this, this patch
adds support for different api bits lists for each profile. Each list
gives priority to the associated profile.

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