glmemory: base classify and add the pbo memory on top
authorMatthew Waters <matthew@centricular.com>
Mon, 14 Dec 2015 02:43:59 +0000 (13:43 +1100)
committerMatthew Waters <matthew@centricular.com>
Mon, 14 Dec 2015 05:35:32 +0000 (16:35 +1100)
commit2b7495bbc1ee60c0fa52c980daf440d45ae48d37
tree7d6fc31ce976609988065d7439b51469eefc14a8
parent6cf8da132b6eb75084871ac4409356be62537b2f
glmemory: base classify and add the pbo memory on top

The base class is useful for having multiple backing memory types other
than the default.  e.g. IOSurface, EGLImage, dmabuf?

The PBO transfer logic is now inside GstGLMemoryPBO which uses GstGLBuffer
to manage the PBO memory.

This also moves the format utility functions into their own file.
20 files changed:
docs/libs/gst-plugins-bad-libs.types
ext/gl/gstgldownloadelement.c
ext/gl/gstgloverlay.c
ext/qt/gstqsgtexture.cc
gst-libs/gst/gl/Makefile.am
gst-libs/gst/gl/gl.h
gst-libs/gst/gl/gstgl_fwd.h
gst-libs/gst/gl/gstglbufferpool.c
gst-libs/gst/gl/gstglcolorconvert.c
gst-libs/gst/gl/gstgldisplay.c
gst-libs/gst/gl/gstglformat.c [new file with mode: 0644]
gst-libs/gst/gl/gstglformat.h [new file with mode: 0644]
gst-libs/gst/gl/gstglmemory.c
gst-libs/gst/gl/gstglmemory.h
gst-libs/gst/gl/gstglmemorypbo.c [new file with mode: 0644]
gst-libs/gst/gl/gstglmemorypbo.h [new file with mode: 0644]
gst-libs/gst/gl/gstgloverlaycompositor.c
gst-libs/gst/gl/gstglupload.c
gst-libs/gst/gl/gstglviewconvert.c
tests/check/libs/gstglmemory.c