summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common/utils.h
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2005-01-26 18:02:19 +0000
committerRoland Scheidegger <[email protected]>2005-01-26 18:02:19 +0000
commit7104ce0a0e8f25bf097ad695d007b1a4b3e5d051 (patch)
tree20f22183d2696af8ecebf6d446e2b35da0c1b2c7 /src/mesa/drivers/dri/common/utils.h
parent914746b400abd85b5e416ef9e212604b68743de0 (diff)
new version check to allow to test for a range of ddx major versions, instead of just one major version
Diffstat (limited to 'src/mesa/drivers/dri/common/utils.h')
-rw-r--r--src/mesa/drivers/dri/common/utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/utils.h b/src/mesa/drivers/dri/common/utils.h
index 21d7ad269d4..3346914fe60 100644
--- a/src/mesa/drivers/dri/common/utils.h
+++ b/src/mesa/drivers/dri/common/utils.h
@@ -58,6 +58,11 @@ extern GLboolean driCheckDriDdxDrmVersions2(const char * driver_name,
const __DRIversion * ddxActual, const __DRIversion * ddxExpected,
const __DRIversion * drmActual, const __DRIversion * drmExpected);
+extern GLboolean driCheckDriDdxDrmVersions3(const char * driver_name,
+ const __DRIversion * driActual, const __DRIversion * driExpected,
+ const __DRIversion * ddxActual, const __DRIutilversion2 * ddxExpected,
+ const __DRIversion * drmActual, const __DRIversion * drmExpected);
+
extern GLboolean driClipRectToFramebuffer( const GLframebuffer *buffer,
GLint *x, GLint *y,
GLsizei *width, GLsizei *height );