glbasememory: add a generic interface for allocating GL memories
authorMatthew Waters <matthew@centricular.com>
Wed, 16 Dec 2015 07:13:21 +0000 (18:13 +1100)
committerMatthew Waters <matthew@centricular.com>
Thu, 17 Dec 2015 02:49:55 +0000 (13:49 +1100)
commitbd61e1274ce74f457a5c26cb0c4a0bd915a344fd
treeedaf7750d7b5e72f1eb8228d365f9b9af0e14b71
parent4a587ab162cb5365f7c4367a4bb7c8555dc92991
glbasememory: add a generic interface for allocating GL memories

This is made possible by a subclassable GstGLAllocationParams that holds
the allocation parameters

Every allocation would now go through gst_gl_base_memory_alloc with the
allocation parameters now being specified in a single struct to allow
extension by different allocators.
gst-libs/gst/gl/gstglbasememory.c
gst-libs/gst/gl/gstglbasememory.h