glmemory: add checking the read implementation format/type on gles2 platforms
authorMatthew Waters <matthew@centricular.com>
Thu, 31 Mar 2016 08:38:12 +0000 (19:38 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:18 +0000 (19:32 +0000)
commit0c2890cd34d9056e4e2b12b13ef85bdd0b6415c4
tree24f2e558e499c532f62f76e1a2ec41aa55927028
parentf1737c8ad77e69dad667d593fb1b2dccb51f3344
glmemory: add checking the read implementation format/type on gles2 platforms

By default, reading GL_RED or GL_RG us unsupported by glReadPixels unless
exposed through GL_COLOR_READ_IMPLEMENTATION_FORMAT/TYPE.  This allows
downloading multiple-planar video frames where possible.
gst-libs/gst/gl/gstglmemory.c