diff options
author | Marek Olšák <[email protected]> | 2016-04-24 11:51:52 +0200 |
---|---|---|
committer | Rob Herring <[email protected]> | 2017-07-13 14:36:47 -0500 |
commit | f33d8af7aa354d00808f8bfd55028c396c706635 (patch) | |
tree | c9223de58d77c88c731eca76e87f99a8f03bf99e /src/mesa/main/attrib.c | |
parent | 5a9fb2eabc1e6ef7ed0b99683d8d9eb7e1a2c1ea (diff) |
st/dri: add 32-bit RGBX/RGBA formats
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 <[email protected]>
Cc: Mauro Rossi <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'src/mesa/main/attrib.c')
0 files changed, 0 insertions, 0 deletions