summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/target-helpers/inline_drm_helper.h
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-06-16 23:52:52 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-07-10 01:06:48 +0100
commitff0e25f3a6c20d8df1aaa9376df35d5cfce0c0a9 (patch)
treeb4bcd3ab4c1b3f266ac6360813e018316fa16d6b /src/gallium/auxiliary/target-helpers/inline_drm_helper.h
parent3591acacf9579033aeaf3ccade59ad02288236e9 (diff)
targets/dri: Add __driDriverGetExtensions_i965 symbol
Identical to previous commits - will bring us a step closer to megadrivers. Cc: Chia-I Wu <olv@lunarg.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Tested-by: Rob Clark <robclark@freedesktop.org> Tested-by: Thomas Helland <thomashelland90 at gmail.com> Acked-by: Tom Stellard <thomas.stellard@amd.com>
Diffstat (limited to 'src/gallium/auxiliary/target-helpers/inline_drm_helper.h')
-rw-r--r--src/gallium/auxiliary/target-helpers/inline_drm_helper.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/target-helpers/inline_drm_helper.h b/src/gallium/auxiliary/target-helpers/inline_drm_helper.h
index 48753a63f9d..2467a9ef731 100644
--- a/src/gallium/auxiliary/target-helpers/inline_drm_helper.h
+++ b/src/gallium/auxiliary/target-helpers/inline_drm_helper.h
@@ -79,6 +79,18 @@ pipe_i915_create_screen(int fd)
#endif
#if defined(GALLIUM_ILO)
+#if defined(DRI_TARGET)
+#include "dri_screen.h"
+
+const __DRIextension **__driDriverGetExtensions_i965(void);
+
+PUBLIC const __DRIextension **__driDriverGetExtensions_i965(void)
+{
+ globalDriverAPI = &galliumdrm_driver_api;
+ return galliumdrm_driver_extensions;
+}
+#endif
+
static struct pipe_screen *
pipe_ilo_create_screen(int fd)
{