Mir

Code review comment for lp:~vanvugt/mir/eglapp-bits

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Although the EGL spec itself is questionable and I understand people not following it properly. Because if all implementations really did just choose the highest colour depth available then specifying any value<=max in the EGLConfig would always give the same result (maximum colour depth). Hence those channel attributes should not exist at all if the spec really expects everyone to choose the maximum depth all the time. Sounds like the EGL spec needs rewording.

Back in the real world we should not make any assumptions about the chosen EGLConfig. It clearly might not be what we expected, and we should query what was chosen.

« Back to merge proposal