From 5a459d58fca2b71cb77c39f98df8a81ce6298421 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Fri, 21 Aug 2009 13:53:36 +0800 Subject: egl: Remove dependency on libX11. libX11 is used to determine the screen number, which is in turned used to determine the DRI driver. However, the sysfs interface for determining the DRI driver is gone, and no working driver depends on this mechanism. Display string parsing is moved to a new function, _eglSplitDisplayString. Signed-off-by: Chia-I Wu --- src/egl/main/egldisplay.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/egl/main/egldisplay.h') diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h index 20651e51ff..c7a41cd588 100644 --- a/src/egl/main/egldisplay.h +++ b/src/egl/main/egldisplay.h @@ -65,6 +65,10 @@ extern void _eglFiniDisplay(void); +extern char * +_eglSplitDisplayString(const char *dpyString, const char **args); + + extern _EGLDisplay * _eglNewDisplay(NativeDisplayType displayName); -- cgit v1.2.3