dri2: add __DRI_IMAGE_FORMAT_ABGR8888 to __DRI_IMAGE
authorChia-I Wu <olv@lunarg.com>
Sun, 21 Aug 2011 13:22:41 +0000 (21:22 +0800)
committerChia-I Wu <olv@lunarg.com>
Fri, 9 Sep 2011 04:06:16 +0000 (12:06 +0800)
commite3cf7b69f24c186310eb3be4c462cccea028e6f2
treeb446b93a782971ce1b570126d306a29326f23b23
parent60df737ad57c20701b66d7cd3f63d1dc75745986
dri2: add __DRI_IMAGE_FORMAT_ABGR8888 to __DRI_IMAGE

Add a new format token, __DRI_IMAGE_FORMAT_ABGR8888, to __DRI_IMAGE.  It
maps to MESA_FORMAT_RGBA8888_REV in core mesa or
PIPE_FORMAT_R8G8B8A8_UNORM in gallium.  The format is used by
translucent surfaces on Android.
include/GL/internal/dri_interface.h