[Bug 746632] dispmanx: surfaceless EGL context support broken

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 23 04:24:30 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=746632

Julien Isorce <julien.isorce at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |julien.isorce at gmail.com

--- Comment #6 from Julien Isorce <julien.isorce at gmail.com> ---
After discussion on IRC the plan is to follow this:
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-libs/gst/gl/egl/gstglcontext_egl.c#n383

I.e if other_context is NULL then we create the window. Otherwise we assume it
is offscreen. (All offscreen follows createContext(other not null), onscreen is
the most downstream or from app created like this: createContext(other is
null))

So please in gst_gl_window_dispmanx_egl add the function: 
"gst_gl_window_dispmanx_egl_create_window" as it is done x11 and wind32. In
this function you create the dispmanx element unvisible (I hope the unvisible
is possible)
Invisible means that get_window_handle still returns a valide handle.
Then gst_gl_window_dispmanx_egl_draw does not make it visible. Only
gst_gl_window_dispmanx_egl_show must make it visible.

Then add a dispmanx case in the line pointed above.

That should cover all the cases.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list