2008-12-07, 23:56
malloc Wrote:Have you tried a mailinator email address?
It does appear that they support alpha, but it would still be a pain to implement without writing to a gl texture. They may not support that for security (drm) reasons.
LOL, no dice with mailinator. Also, I found this here --> http://www.mail-archive.com/[email protected]
Quote:>> * Defines an API for compositing sub-picture, on-screen display,
>> and other UI elements.
>
> I assume this indicates that video can easily be used as textures for opengl
> surfaces, and that opengl surfaces (with alpha transparency support) can
> easily be superimposed over video output?
Yes. The VDPAU presentation queue can be created wrt any X drawable.
So you should be able have VDPAU deliver final frames to an X pixmap,
and then use the GLX_EXT_texture_from_pixmap extension to texture from
that pixmap. Note: there is not yet an API in place for synchronizing
between VDPAU and OpenGL, so this would be somewhat racy today.