glbufferpool: add bufferpool options for the various texture targets
authorMatthew Waters <matthew@centricular.com>
Thu, 29 Oct 2015 14:27:36 +0000 (01:27 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:10 +0000 (19:32 +0000)
commit18f9dfdfe550da1831416e85eec7630ce11e9151
treeb68ded29aef56964ed8847825aa56ced9e6e1a7a
parent6141d3fc7e915e4ab5dea03e10f427bcd95e283f
glbufferpool: add bufferpool options for the various texture targets

This was chosen over relying solely on the caps as glupload needs to propose an
allocation and set the texture target based on the output caps.  Setting the
caps in the config is currently pointless as they are overwritten in a lot of
element's decide_allocation functions.

This provides a mechanism for the buffer pool to be configured for a certain
texture target when none has been configured.
gst-libs/gst/gl/gstglbufferpool.c
gst-libs/gst/gl/gstglmemory.c
gst-libs/gst/gl/gstglmemory.h