gl/mem: allocate the memory per plane
authorMatthew Waters <ystreet00@gmail.com>
Wed, 2 Apr 2014 06:43:52 +0000 (17:43 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:36 +0000 (19:31 +0000)
commit30c6efc432bcb955f5f2dbad5a3b0d55ea96b5c6
treeeb342d4e3832cead1336b08f488196777baa594d
parentea2d4cb446e4c0c5b4d86b105bbac216183c1129
gl/mem: allocate the memory per plane

This patch provides the basic infrastructure required for this.
Upload and Download has been ported to this.

Has the nice effect of allowing GstGLMemory to be our
refcounted texture object for any texture type (not just RGBA).

Should not lose any features/video formats.
14 files changed:
ext/gl/gstglimagesink.c
gst-libs/gst/gl/gstglbufferpool.c
gst-libs/gst/gl/gstglcolorconvert.c
gst-libs/gst/gl/gstglcolorconvert.h
gst-libs/gst/gl/gstgldownload.c
gst-libs/gst/gl/gstgldownload.h
gst-libs/gst/gl/gstglfilter.c
gst-libs/gst/gl/gstglmemory.c
gst-libs/gst/gl/gstglmemory.h
gst-libs/gst/gl/gstglmixer.c
gst-libs/gst/gl/gstglupload.c
gst-libs/gst/gl/gstglupload.h
tests/check/libs/gstglmemory.c
tests/check/libs/gstglupload.c