diff options
author | Chia-I Wu <olv@lunarg.com> | 2010-10-11 17:58:10 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2011-03-16 20:18:39 +0800 |
commit | f60af24be798723829478f726da53471c38a20f1 (patch) | |
tree | 20f97de6a84d93617003b5c7fa5e0f38914e2319 /src/egl/main | |
parent | 17cd318e4131454063fae3174be945450ec1e263 (diff) |
android: Add new classic EGL driver for Android.
Diffstat (limited to 'src/egl/main')
-rw-r--r-- | src/egl/main/egldriver.c | 3 | ||||
-rw-r--r-- | src/egl/main/egldriver.h | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c index b75e8b6a2c..5667f48764 100644 --- a/src/egl/main/egldriver.c +++ b/src/egl/main/egldriver.c @@ -40,6 +40,9 @@ const struct { #ifdef _EGL_BUILT_IN_DRIVER_GALLIUM { "egl_gallium", _eglBuiltInDriverGALLIUM }, #endif +#ifdef _EGL_BUILT_IN_DRIVER_ANDROID + { "egl_android", _eglBuiltInDriverANDROID }, +#endif #ifdef _EGL_BUILT_IN_DRIVER_DRI2 { "egl_dri2", _eglBuiltInDriverDRI2 }, #endif diff --git a/src/egl/main/egldriver.h b/src/egl/main/egldriver.h index 3cde102d12..7db2fcbc4c 100644 --- a/src/egl/main/egldriver.h +++ b/src/egl/main/egldriver.h @@ -59,6 +59,10 @@ _eglBuiltInDriverGALLIUM(const char *args); extern _EGLDriver * +_eglBuiltInDriverANDROID(const char *args); + + +extern _EGLDriver * _eglBuiltInDriverDRI2(const char *args); |