gallium/dri: Support DRI Image extension version 7
authorChristopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Mon, 25 Nov 2013 03:57:37 +0000 (14:57 +1100)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 10 Dec 2013 08:46:13 +0000 (09:46 +0100)
commitdf3b20b2cf4ee6abb07d2948259d7500681f8c41
treeb102afba9a3d3b037916791e37ca8f54c4a80e2e
parent6b5e15360a1cf56de7a223a89da0bf0d4693ec22
gallium/dri: Support DRI Image extension version 7

v2: Fix up queryImage return for ATTRIB_FD
    Use driver_descriptor.configuration to determine whether the driver
    supports DMA-BUF import/export.
v3: Really, truly, fix up queryImage return for ATTRIB_FD

Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
src/gallium/include/state_tracker/drm_driver.h
src/gallium/state_trackers/dri/drm/dri2.c