Roman Nowicki
21ca4ac9d3
qml: proper initialization if scene is already initialized
...
The scene graph can be initialized when the we receive window handle change
notification and so we will not receive a scenegraph initialization
notification. Initialize ourself in this case.
https://bugzilla.gnome.org/show_bug.cgi?id=758337
2015-11-20 09:41:56 +11:00
Matthew Waters
b2718cbd81
gl: be consistent in gobject boilerpate
...
GST_GL_IS_* vs GST_IS_GL_*
git grep -l 'GST_GL_IS_' | xargs sed -i 's/GST_GL_IS_/GST_IS_GL_/g'
2015-10-19 15:15:30 +11:00
Matthew Waters
c6d03bc7d4
qt: add support for building on osx/ios
...
Including:
- Necessary configure checks
- Necessary compile time platform checks
- Necessary runtime qt iOS/OSX platform detection
https://bugzilla.gnome.org/show_bug.cgi?id=755100
2015-10-02 22:29:45 +10:00
Luis de Bethencourt
c95bb94fc2
qtsink: explicitely fallthrough switch statement
...
In case ret is False, fallthrough to default case.
CID #1320705
2015-09-29 13:37:08 +01:00
Luis de Bethencourt
704f97defd
qml: remove overwritten value
...
Value in tex is overwritten before being used. Removing it.
CID 1320715
https://bugzilla.gnome.org/show_bug.cgi?id=754253
2015-09-28 18:17:22 +10:00
Matthew Waters
d47398de3b
qt: add support for building/running on android
...
Including:
- Necessary configure checks
- Necessary compile time platform checks
- Necessary runtime qt android platform detection
- Escaping GLsync definition with Qt's GLES2 implementation
https://bugzilla.gnome.org/show_bug.cgi?id=754466
2015-09-28 16:47:00 +10:00
Matthew Waters
5f8a587ddc
qt: don't use CPPFLAGS for tools that cannot use them
...
For example moc will bail out when given arguments it does not
know about. The moc specific MOC_CPPFLAGS can still be used
to pass flags to moc.
https://bugzilla.gnome.org/show_bug.cgi?id=754466
2015-09-28 16:47:00 +10:00
Matthew Waters
e29df60665
qt: rename library to include gst prefix
...
libqtsink -> libgstqtsink
https://bugzilla.gnome.org/show_bug.cgi?id=754466
2015-09-28 16:47:00 +10:00
Matthew Waters
f1cb602476
gtk, qt: more specifically define the compile time requirements
...
Otherwise we could include headers/configurations that will
never been installed.
https://bugzilla.gnome.org/show_bug.cgi?id=754732
2015-09-10 13:11:06 +10:00
Matthew Waters
579b734346
qt: use our function table instead of directly calling gl functions
...
Otherwise when building with --as-needed we would need to link to
a GL or GLES library.
https://bugzilla.gnome.org/show_bug.cgi?id=754732
2015-09-10 00:33:40 +10:00
Nirbheek Chauhan
e99c591dc9
qmlsink: Ensure that at least one windowing system is available
...
Otherwise, we'll just crash at runtime because the gl context is NULL
https://bugzilla.gnome.org/show_bug.cgi?id=754108
2015-08-31 23:16:07 +01:00
Tim-Philipp Müller
9846984c63
gtk, qt, gl: fix typo in debug and error messages
2015-08-31 18:06:31 +01:00
Matthew Waters
b8bb4cc50f
qml: implement the required multiple GL context synchonisation
...
From GStreamer's GL context into the QML context
2015-08-08 17:30:42 +02:00
Edward Hervey
523edaf6bd
qt: Don't dist files that might not exist
...
We only require moc building at build time.
2015-07-22 15:14:28 +02:00
Edward Hervey
2df392541e
qt: Tidy up makefile a bit more
...
Separate generated files, from disted files
2015-07-22 08:06:19 +02:00
Matthew Waters
e56df237ee
glcontext: fix get_current_gl_api on x11/nvidia drivers
...
They require to get_proc_address some functions through the
platform specific {glX,egl}GetProcAddress rather than the default
GL library symbol lookup.
2015-07-18 18:18:22 +10:00
Edward Hervey
d1ad64fca7
configure/qt: Fix build without Qt5X11Extras
2015-07-10 14:01:59 +02:00
Matthew Waters
b1bbdceeb2
new qt5 qml GL video sink
...
Very much in the same spirit as the Gtk GL sink
Two things are provided
1. A QQuickItem subclass that renders out RGBA filled GstGLMemory
buffers that is instantiated from qml.
2. A sink element that will push buffers into (1)
To use
1. Declare the GstGLVideoItem in qml with an appropriate
objectName property set.
2. Get the aforementioned GstGLVideoItem from qml using something like
QQmlApplicationEngine engine;
engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
QObject *rootObject = engine.rootObjects().first();
QQuickItem *videoItem = rootObject->findChild<QQuickItem *> ("videoItem");
3. Set the videoItem on the sink
https://bugzilla.gnome.org/show_bug.cgi?id=752185
2015-07-10 15:25:26 +10:00