(In reply to Jean-Yves Avenard [:jya] from comment #14)
> (In reply to martin from comment #13)
>
> VAAPI has an API to map a VAAPI surface to an OpenGL surface, it could then
> be drawn without having to first copy it to software.
> Though, IIRC, Intel was talking about deprecating that API so that you must
> go through the VAAPI framework to draw the surface. If they did that, we
> would have to do the same work as we need for VDPAU
(In reply to Jean-Yves Avenard [:jya] from comment #14)
> (In reply to martin from comment #13)
>
> VAAPI has an API to map a VAAPI surface to an OpenGL surface, it could then
> be drawn without having to first copy it to software.
> Though, IIRC, Intel was talking about deprecating that API so that you must
> go through the VAAPI framework to draw the surface. If they did that, we
> would have to do the same work as we need for VDPAU
If you are talking about this api:http:// cgit.freedeskto p.org/vaapi/ libva/tree/ va/egl/ va_egl. h,
Then yes, it is not implemented in driver.
But there are other ways to map deocoded va sufaces to eglimage through dmabuf and vaAcquireBuffer Handle.
A detailed implementation with comments here: https:/ /github. com/01org/ gstreamer- vaapi/blob/ master/ gst-libs/ gst/vaapi/ gstvaapisurface _egl.c
Anther implementation for the same here: https:/ /github. com/01org/ libyami/ blob/master/ egl/egl_ vaapi_image. cpp