[Mesa-dev] [PATCH 2/4] egl_dri2: Add support for EGL_DISPLAY_TYPE_XCB_MESA
Kristian Høgsberg
krh at bitplanet.net
Thu May 27 18:41:45 PDT 2010
---
src/egl/drivers/dri2/egl_dri2.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 4ca6f80..2a775e2 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -658,6 +658,10 @@ dri2_initialize(_EGLDriver *drv, _EGLDisplay *disp,
}
break;
+ case EGL_DISPLAY_TYPE_XCB_MESA:
+ dri2_dpy->conn = disp->VoidDisplay;
+ break;
+
default:
_eglLog(_EGL_WARNING,
"DRI2: unknown display type: %d", disp->DisplayType);
--
1.7.0.1
More information about the mesa-dev
mailing list