AFAIK SDL2 should support 24/32 bit colors... I do find that strange
since on X11:

INFO: SDL_GL_RED_SIZE: requested 5, got 8
INFO: SDL_GL_GREEN_SIZE: requested 5, got 8
INFO: SDL_GL_BLUE_SIZE: requested 5, got 8
INFO: SDL_GL_DEPTH_SIZE: requested 16, got 24

Im not 100% sure why its failing to get the correct requested size, or
rather why mir is not requesting a 24/32bit color. Ill take a look at
this! Hopefully that turns out to be the issue. As it seems by default
to request a 15/16 bi color

http://hg.libsdl.org/SDL/file/704a0bfecf75/src/video/SDL_egl.c#l242

This is where its getting the gl_config (requested size) then setting
the bits internal when it create the egl config. (Also note this is not
the same code X11 runs! Since it wont be using EGL)

So it looks like mir is getting the correct requested size (for the most
parts a 6 instead of a 5). The main issue is why is it requesting a 5?
This could be my fault here for not manually forcing the 24/32 bit or
the clients fault for not forcing it. Ill take a deeper look.

Cheers

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to