summaryrefslogtreecommitdiff
path: root/src/egl/main/egldriver.h
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-01-19 18:13:50 +0800
committerChia-I Wu <olvaffe@gmail.com>2010-01-20 17:40:00 +0800
commitb3bcd33f7a8b32ce4ea6e979e9cc764d0f903ae9 (patch)
treeb255a30bf338d27b7d97133136003a2afd3a8fce /src/egl/main/egldriver.h
parentf291200a4bbc0b701cfe831bdeeb79f90efd866f (diff)
egl: Add _eglPreloadDrivers.
It can be used to load the user driver specified by EGL_DRIVER, or a set of drivers specified by EGL_DISPLAY, or the default driver, and in that order.
Diffstat (limited to 'src/egl/main/egldriver.h')
-rw-r--r--src/egl/main/egldriver.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/egl/main/egldriver.h b/src/egl/main/egldriver.h
index 59bd1954aa..a474fa6871 100644
--- a/src/egl/main/egldriver.h
+++ b/src/egl/main/egldriver.h
@@ -41,7 +41,11 @@ extern EGLBoolean
_eglCloseDriver(_EGLDriver *drv, _EGLDisplay *dpy);
-void
+extern EGLBoolean
+_eglPreloadDrivers(void);
+
+
+extern void
_eglUnloadDrivers(void);