[vlc-commits] [Git][videolan/vlc][master] egl: show client extensions
    Felix Paul Kühne (@fkuehne) 
    gitlab at videolan.org
       
    Mon May 30 14:50:28 UTC 2022
    
    
  
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
aecc375d by Rémi Denis-Courmont at 2022-05-30T14:30:46+00:00
egl: show client extensions
- - - - -
1 changed file:
- modules/video_output/opengl/egl.c
Changes:
=====================================
modules/video_output/opengl/egl.c
=====================================
@@ -264,6 +264,10 @@ static int Open(vlc_gl_t *gl, const struct gl_api *api,
     if (unlikely(sys == NULL))
         return VLC_ENOMEM;
 
+    const char *ext = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
+    if (*ext)
+        msg_Dbg(obj, "EGL client extensions: %s", ext);
+
     gl->sys = sys;
     sys->display = EGL_NO_DISPLAY;
     sys->surface = EGL_NO_SURFACE;
@@ -459,9 +463,9 @@ static int Open(vlc_gl_t *gl, const struct gl_api *api,
             eglQueryString(sys->display, EGL_VERSION),
             eglQueryString(sys->display, EGL_VENDOR));
 
-    const char *ext = eglQueryString(sys->display, EGL_EXTENSIONS);
+    ext = eglQueryString(sys->display, EGL_EXTENSIONS);
     if (*ext)
-        msg_Dbg(obj, " extensions: %s", ext);
+        msg_Dbg(obj, "EGL display extensions: %s", ext);
 
     if (major != 1 || minor < api->min_minor
      || !CheckAPI(sys->display, api->name))
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/aecc375d02952272d89e59aacf18d19cdc4a6572
-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/aecc375d02952272d89e59aacf18d19cdc4a6572
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
    
    
More information about the vlc-commits
mailing list