i965: add support for RGBA dma_buf imports.
authorGwenole Beauchesne <gb.devel@gmail.com>
Tue, 9 Sep 2014 08:56:24 +0000 (10:56 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 16 Sep 2014 08:11:06 +0000 (01:11 -0700)
commite1c50abf8a0ca1d541c4e2dbd5ed1805ed958ba7
tree6e95fb26b5aca94ef2b609fda4797e9574d6fea5
parent78bd12619474e98503965541c61c5d7e9c408110
i965: add support for RGBA dma_buf imports.

This allows for importing foreign buffers in RGB32 native endian
byte order, i.e. DRM_FORMAT_XBGR8888, and DRM_FORMAT_ABGR8888.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "10.3" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/i965/intel_screen.c