[Mesa-dev] [PATCH v2] st/dri: add 32-bit RGBX/RGBA formats

Chad Versace chadversary at chromium.org
Wed Jul 12 18:45:49 UTC 2017


On Tue 11 Jul 2017, Rob Herring wrote:
> From: Marek Olšák <marek.olsak at amd.com>
> 
> 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.
> 
> The handling of RGBA/RGBX in dri_fill_st_visual is a fix from Marek
> Olšák.
> 
> Cc: Eric Anholt <eric at anholt.net>
> Cc: Chad Versace <chadversary at chromium.org>
> Cc: Mauro Rossi <issor.oruam at gmail.com>
> Reviewed-by: Marek Olšák <marek.olsak at amd.com>
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
> v2:
> - Incorporated dri_fill_st_visual RGBA/X handling from Marek
> - Handle RGBA/X in dri2_drawable_get_buffers for completeness

Reviewed-by: Chad Versace <chadversary at chromium.org>



More information about the mesa-dev mailing list