glmemorypbo: only create a pbo memory if the context actually supports it
authorMatthew Waters <matthew@centricular.com>
Wed, 30 Dec 2015 01:11:09 +0000 (12:11 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:14 +0000 (19:32 +0000)
commit5aca58ce86da1809ad96f13757abe03ff35db3bc
treef446f8891d487370d7b42205f9e37b84284ffd4f
parent3695ab353d06b3ea69fcf30ad2ca804a1644cd37
glmemorypbo: only create a pbo memory if the context actually supports it

e.g. GL <= 2.0 does not support pbo usage and GL 2.1 only supports pbo upload.
gst-libs/gst/gl/gstglmemorypbo.c