Add DRI3/Present extension support in ximagesink, glimagesink, etc.
@sree
Submitted by Sreerenj Balachandran Link to original bug (#794339)
Description
DRI3 has an extension which allows to convert DRM_PRIME_BUFFER to Pixmap and present it on the screen using "Present" extension.
This could help to do zero-copy pipelines like
VAAPI_decdoe ! ximagesink
MediaSDK_decode ! ximagesink
https://lwn.net/Articles/569701/
This is a PR against intel-vaapi-driver: https://github.com/intel/intel-vaapi-driver/pull/369
Another third-party implementation: https://github.com/intel/gstreamer-media-SDK/blob/master/gst-libs/mfx/x11/gstmfxwindow_x11.c#L469