mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
glcontextegl: only dump configs once
This commit is contained in:
parent
d6ae44b1d0
commit
76f99f803b
1 changed files with 2 additions and 2 deletions
|
@ -409,8 +409,6 @@ gst_gl_context_egl_choose_config (GstGLContextEGL * egl, GstGLAPI gl_api,
|
|||
EGLint config_attrib[20];
|
||||
EGLint egl_api = 0;
|
||||
|
||||
gst_gl_context_egl_dump_all_configs (egl);
|
||||
|
||||
create_context =
|
||||
gst_gl_check_extension ("EGL_KHR_create_context", egl->egl_exts);
|
||||
/* silence unused warnings */
|
||||
|
@ -602,6 +600,8 @@ gst_gl_context_egl_create_context (GstGLContext * context,
|
|||
|
||||
egl->egl_exts = eglQueryString (egl->egl_display, EGL_EXTENSIONS);
|
||||
|
||||
gst_gl_context_egl_dump_all_configs (egl);
|
||||
|
||||
if (gl_api & (GST_GL_API_OPENGL | GST_GL_API_OPENGL3)) {
|
||||
GstGLAPI chosen_gl_api = 0;
|
||||
gint i;
|
||||
|
|
Loading…
Reference in a new issue