[Mesa-dev] [PATCH] mesa: add MESA_FORMAT_RGBX8888 and MESA_FORMAT_RGBX8888_REV

Brian Paul brianp at vmware.com
Sat Nov 26 07:50:32 PST 2011


On 11/24/2011 08:24 PM, Chia-I Wu wrote:
> From: Chia-I Wu<olv at lunarg.com>
>
> MESA_FORMAT_RGBX8888_REV is one of the opaque pixel formats used on Android.
> Thanks to texture-from-pixmap, drivers may actually see texture images with
> this format on Android.
>
> MESA_FORMAT_RGBX8888 is added only for completeness.
> ---
>   src/mesa/main/format_unpack.c      |   28 +++++++++++++++++++++
>   src/mesa/main/formats.c            |   24 ++++++++++++++++++
>   src/mesa/main/formats.h            |    2 +
>   src/mesa/main/texstore.c           |   21 +++++++++++----
>   src/mesa/state_tracker/st_format.c |    8 ++++++
>   src/mesa/swrast/s_texfetch.c       |   14 ++++++++++
>   src/mesa/swrast/s_texfetch_tmp.h   |   48 ++++++++++++++++++++++++++++++++++++
>   7 files changed, 139 insertions(+), 6 deletions(-)
>

Reviewed-by: Brian Paul <brianp at vmware.com>


More information about the mesa-dev mailing list