Commit graph

20 commits

Author SHA1 Message Date
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
Sebastian Dröge
c4426a49db examples: Only build RPi EGL example if RPi was chosen as target 2014-03-12 12:43:49 +01: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
Josep Torra
02e4873651 examples: drop remnants of initial appsink attempt 2013-09-20 17:44:42 +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