Mir

Comment 24 for bug 1460149

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

Even simpler: I've attached a Mir branch that replicates the problem (-e5) using just Mir demos. Unfortunately that doesn't relieve SDL from owning the solution to this bug. Because even if Mir added support for 16 bpp formats, SDL would still need to be changed to use it.

I suggest in the shorter term SDL can solve the problem by simply choosing a Mir-compatible EGL config in requesting a minimum of 8 bits per channel:
        EGL_RED_SIZE, 8,
        EGL_GREEN_SIZE, 8,
        EGL_BLUE_SIZE, 8,

But feel free to shame Mir for failing to provide stronger API guarantees that the EGL config actually matches the pixel format in use.