[Bug 763365] glfilterapp not correctly drawing the default scene

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 10 14:39:27 UTC 2016


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

--- Comment #4 from Matthew Waters (ystreet00) <ystreet00 at gmail.com> ---
It's not the only solution however it's the simplest and the rest of libgstgl
essentially requires some kind of shader support so there's no real point
special casing the default handler.

glcolorscale already uses a shader:
https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/ext/gl/gstglcolorscale.c#n147

Your own glfilterapp callback can do whatever it likes given the GstGLContext
provided at the 'context' property.  If you have GL < 3.2 then you can do the
legacy glVertex/glTexCoord calls in your callback and things will work fine (if
they don't, that's a bug ;)).

If you don't connect to the 'client-draw' signal, then the default handler will
run.

-- 
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