summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldriver.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-05-16 02:15:42 +0000
committerBrian Paul <[email protected]>2005-05-16 02:15:42 +0000
commit51ac95ba8945711cf65e94a2deba6c896dea5f0e (patch)
tree6a8c4cdd2d3e37f89c21e98d51ddd104c3af0867 /src/egl/main/egldriver.h
parent6493bd07a7a766552c754920190972c91f5c336c (diff)
added boolean extension flags to _EGLDriver
Diffstat (limited to 'src/egl/main/egldriver.h')
-rw-r--r--src/egl/main/egldriver.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/egl/main/egldriver.h b/src/egl/main/egldriver.h
index bc5e4e2e618..d83bc46f66b 100644
--- a/src/egl/main/egldriver.h
+++ b/src/egl/main/egldriver.h
@@ -4,6 +4,9 @@
#include "egltypedefs.h"
+/* should probably use a dynamic-lengh string, but this will do */
+#define MAX_EXTENSIONS_LEN 1000
+
/* driver funcs */
typedef EGLBoolean (*Initialize_t)(_EGLDriver *, EGLDisplay dpy, EGLint *major, EGLint *minor);
@@ -114,6 +117,13 @@ struct _egl_driver
QueryScreenSurfaceMESA_t QueryScreenSurfaceMESA;
QueryScreenModeMESA_t QueryScreenModeMESA;
QueryModeStringMESA_t QueryModeStringMESA;
+
+ /* Extension enable flags */
+ EGLBoolean MESA_screen_surface;
+ EGLBoolean MESA_copy_context;
+
+ /* Extensions string */
+ char Extensions[MAX_EXTENSIONS_LEN];
};