gl: New pushsrc-based glbasesrc base class
authorPhilippe Normand <philn@igalia.com>
Wed, 7 Aug 2019 15:15:40 +0000 (16:15 +0100)
committerPhilippe Normand <philn@igalia.com>
Tue, 20 Aug 2019 08:51:05 +0000 (09:51 +0100)
commit8d122f21ad66a340205cda8342c473922cf0b8eb
treef93b95581b9ceda419ac4927508ec868d8942e85
parent8478aa7aed5e8fff021501cb4986bcd20f062e6c
gl: New pushsrc-based glbasesrc base class

The gltestsrc element was refactored to inherit from this base class which
handles the GL context. The sub-class only needs to implement the gl_start,
gl_stop and fill_gl_memory vfuncs, along with properly advertizing the GL APIs
it supports through the supported_gl_api GstGLBaseSrc class attribute.
ext/gl/gltestsrc.c
ext/gl/gstgltestsrc.c
ext/gl/gstgltestsrc.h
gst-libs/gst/gl/Makefile.am
gst-libs/gst/gl/gl.h
gst-libs/gst/gl/gstgl_fwd.h
gst-libs/gst/gl/gstglbasesrc.c [new file with mode: 0644]
gst-libs/gst/gl/gstglbasesrc.h [new file with mode: 0644]
gst-libs/gst/gl/meson.build