]> git.cworth.org Git - apitrace/commit
Try to find the best matching EGL visual according to the profile.
authorAlexandros Frantzis <alexandros.frantzis@linaro.org>
Fri, 2 Dec 2011 13:24:36 +0000 (15:24 +0200)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 8 Dec 2011 23:10:50 +0000 (23:10 +0000)
commitfefa66327361ae210f10de962953e4f870a275c4
tree92a87a8a7dac9acb9eb962e40cd2e3cded85cbeb
parent2ccef5448acf58e536a647780dd9c4c0a236d7d2
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.
glws_egl_xlib.cpp