[Mesa-dev] [PATCH] i965: Add RGBX8888 and RGBA8888 to EGL configure and reorder the list

Emil Velikov emil.l.velikov at gmail.com
Thu May 11 12:31:27 UTC 2017


Hi Randy,

Found this stuck in my Drafts.

On 11 January 2017 at 08:04, Randy Xu <randy.xu at intel.com> wrote:
> On Android platform, the EGL configuration query (eglGetConfigs) will
> check the DRI backend. Add R8G8B8A8 and R8G8B8X8 to meet the native app
> test requirement (like gl2_basic etc.).
>
> Reorder the list and move the B5G6R5 to the tail, it can solve two dEQP
> failures on Android platform, they are dEQP-GLES3.functional.fragment_ops.
> blend.default_framebuffer.rgb_func_alpha_func.src.dst_color_one_minus_dst_alpha
> & .dst_color_constant_alpha. These two failures are all caused by B5G6R5 low
> precision and the dEQP case always choose the first EGL configure id in list
> returned by eglGetConfigs. The failure cannot be reproduced on X11 platform as
> Intel does not support 16bit visuals with X driver
>
When developing changes please make sure that you've tested those
against the normal Linux builds.
Either handle this yourself, or check with the devs on #intel-gfx
about going through the Intel CI.

An identical change broke KDE/Qt in the past [1] and there is some
discussion how to fix it properly [2].

Thanks
Emil

[1] https://bugs.freedesktop.org/show_bug.cgi?id=95071
[2] https://lists.freedesktop.org/archives/mesa-dev/2016-April/113654.html
(check through the thread)


More information about the mesa-dev mailing list