gl/utils: also take care of the local GL context in query functions
authorMatthew Waters <matthew@centricular.com>
Thu, 12 Jan 2017 10:35:25 +0000 (21:35 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:26 +0000 (19:32 +0000)
commitceda9dc1aaee32686b6c62ce8a43916e1407af4b
tree16d4bc965cddca980ee090ccbeea6d033ed3d564
parentd00a13f01d0eaf7ffaeb65559df0f7707e1462b9
gl/utils: also take care of the local GL context in query functions

Simplifies a deduplicates a lot of code in elements retrieving/setting
the local OpenGL context.
ext/gl/gstglbasemixer.c
ext/gl/gstglimagesink.c
ext/gl/gstglstereosplit.c
ext/gl/gstgltestsrc.c
ext/gl/gstglutils.h
gst-libs/gst/gl/gstglbasefilter.c
gst-libs/gst/gl/gstglutils.c
gst-libs/gst/gl/gstglutils.h
gst-libs/gst/gl/gstglutils_private.h [new file with mode: 0644]