egl: Add EGL_DRIVERS_PATH environment variable.
authorChia-I Wu <olvaffe@gmail.com>
Tue, 2 Feb 2010 07:34:55 +0000 (15:34 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Wed, 3 Feb 2010 06:16:15 +0000 (14:16 +0800)
commit5d8646c41ff3022692fa9d7f5f1644a2a60641e4
treef854fe972d13f14511d2128296ada90e1082f05b
parent6f2e9651a1a460a1f564d30844cb2c9bced71da5
egl: Add EGL_DRIVERS_PATH environment variable.

EGL_DRIVERS_PATH gives a list of colon-separated directories.  The given
directories will be searched when preloading drivers.

This is based on Mike Stroyan's patch, which honors the variable in
_eglPreloadDisplayDrivers.  It is extended to honor the variable also in
_eglPreloadUserDriver and _eglPreloadDefaultDriver in this version.
docs/egl.html
src/egl/main/egldriver.c