Tim-Philipp Müller
289d8e53e2
Remove autotools build system
2019-10-13 14:15:43 +01:00
Matthew Waters
9939149933
examples/gl/sdlshare: port to OpenGL 3.0 core profile
2019-10-03 00:18:36 +10:00
Sebastian Dröge
e8edb0eb71
examples/sdlshare: Map video frames as early as possible and wait via GL sync meta before using texture ids
2019-09-30 13:29:58 +03:00
Sebastian Dröge
e750ea40b6
examples/sdlshare: Initialize GL as part of the event loop
...
And unref additional buffers we never use for rendering directly instead
of going via the output queue.
2019-09-30 13:29:58 +03:00
Sebastian Dröge
0bcba6a3ec
examples/sdlshare: Activate and initialize our wrapped GL context
...
This allows us to e.g. use the GL functions vtable on it later.
2019-09-30 13:29:58 +03:00
Sebastian Dröge
9000bc86df
examples/sdlshare: Call gst_init() a bit earlier in main()
...
Let's not accidentally call other GStreamer API before that.
2019-09-30 13:29:58 +03:00
Sebastian Dröge
abc243fee4
examples/sdlshare: Create an OpenGL context for OpenGL 2.0
2019-09-30 13:29:58 +03:00
Sebastian Dröge
eb3699a74b
examples/sdlshare: Switch from a GLib main loop to a normal SDL event loop
2019-09-30 13:29:58 +03:00
Sebastian Dröge
6a5ab50103
examples/sdlshare: Port to SDL2
2019-09-30 13:29:58 +03:00
Sebastian Dröge
b0bd448d37
examples/sdlshare: Move from a fakesink to an appsink
2019-09-30 13:29:35 +03:00
Sebastian Dröge
6f14785c3e
examples/sdlshare: Store buffer queues and loop in a global variable
...
There's no point storing them in GObject data, we already have other
global variables anyway.
2019-09-30 13:29:35 +03:00
Sebastian Dröge
8b891c218f
examples/sdlshare: Bus sync handlers return no value
2019-09-30 13:29:35 +03:00
Sebastian Dröge
9daa7fa663
examples/sdlshare: Fix various memory leaks
2019-09-30 13:29:35 +03:00
Matthew Waters
0863452a79
examples/gl/sdl: only build on glx/wgl systems
...
The code will not work anywhere else.
FIxes https://gitlab.freedesktop.org/gstreamer/gst-build/issues/22
2019-04-04 14:06:48 +00:00
Tim-Philipp Müller
6c2893d00a
examples: gl: remove old and broken vs solution files
2018-09-19 10:54:25 +01:00
Nirbheek Chauhan
eadedc68f8
meson: Add feature options for all plugins
...
GL dependency detection is still automagic.
https://bugzilla.gnome.org/show_bug.cgi?id=795107
2018-07-27 18:42:11 +05:30
Pierre Labastie
65c987b495
examples: gl: sdl: link to the right in-tree libgstvideo
...
https://bugzilla.gnome.org/show_bug.cgi?id=796082
2018-05-13 23:31:22 +01:00
Tim-Philipp Müller
8227135f3b
gl: hook up to build system
...
Tests and documentation will follow separately.
The mixer elements in the opengl plugin need to stay
in -bad for now since they use GstVideoAggregator.
https://bugzilla.gnome.org/show_bug.cgi?id=754094
2017-12-19 12:01:48 +00:00
Tim-Philipp Müller
59fe9c9122
gl: remove GST_USE_UNSTABLE_API bits
2017-12-19 12:01:37 +00:00
Nicolas Dufresne
ecab99a7a9
sdlshare: Destroy GL backend buffer before the GL Context
...
This was otherwise leading to a deadlock in the GL library.
2017-12-09 19:32:31 +00:00
Nicolas Dufresne
9e208ba0b6
sdlshare2: Fix race conditions
...
The client-draw callback is running on the GL Thread, which will
be required to map the buffer. Map early, and pass the mapped
frame instead. On top of that, make sure to signal any pending
draw before trying to push EOS, as some pad locks might be taken.
This is the cost of using the same thread to control GStreamer and
to render GL.
2017-12-09 19:32:31 +00:00
Nicolas Dufresne
dea918a835
meson: Build gl/sdl examples
2017-12-09 19:32:31 +00:00
Tim-Philipp Müller
996b8c746f
examples: gl: remove ancient bitrotten .vcproj files
2017-12-09 19:32:28 +00:00
Matthew Waters
18ac98c58b
gl: GST_GL_TYPE -> GST_TYPE_GL
...
Some deprecated symbols are kept for backwards compatibility
2017-12-09 19:32:23 +00:00
Julien Isorce
8ca59af389
gl/examples: add sdlshare2 that uses glimagesink to output textures
...
https://bugzilla.gnome.org/show_bug.cgi?id=739681
2017-12-09 19:31:58 +00:00
Julien Isorce
0f90283520
sdlshare: use glupload and unmap frame
2017-12-09 19:31:58 +00:00
Matthew Waters
b99d53e0ff
gl/examples: fixup sdl example for gluPerspective removal
2017-12-09 19:31:51 +00:00
Matthew Waters
892d056a44
gl: remove the use of glu
2017-12-09 19:31:51 +00:00
Matthew Waters
6811c39ff9
gl/examples: update for other-context property removal
2017-12-09 19:31:49 +00:00
Руслан Ижбулатов
7c62b9ceaa
gl: Reorder CFLAGS to include in-source dirs first in examples
...
https://bugzilla.gnome.org/show_bug.cgi?id=733426
2017-12-09 19:31:44 +00:00
Matthew Waters
c3fb73335f
gl/examples: add GST_PLUGINS_BASE_CFLAGS
2017-12-09 19:31:43 +00:00
Matthew Waters
21e9ad2b8e
gl/examples: add the srcdir and builddir includes
...
And remove references to $(GST_PLUGINS_GL_*)
2017-12-09 19:31:42 +00:00
Jan Schmidt
6b1b6d25de
gl/sdl example: Fix uninstalled build
2017-12-09 19:31:38 +00:00
Matthew Waters
84459c386b
gl/examples/sdl: update for the latest gstgl changes
2017-12-09 19:31:38 +00:00
Matthew Waters
05bfd277a8
gl/examples: move to -bad
...
- fix all the compiler errors
- give them their own gl directory
2017-12-09 19:31:38 +00:00