renderer/egl: decrease egl debug output

this just removes this from the common output
macos/master
Dave Airlie 10 years ago
parent a088746d7a
commit bdbf734fa2
  1. 4
      src/virgl_egl_context.c

@ -80,7 +80,6 @@ static int egl_rendernode_open(void)
continue; continue;
} }
fd = r; fd = r;
fprintf(stderr, "using render node %s\n", p);
free(p); free(p);
break; break;
} }
@ -161,13 +160,14 @@ struct virgl_egl *virgl_egl_init(void)
goto fail; goto fail;
extension_list = eglQueryString(d->egl_display, EGL_EXTENSIONS); extension_list = eglQueryString(d->egl_display, EGL_EXTENSIONS);
#ifdef VIRGL_EGL_DEBUG
fprintf(stderr, "EGL major/minor: %d.%d\n", major, minor); fprintf(stderr, "EGL major/minor: %d.%d\n", major, minor);
fprintf(stderr, "EGL version: %s\n", fprintf(stderr, "EGL version: %s\n",
eglQueryString(d->egl_display, EGL_VERSION)); eglQueryString(d->egl_display, EGL_VERSION));
fprintf(stderr, "EGL vendor: %s\n", fprintf(stderr, "EGL vendor: %s\n",
eglQueryString(d->egl_display, EGL_VENDOR)); eglQueryString(d->egl_display, EGL_VENDOR));
fprintf(stderr, "EGL extensions: %s\n", extension_list); fprintf(stderr, "EGL extensions: %s\n", extension_list);
#endif
/* require surfaceless context */ /* require surfaceless context */
if (!virgl_egl_has_extension_in_string(extension_list, "EGL_KHR_surfaceless_context")) if (!virgl_egl_has_extension_in_string(extension_list, "EGL_KHR_surfaceless_context"))
goto fail; goto fail;

Loading…
Cancel
Save