glupload: dmabuf: support direct upload into external-oes textures
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 12 Feb 2020 17:25:54 +0000 (18:25 +0100)
committerNicolas Dufresne <nicolas@ndufresne.ca>
Mon, 2 Mar 2020 11:07:26 +0000 (11:07 +0000)
commit7849f22cb3b3b0b23b057cecd1db89860dca13ef
tree440f1aa387c971e291d53bb8f6d7eb496bbb4013
parent359e361881ba7b24633f17f0b96f3ac99d527fdd
glupload: dmabuf: support direct upload into external-oes textures

Some drivers support directly importing DMA buffers in some formats into
external-oes textures only, for example because the hardware contains
native YUV samplers.
Note that in these cases colorimetry can only be passed as hints and
there is no feedback whether the driver supports the required YUV
encoding matrix and quantization range.
gst-libs/gst/gl/gstglupload.c