st/dri: Add support for DRIimage extension mapImage/unmapImage
authorRob Herring <robh@kernel.org>
Wed, 4 May 2016 02:02:44 +0000 (21:02 -0500)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 23 May 2016 11:07:46 +0000 (12:07 +0100)
commite8431a630d64a39c1cf2feda08e0450d4e522d7d
treedca5ac0ca6177b2ee94a4311e752786b56cc3a15
parenta0f06f168fd951d5b50b892786f041b58e9554ae
st/dri: Add support for DRIimage extension mapImage/unmapImage

Implement support for mapImage/unmapImage functions in version 12 of the
DRIimage extension.

Signed-off-by: Rob Herring <robh@kernel.org>
[Emil Velikov: align/indent the map/unmap vfuncs]
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/state_trackers/dri/dri2.c