After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 754094 - [PLUGIN-MOVE] move gtk + qml plugins to -good
[PLUGIN-MOVE] move gtk + qml plugins to -good
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: 1.13.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on: 774657
Blocks:
 
 
Reported: 2015-08-25 19:45 UTC by Nicolas Dufresne (ndufresne)
Modified: 2018-02-12 19:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicolas Dufresne (ndufresne) 2015-08-25 19:45:24 UTC
Within 1.7 development branch, it would be nice to start looking at the GstGL API. Reviewing, removing anything that is not strictly needed and making API consistent.

An example API that could be removed is gst_upload_release_buffer(), this could remain internal, having to explictly release an internal buffer makes very little sense with the few refactoring that happened.

There is other places where we may want to improve the API.
Comment 1 Matthew Waters (ystreet00) 2016-11-10 09:14:08 UTC
Is there anything specific you're looking to change now?
Comment 2 Matthew Waters (ystreet00) 2016-11-10 09:38:23 UTC
Repurposing for the move to -base :)
Comment 3 Tim-Philipp Müller 2016-12-13 13:57:32 UTC
What's the status of this now?

Is gl ready to be moved? Both plugin and lib?

Is the lib API okay to be stable?
Do we have padding in public structs?
Documentation?
Comment 4 Matthew Waters (ystreet00) 2016-12-14 08:12:04 UTC
Yes to all of those.

The only thing that may be needed is a last look over the documentation.

I would like another set of eyes to have a look though and double check all of that.
Comment 5 Julien Isorce 2016-12-14 14:30:06 UTC
Hi Matthew, what about:

/* FIXME: remove */
GST_EXPORT
void gst_gl_context_thread_add (GstGLContext * context,
    GstGLContextThreadFunc func, gpointer data);

?

Also I think all TODO/FIXME field should be moved to .c instead of h.

Cheers
Julien
Comment 6 Matthew Waters (ystreet00) 2016-12-15 02:23:58 UTC
That's not going away anytime soon unfortunately.  Fixing that is measured in months of effort is effectively a rewrite of *everything*.
Comment 7 Matthew Waters (ystreet00) 2016-12-15 02:34:43 UTC
All of the FIXME/TODO's in the header files will either be removed on moving to -base or don't really make sense in the .c files.
Comment 8 Julien Isorce 2017-01-10 15:59:01 UTC
Also a quick way to find nits are using these 2 links:

https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-libs/html/gl.html
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/

I think for elements that already existed in 0.10, the pipeline example on top of the .c file should be updated or does not work (see glfilterglass for example, the mentioned pipeline gets stuck or see https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-glimagesink.html the text should be deleted or at least now FBO is required always)

Here:
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-libs/html/gst-plugins-bad-libs-GstGLAPI.html
GST_GL_API_GLES1_NAME ->GST_GL_API_NAME_GLES1 etc...

Missing title next to GstGLDisplayWayland /X11 on pagehttps://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-libs/html/gl.html

Sorry I cannot do more at the moment.
Comment 9 Matthew Waters (ystreet00) 2017-01-11 05:17:46 UTC
Thanks for the comments :).

docs can always be changed/added later.  This is more about the API/ABI interface which once set, cannot change.

Also, a FBO isn't required for uploading RGBA buffers so that comment is still valid.  Currently the lower limitation on the OpenGL version is on requiring OpenGL shaders.
Comment 10 Jeremy Bicha 2017-10-31 23:30:47 UTC
What's blocking this move?

The latest stable release of webkitgtk (2.18) uses gstreamergl by default. Because Ubuntu won't include the -bad plugins by default, Ubuntu has to disable that support which is strongly discouraged by the webkitgtk developers.
Comment 11 Tim-Philipp Müller 2017-10-31 23:43:29 UTC
Last checks, thumbs up from Matt.

Still planned for this cycle landing in 1.14 (which should be out in time for 18.04).
Comment 12 Tim-Philipp Müller 2017-12-19 21:53:36 UTC
gstgl is now in -base - retitling (since I can't be bothered to clone new bugs).

Not sure what the state of gtk / qml is.
Comment 13 Sebastian Dröge (slomo) 2018-01-16 15:50:39 UTC
Should be fine to move both. The API of the elements is simple enough not it seems safe to stabilize. They work and they probably have bugs like all other code.
Comment 14 Sebastian Dröge (slomo) 2018-01-17 10:27:15 UTC
Should IMHO also happen before 1.14
Comment 15 Tim-Philipp Müller 2018-02-12 19:03:03 UTC
Done.