[Piglit] [PATCH] request RGB visual, fixes gbm rendering

Emil Velikov emil.l.velikov at gmail.com
Tue May 12 10:13:22 PDT 2015


On 9 May 2015 at 08:08, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> GBM presumably defaults to RGB565 otherwise. Not all of these are
> required, as some would still work with less precision, but this makes
> the tests consistent. At least fp-formats and user-clip were failing
> previously.
>
You're spot on - waffle gbm does default to RGB565 when the
red/green/blue/alpha size is zero (the default values set in
piglit_winsys_framework.c). Although I'm a bit baffled by the meaning
of PIGLIT_GL_VISUAL_RGB - does it imply a 32bit and/or a red_size =
green_size = blue_size(d) visual ?

Thanks
Emil


More information about the Piglit mailing list