On 4 December 2013 10:37, Richard G. Roman <rits rits hu> wrote:It could very well be a bug in this EGL implementation, unfortunately.
>
> - is it possible that the Raspberry Pi code has a bug? In this case, shall
> we simply add a workaround?
Though I remember trying out some clutter and cogl examples during
development and don't remember the colors being off.
See here for how the EGL side negotiates the framebuffer config:
https://github.com/tomeuv/userland/blob/wayland/interface/khronos/egl/egl_client_cr.c#L268
I would recommend to look at the userland.git sources in the same way
as you did for clutter/cogl. I did very limited testing of this and
could very well be a bug on my code. Note though that the meat of the
GL stack is implemented in "the other side": the VideoCore. But the
config negotiation I think is all done in the CPU side.