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.
Edited by Philippe Normand