[Mesa-dev] [PATCH] st/dri: add 32-bit RGBX/RGBA formats
Chad Versace
chadversary at chromium.org
Wed Jul 5 22:14:14 UTC 2017
On Fri 30 Jun 2017, Rob Herring wrote:
> Add support for 32-bit RGBX/RGBA formats which are required for Android.
>
> The original patch (commit ccdcf91104a5) was reverted (commit
> c0c6ca40a25e) in mesa as it broke GLX resulting in swapped colors. Based
> on further investigation by Chad Versace, moving the RGBX/RGBA configs
> to the end is enough to prevent breaking GLX.
>
> Cc: Marek Olšák <marek.olsak at amd.com>
> Cc: Eric Anholt <eric at anholt.net>
> Cc: Chad Versace <chadversary at chromium.org>
> Cc: Mauro Rossi <issor.oruam at gmail.com>
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
> I've tested only on Android and could use help testing with KDE which
> broke last time. This has been done on the Intel driver and *should* be
> okay, but maybe not.
Should this patch also update the switch statement in
dri2.c:dri2_drawable_get_buffers()? I think so, but am not certain.
More information about the mesa-dev
mailing list