summaryrefslogtreecommitdiff
path: root/src/nv_dripriv.h
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-11-06 03:13:50 +0100
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-11-06 03:13:50 +0100
commit1b14821ecd67a62a34a902e62c0b229bb9ed97ca (patch)
treecd05ef9e58c4cbc22e51b32fd5e3b7d6fe794280 /src/nv_dripriv.h
parente6b1f687e3bf127d8dba1871d67eff9d83ac284e (diff)
downloadxorg-driver-xf86-video-nouveau-1b14821ecd67a62a34a902e62c0b229bb9ed97ca.tar.gz
Added a DRI visual configs functions. It should work but I can't test it...
Diffstat (limited to 'src/nv_dripriv.h')
-rw-r--r--src/nv_dripriv.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/nv_dripriv.h b/src/nv_dripriv.h
new file mode 100644
index 0000000..85b818c
--- /dev/null
+++ b/src/nv_dripriv.h
@@ -0,0 +1,21 @@
+#ifndef NV_DRIPRIV_H_
+#define NV_DRIPRIV_H_
+
+#include "GL/glxint.h"
+#include "xf86drm.h"
+
+extern void GlxSetVisualConfigs(int nconfigs, __GLXvisualConfig *configs,
+ void **configprivs);
+
+typedef struct {
+ /* Nothing here yet */
+ int dummy;
+} NVConfigPrivRec, *NVConfigPrivPtr;
+
+typedef struct {
+ /* Nothing here yet */
+ int dummy;
+} NVDRIContextRec, *NVDRIContextPtr;
+
+#endif
+