summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-02-05 10:53:14 -0500
committerKristian Høgsberg <[email protected]>2010-02-05 12:01:28 -0500
commit832f2d3c392b0f222415eb1f1907b7790a1d2bdd (patch)
treef8b7eb8b1cfd5228a65fa6405b8c0dfff92896d9 /src/egl/drivers/dri2
parent9c94faeff18c942417daaed87a16909790c72a60 (diff)
egl_dri2: Log both driver and core extensions
Diffstat (limited to 'src/egl/drivers/dri2')
-rw-r--r--src/egl/drivers/dri2/egl_dri2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index e9e75ec36fe..8b01b8453e7 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -498,6 +498,8 @@ dri2_initialize(_EGLDriver *drv, _EGLDisplay *disp,
}
for (i = 0; extensions[i]; i++) {
+ _eglLog(_EGL_DEBUG, "DRI2: found driver extension `%s'",
+ extensions[i]->name);
if (strcmp(extensions[i]->name, __DRI_CORE) == 0)
dri2_dpy->core = (__DRIcoreExtension *) extensions[i];
if (strcmp(extensions[i]->name, __DRI_DRI2) == 0)
@@ -569,7 +571,8 @@ 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);
+ _eglLog(_EGL_DEBUG, "DRI2: found core extension `%s'",
+ extensions[i]->name);
if ((strcmp(extensions[i]->name, __DRI2_FLUSH) == 0))
dri2_dpy->flush = (__DRI2flushExtension *) extensions[i];
}