egl_dri2: Add a debug print for DRI2 extensions.
authorChia-I Wu <olvaffe@gmail.com>
Fri, 5 Feb 2010 03:06:44 +0000 (11:06 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Fri, 5 Feb 2010 03:44:16 +0000 (11:44 +0800)
src/egl/drivers/dri2/egl_dri2.c

index 23b57b7ee6f6128b5e2bd33a55c43fd049eda706..d5fabbf4d8ff0fd7e30bacbebe60d8f41571190d 100644 (file)
@@ -595,6 +595,7 @@ dri2_initialize(_EGLDriver *drv, _EGLDisplay *disp,
 
    extensions = dri2_dpy->core->getExtensions(dri2_dpy->dri_screen);
    for (i = 0; extensions[i]; i++) {
+      _eglLog(_EGL_DEBUG, "DRI2: found extension `%s'", extensions[i]->name);
       if ((strcmp(extensions[i]->name, __DRI2_FLUSH) == 0))
         dri2_dpy->flush = (__DRI2flushExtension *) extensions[i];
    }