testegl: port to gstgl API
authorJulien Isorce <julien.isorce@collabora.co.uk>
Fri, 25 Apr 2014 12:21:59 +0000 (13:21 +0100)
committerJulien Isorce <julien.isorce@collabora.co.uk>
Wed, 25 Jun 2014 09:50:54 +0000 (10:50 +0100)
commitf1c76ef92112acc7855d5715ac149a3620559f6a
tree7edf41fa7eb5e9168a82bc6c8e6886f7f4ff75a1
parent4593f434a06d8d3b46338e0762e93c558ea4e58d
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
examples/egl/Makefile.am
examples/egl/testegl.c