From 5d8646c41ff3022692fa9d7f5f1644a2a60641e4 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Tue, 2 Feb 2010 15:34:55 +0800 Subject: [PATCH] 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 | 9 ++ src/egl/main/egldriver.c | 290 ++++++++++++++++++++++++++------------- 2 files changed, 200 insertions(+), 99 deletions(-) diff --git a/docs/egl.html b/docs/egl.html index 87f7e7ddcca..8a2ea7c0442 100644 --- a/docs/egl.html +++ b/docs/egl.html @@ -126,6 +126,15 @@ test your build. For example,

runtime