summaryrefslogtreecommitdiff
path: root/ext/qt/qtitem.cc
Commit message (Collapse)AuthorAgeFilesLines
* qml: Mark material dirty when texture buffer is updatedSergey Borovkov2016-01-151-0/+1
| | | | | | Qt might not redraw the scene otherwise. https://bugzilla.gnome.org/show_bug.cgi?id=758286
* qml: reuse existing GstQSGTextureRoman Nowicki2015-11-201-4/+2
| | | | | | Fixes a memory leak leaking the texture objects. https://bugzilla.gnome.org/show_bug.cgi?id=758286
* qml: proper initialization if scene is already initializedRoman Nowicki2015-11-201-1/+5
| | | | | | | | 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
* gtk, qt: more specifically define the compile time requirementsMatthew Waters2015-09-101-2/+2
| | | | | | | Otherwise we could include headers/configurations that will never been installed. https://bugzilla.gnome.org/show_bug.cgi?id=754732
* qmlsink: Ensure that at least one windowing system is availableNirbheek Chauhan2015-08-311-2/+2
| | | | | | Otherwise, we'll just crash at runtime because the gl context is NULL https://bugzilla.gnome.org/show_bug.cgi?id=754108
* gtk, qt, gl: fix typo in debug and error messagesTim-Philipp Müller2015-08-311-3/+3
|
* qml: implement the required multiple GL context synchonisationMatthew Waters2015-08-081-2/+5
| | | | From GStreamer's GL context into the QML context
* glcontext: fix get_current_gl_api on x11/nvidia driversMatthew Waters2015-07-181-2/+2
| | | | | | They require to get_proc_address some functions through the platform specific {glX,egl}GetProcAddress rather than the default GL library symbol lookup.
* configure/qt: Fix build without Qt5X11ExtrasEdward Hervey2015-07-101-3/+3
|
* new qt5 qml GL video sinkMatthew Waters2015-07-101-0/+491
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