gl: add a base memory object
authorMatthew Waters <matthew@centricular.com>
Mon, 14 Dec 2015 01:59:02 +0000 (12:59 +1100)
committerMatthew Waters <matthew@centricular.com>
Mon, 14 Dec 2015 02:55:16 +0000 (13:55 +1100)
commit27e724df8f0b7bb0d98a6c1589777633b3dadcba
treef0378e068882320e9f49ecb02ca08abc1865efab
parent51636b451c389d8a6fb48c37934dfbc39d7b8b70
gl: add a base memory object

It handles the following
- GstAllocationParams -> gst_memory_init transformation
- Makes sure that map/unmap/create/destroy happen on the GL thread with
  a GL context current.
- Holds a possible sysmem accessible data pointer with alignment.
- Holds the need upload/download transfer state
gst-libs/gst/gl/Makefile.am
gst-libs/gst/gl/gl.h
gst-libs/gst/gl/gstgl_fwd.h
gst-libs/gst/gl/gstglbasememory.c [new file with mode: 0644]
gst-libs/gst/gl/gstglbasememory.h [new file with mode: 0644]