summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldisplay.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2009-08-21 13:53:36 +0800
committerBrian Paul <[email protected]>2009-08-21 08:34:34 -0600
commit5a459d58fca2b71cb77c39f98df8a81ce6298421 (patch)
tree736e152e0c0da819c13482ccb183806ce2538610 /src/egl/main/egldisplay.h
parent1f871a4d1536a7124d82d4503d1167bd668f84da (diff)
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 <[email protected]>
Diffstat (limited to 'src/egl/main/egldisplay.h')
-rw-r--r--src/egl/main/egldisplay.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h
index 20651e51ffd..c7a41cd5883 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);