diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2009-08-15 22:58:13 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2009-09-14 13:39:18 +0800 |
commit | 9e9a4cf4711e72a5eba81476205392097b107e07 (patch) | |
tree | af4cb2ef713c2ac685cd6b0a4f843f29ac03d15a /src/egl/main/egldriver.c | |
parent | 985cefb7690ba20d178722e35c43414d330eb4bb (diff) |
egl: Add support for EGL_KHR_image_base.
Individual drivers still need to implement the API hooks.
Diffstat (limited to 'src/egl/main/egldriver.c')
-rw-r--r-- | src/egl/main/egldriver.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c index 87786e36bb..89e04a7130 100644 --- a/src/egl/main/egldriver.c +++ b/src/egl/main/egldriver.c @@ -19,6 +19,7 @@ #include "eglscreen.h" #include "eglstring.h" #include "eglsurface.h" +#include "eglimage.h" #if defined(_EGL_PLATFORM_X) #include <dlfcn.h> @@ -404,6 +405,11 @@ _eglInitDriverFallbacks(_EGLDriver *drv) #ifdef EGL_VERSION_1_2 drv->API.CreatePbufferFromClientBuffer = _eglCreatePbufferFromClientBuffer; #endif /* EGL_VERSION_1_2 */ + +#ifdef EGL_KHR_image_base + drv->API.CreateImageKHR = _eglCreateImageKHR; + drv->API.DestroyImageKHR = _eglDestroyImageKHR; +#endif /* EGL_KHR_image_base */ } |