gstreamer/tests/examples/gl/qt
Julien Isorce b84a2eaf9f gl: rename platform cocoa to cgl
Before:
GST_GL_PLATFORM=cocoa GST_GL_WINDOW=cocoa
gst-launch-1.0 videotestsrc ! glimagesink

After:
GST_GL_PLATFORM=cgl GST_GL_WINDOW=cocoa
gst-launch-1.0 videotestsrc ! glimagesink

but still pass --enable-cocoa to configure script
because currently it can only be used with cocoa API.

We could later have cgl/gstglcontext_cgl.h that manages
a CGLContextObj directly and cocoa/gstglcontext_cocoa.h
would just wrap it.
So that it could be used with other Apple's window APIs.

https://bugzilla.gnome.org/show_bug.cgi?id=729245
2017-12-09 19:31:41 +00:00
..
mousevideooverlay gl/examples: move to -bad 2017-12-09 19:31:38 +00:00
qglwidgetvideooverlay gl/examples: move to -bad 2017-12-09 19:31:38 +00:00
qglwtextureshare gl: rename platform cocoa to cgl 2017-12-09 19:31:41 +00:00
videooverlay gl/examples: move to -bad 2017-12-09 19:31:38 +00:00
Makefile.am gl/examples: move to -bad 2017-12-09 19:31:38 +00:00
README gl/examples: move to -bad 2017-12-09 19:31:38 +00:00

--- Description of the Qt examples ---

- mousevideooverlay:
Show how to use the videooverlay interface through Qt.
The cube is rotating when moving the mouse (+ click maintained)

- qglvideooverlay:
Show how to use the videooverlay interface through Qt.
The cube is rotating automatically into a QGLWidget

- videovdieooverlay:
Show how to use the videooverlay interface through Qt.
The video is displayed as normal 2D scene.
The window is dynamically resized to have the same size as the original video.

--- How to build the Qt examples ---

sudo apt-get install g++
sudo apt-get install libqt4-dev
cd qglvideooverlay
qmake
make
./debug/qglvideooverlay