gl: add a base memory object
authorMatthew Waters <matthew@centricular.com>
Mon, 14 Dec 2015 01:59:02 +0000 (12:59 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:12 +0000 (19:32 +0000)
commitaf7015602a826009b6c333968614297879761412
tree91a85831a7383c50d4a2e8b4a74eecc58c695275
parentcaee3e41f91d4904822d4b05071c7634327c6aa8
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]