glmemory: add gst_gl_memory_allocator_get_default
authorAlessandro Decina <alessandro.d@gmail.com>
Fri, 18 Dec 2015 02:17:34 +0000 (13:17 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:13 +0000 (19:32 +0000)
commit28dbe4fffc1cf3f48f6ee09f1ceeef26211f4671
tree462fa15fc7f9ddfdd179e25b9bd0e271b0be9e15
parent09677a4d3062f3408484d2862f4888b5a5fd2877
glmemory: add gst_gl_memory_allocator_get_default

Add gst_gl_memory_allocator_get_default to get the default allocator based on
the opengl version. Allows us to stop hardcoding the PBO allocator which isn't
supported on gles2.

Fixes GL upload on iOS9 among other things.
ext/gl/gstgloverlay.c
gst-libs/gst/gl/gstglbufferpool.c
gst-libs/gst/gl/gstglmemory.c
gst-libs/gst/gl/gstglmemory.h
gst-libs/gst/gl/gstgloverlaycompositor.c
gst-libs/gst/gl/gstglupload.c
gst-libs/gst/gl/gstglviewconvert.c