[Libva] vaCreateSurfaceGLX on psb fails (due lack of GLX_EXT_texture_from_pixmap)

Adam Strzelecki ono at java.pl
Fri Feb 12 07:46:53 PST 2010


> You would need either TFP extension or vaCreateSurfaceGLX/vaCopySurfaceGLX supported in the PSB driver in order to get the decoded video into the OpenGL pipeline.  Before this happens, the only way of doing blended UI is through subpictures.

Jonathan, this is what I was afraid of. Do you have any rough estimates when/if we can expect updated driver for PSB? I know it was expected for Moblin 2.1, but we are now in 2010 and still no news about new driver. Frankly I was bit surprised that vaCreateSurfaceGLX/vaCopySurfaceGLX do not work with PSB. Both OpenGL textures and vaSurfaces are internally just porinters to blocks of memory supervised by graphic chip, so I thought that vaSurface should be available as OpenGL texture straightahead, only thing needed is some binding between vaSurfaceID and OpenGL texture ID.

> Gwenole had some comments on the various ways of doing UI recently: http://lists.freedesktop.org/archives/libva/2010-January/000140.html

Yes, I saw that post. Unfortunately we have quite advanced OpenGL 2D GUI, and with subpictures all I can get is some overlays onto rendered video surfaces, this is not enough as I got quite opposite scenario here with multiple video streams (4-9) embedded into semi-transparent OpenGL GUI (menus, lists, widgets). Regular version uses OpenGL textures fed by glTexImage2D with data from software codec.

Now I was about port the decoding part to VA API, but I am stuck.

Regards,
-- 
Adam | nanoant.com


More information about the Libva mailing list