[sldev] Running SL on 16-bit color setting

Dirk Moerenhout blakar at gmail.com
Sun Dec 2 15:39:04 PST 2007


> As most people knows, SL uses OpenGL and supports OS X and Linux as well.
> So, porting on mobile devices, that support OpenGL ES, is not so difficult.
> Yes.. still has many issues to resolve, memory optimization is an example.
> And 32-bit color dependent code is also one of the issues.

I don't know OpenGL ES but how does it handle alpha blending? Images
are stored in 32-bit but only 24 bits are used for color, remainder is
alpha and is used within SL. I guess the first thing you'd need to
consider would be how to convert all the content you receive to the
proper format. Does OpenGL ES rendering 32-bit encoded images on a
16-bit display and if so, does it handle the alpha correctly?

> In CE and mobile world, there're so many configurations, and possible
> applications. I cannot explain all. So, please focus on my original question
> - 'Where/how can I find. And how can I fix it?' I'm not a 3D-expert, so need
> your help.

I fear the answer is: become a 3D rendering expert. If alpha-blending
and 16-bit vs 32-bit encoding have no meaning to you you'll be hard
pressed to manage to implement a 16-bit SL version based on current
code.

Dirk aka Blakar Ogre


More information about the SLDev mailing list