gallium: Add __DRIimageDriverExtension support to gallium
authorAxel Davy <axel.davy@ens.fr>
Thu, 19 Jun 2014 03:27:30 +0000 (23:27 -0400)
committerDave Airlie <airlied@gmail.com>
Fri, 27 Jun 2014 01:39:34 +0000 (11:39 +1000)
commit27c686309e035d211c7cf38d1c0902f1bf2886c5
tree2b0f89ad7dbbf1087dd3e1b612ef433bdfd66bfb
parente40cf256f4cb4105c760060e43ab19a4f1524ed3
gallium: Add __DRIimageDriverExtension support to gallium

__DRIimageDriverExtension is used by GLX DRI3 and Wayland.

This patch is a rewrite of
http://lists.freedesktop.org/archives/mesa-dev/2014-May/060318.html
and
http://lists.freedesktop.org/archives/mesa-dev/2014-May/060317.html

Previous patches were:
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/state_trackers/dri/drm/dri2.c