aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/dri_common.h
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-07-19 14:57:59 -0400
committerKristian Høgsberg <[email protected]>2010-07-19 22:45:50 -0400
commitf972115d33e391499e049b83a1559959f2ca9f72 (patch)
treefeb78c590d5a92db5d0b2b00a9c52f2d414eb9c9 /src/glx/dri_common.h
parenta296d96de45d38a6ed0b3c817334d443facc169b (diff)
glx: Add screen privates for dri drivers and moved some fields there
GLXscreenConfigs is badly named and a dumping ground for a lot of stuff. This patch creates private screen structs for the dri drivers and moves some of their fields over there.
Diffstat (limited to 'src/glx/dri_common.h')
-rw-r--r--src/glx/dri_common.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/glx/dri_common.h b/src/glx/dri_common.h
index bb178db7875..7cd9ac2dac0 100644
--- a/src/glx/dri_common.h
+++ b/src/glx/dri_common.h
@@ -56,8 +56,11 @@ extern void ErrorMessageF(const char *f, ...);
extern void *driOpenDriver(const char *driverName);
-extern void driBindExtensions(__GLXscreenConfigs * psc);
-extern void dri2BindExtensions(__GLXscreenConfigs * psc);
-extern void driBindCommonExtensions(__GLXscreenConfigs * psc);
+extern void driBindExtensions(__GLXscreenConfigs * psc,
+ const __DRIextension **extensions);
+extern void dri2BindExtensions(__GLXscreenConfigs * psc,
+ const __DRIextension **extensions);
+extern void driBindCommonExtensions(__GLXscreenConfigs * psc,
+ const __DRIextension **extensions);
#endif /* _DRI_COMMON_H */