summaryrefslogtreecommitdiff
path: root/src/egl/drivers/xdri/driinit.h
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-08-16 08:51:58 +0800
committerBrian Paul <brianp@vmware.com>2009-08-24 11:49:45 -0600
commit58ac57c2b7b40b64df2a867d4b9d4e5c5bc13c47 (patch)
treea775fc0ab3a31beeb7349af947224579b4170b66 /src/egl/drivers/xdri/driinit.h
parent17090cf3efb0db8fa01b502a9c0df27cbd1a67da (diff)
egl_xdri: Revive the driver.
egl_xdri does not compile for some time. This commit revives the driver. It no longer depends on libGL.so for GLX related functions. Instead, it uses code from src/glx/ directly. Both DRI and DRI2 are supported. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Diffstat (limited to 'src/egl/drivers/xdri/driinit.h')
-rw-r--r--src/egl/drivers/xdri/driinit.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/egl/drivers/xdri/driinit.h b/src/egl/drivers/xdri/driinit.h
new file mode 100644
index 0000000000..6ea05cebef
--- /dev/null
+++ b/src/egl/drivers/xdri/driinit.h
@@ -0,0 +1,9 @@
+#ifndef DRIINIT_INCLUDED
+#define DRIINIT_INCLUDED
+
+#include "glxclient.h"
+
+extern __GLXDRIdisplay *
+__driCreateDisplay(__GLXdisplayPrivate *dpyPriv, int *version);
+
+#endif /* DRIINIT_INCLUDED */