surface: add support for GEM buffer exports.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 15 Sep 2014 11:47:53 +0000 (13:47 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 28 Jan 2015 16:35:16 +0000 (17:35 +0100)
commitf3c58d4ef4c2edb776bdd554502ecec8eed21044
tree600e5dbde797364e570ca5b6bf76761b852382f2
parent073d6d59e1a95dedb8c97f66b55f641034e39a0c
surface: add support for GEM buffer exports.

Add support for GEM buffer exports. This will only work with VA drivers
based off libdrm, e.g. the Intel HD Graphics VA driver. This is needed
to support interop with EGL and the "Desktop" GL specification. Indeed,
the EXT_image_dma_buf_import extension is not going to be supported in
Desktop GL, due to the lack of support for GL_TEXTURE_EXTERNAL_OES targets
there.

This is useful for implementing VA/EGL interop with legacy Mesa stacks,
in Desktop OpenGL context.

https://bugzilla.gnome.org/show_bug.cgi?id=736717
gst-libs/gst/vaapi/gstvaapibufferproxy.c
gst-libs/gst/vaapi/gstvaapibufferproxy.h
gst-libs/gst/vaapi/gstvaapisurface_drm.c
gst-libs/gst/vaapi/gstvaapisurface_drm.h