mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
egl_dri2: Log both driver and core extensions
This commit is contained in:
parent
9c94faeff1
commit
832f2d3c39
1 changed files with 4 additions and 1 deletions
|
|
@ -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];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue