3. Special: by larger total number of color bits (for an RGB color buffer,
this is the sum of EGL_RED_SIZE , EGL_GREEN_SIZE , EGL_BLUE_SIZE ,
and EGL_ALPHA_SIZE ;"
Which means that for 5,5,5,1 we would get the largest buffer size with at least those r,g,b,a sizes, i.e. probably a 32-bit 8,8,8,8.
Does this work reliably? From the EGL spec:
"3.4.1.2 Sorting of EGLConfig
...
3. Special: by larger total number of color bits (for an RGB color buffer,
this is the sum of EGL_RED_SIZE , EGL_GREEN_SIZE , EGL_BLUE_SIZE ,
and EGL_ALPHA_SIZE ;"
Which means that for 5,5,5,1 we would get the largest buffer size with at least those r,g,b,a sizes, i.e. probably a 32-bit 8,8,8,8.