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)
committerAlessandro Decina <alessandro.d@gmail.com>
Fri, 18 Dec 2015 03:25:32 +0000 (14:25 +1100)
commit6961945110465940294d1cdfc33532c76aa85f2d
tree7db1515eb893f424a1f176b1232eff5dfa97a693
parenta3ebe19d8704200d6c2371b6c4a5a4efe1484643
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
sys/applemedia/videotexturecache.m