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.


** Changed in: mir
    Milestone: 0.15.0 => None

** Changed in: mir
       Status: In Progress => Invalid

** Changed in: mir (Ubuntu)
       Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1460149

Title:
  Visible corruption in SDL apps (Neverball, Neverputt) on Nexus 4 /
  Nexus 7.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1460149/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to