On Wed, 31 Aug 2011 13:46:34 +0800, Chia-I Wu <olva...@gmail.com> wrote: > From: Chia-I Wu <o...@lunarg.com> > > Add a new format token, __DRI_IMAGE_FORMAT_RGBA8888_REV, to __DRI_IMAGE. > It maps to MESA_FORMAT_RGBA8888_REV in core mesa or > PIPE_FORMAT_R8G8B8A8_UNORM in gallium. It is the format of translucent > surfaces on Android.
This could use some explanation: Why can't android use the existing format with alpha? Does the GL get no input into the hardware formats chosen? Who chooses the format? Would it work if we just didn't report HAL_PIXEL_FORMAT_RGBA_8888 for configs? Also, I'd prefer to see the name ABGR8888 to the ridiculous _REV naming, if we do need a new format.
pgpl2LNfmk3GM.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev