Commit graph

22 commits

Author SHA1 Message Date
Matthew Waters
b4f3e4094b examples/testegl: update for libgstgl changes 2017-01-18 15:23:41 +11:00
Gwang Yoon Hwang
27d2cdd45d omxvideodec : Use gstglmemoryegl for the RPi
Modified to use gstglmemoryegl to avoid texture creation/copy operations
at the glupload.

[Matthew Waters]: gst-indent the sources and port testegl to GstGLMemoryEGL

https://bugzilla.gnome.org/show_bug.cgi?id=760918
2016-05-04 13:42:23 +10:00
Matthew Waters
705d7722fb examples: update egl example for gstgl API changes
https://bugzilla.gnome.org/show_bug.cgi?id=762053
https://bugzilla.gnome.org/show_bug.cgi?id=753917
2016-02-17 20:59:58 +11:00
Vineeth TM
fb95ce9bfc gst-omx: Fix memory leaks when context parse fails
When g_option_context_parse fails, context and error variables are not getting free'd
which results in memory leaks. Free'ing the same.

And replacing g_error_free with g_clear_error, which checks if the error being passed
is not NULL and sets the variable to NULL on free'ing.

https://bugzilla.gnome.org/show_bug.cgi?id=753865
2015-08-20 11:33:58 +03:00
Sebastian Dröge
4d61049041 examples: #define GST_USE_UNSTABLE_API for libgstgl 2014-06-30 15:00:54 +02:00
Julien Isorce
3d0b891e42 testegl: do matrix mutlplication in the shader
See https://bugzilla.gnome.org/show_bug.cgi?id=728940
2014-06-25 10:50:54 +01:00
Julien Isorce
91c6e34217 testegl: add a comment for the parse command
See https://bugzilla.gnome.org/show_bug.cgi?id=728940
2014-06-25 10:50:54 +01:00
Julien Isorce
31cd1fd77b testegl: convert code from GLESv1 to GLESv2
See https://bugzilla.gnome.org/show_bug.cgi?id=728940
2014-06-25 10:50:54 +01:00
Julien Isorce
f1c76ef921 testegl: port to gstgl API
- append a glfilter just before fakesink
  So that we get gltexture or eglimages

- propagate our EGLDisplay to the pipeline
  see GST_QUERY_CONTEXT

- share our EGLContext with the iternal gl context
  of the pipeline, see GST_QUERY_ALLOCATION

- use GstVideoGLTextureUploadMeta to upload
  the incoming gltexture or eglimage to our gl texture

TODO: convert from GLESv1 to GLESv2

See https://bugzilla.gnome.org/show_bug.cgi?id=728940
2014-06-25 10:50:54 +01:00
Josep Torra
718fd1bb93 omxvideodec: Implement pipeline draining to support adaptive scenarios
When draining due a format change also drain
the pipeline to reclaim back all buffers.

https://bugzilla.gnome.org/show_bug.cgi?id=726107
2014-03-28 11:40:20 +00:00
Josep Torra
5724df7523 examples: fix several memory leaks in the testegl example
Ensure to call to image_data_free in order to release GPU resources.
Also ensure to destroy EGLImage and GLTexture from proper
thread/context.

https://bugzilla.gnome.org/show_bug.cgi?id=726107
2014-03-28 11:40:20 +00:00
Julien Isorce
6995b4d5b3 examples: keep a ref on the buffer instead of the memory
Like in eglglessink

https://bugzilla.gnome.org/show_bug.cgi?id=726107
2014-03-28 11:40:20 +00:00
Josep Torra
6962aa5d4c examples: avoid a clashing name with the recently added GstEGLImagePool
Fixes build with current master.
2014-03-05 21:18:43 +01:00
Josep Torra
244320fe48 examples: simplify the thread synchronization code
Make everithing more simple and fix the races conditions remaining in
the previous approaches.
2013-09-28 14:14:54 +02:00
Josep Torra
a628153260 examples: fix another race condition
Fix a race condition that caused randome deadlocks on EOS.
2013-09-24 18:54:23 +02:00
Josep Torra
aa21522afb examples: fix a race condition when seeking
Fixes a race condition that caused pipeline deadlock during seeks.
2013-09-20 18:50:26 +02:00
Josep Torra
995e3af89a examples: display QoS statistics 2013-09-20 18:22:43 +02:00
Josep Torra
e6633182f3 examples: use dedicated thread for rendering the scene
Produces smother animation and prevents dropping frames due busy
mainloop.
2013-09-20 18:17:34 +02:00
Josep Torra
78dc6235d4 examples: don't force an specific audio sink
Let playbin2 choose the audiosink available in the system.
2013-09-20 17:52:45 +02:00
Ilya Smelykh
75ee954ea2 examples: enable audio in testegl example 2013-07-01 12:59:35 +02:00
Ilya Smelykh
4593918ea4 examples: testegl example port to 1.x
https://bugzilla.gnome.org/show_bug.cgi?id=701706
2013-06-11 13:49:59 +02:00
Josep Torra
c10031f371 examples: add an example aplication based OpenGL ES + EGL
Application that shows how to integrate playbin with an OpenGL ES
scene through EGL. Renders a video on the surfaces of an animated cube.

The code is not ported to 1.x so it's not built by default.
2013-05-10 13:35:48 +02:00