Wishlist: render to OpenGL texture rather than window.

Wouter Verhelst <[email protected]> Thu, 3 Feb 2011 15:59:37 +0100
Newsgroups gmane.comp.video.xine.user
Organization none
Message-ID <[email protected]>
Hi,

I've been looking through the code of the OpenGL video output plugin in
Xine, since I was planning on creating an application that uses OpenGL
but also displays (sometimes small, sometimes large) videos.
Unfortunately, what I want to do doesn't seem to be possible using the
OpenGL output plugin: have Xine decode the video into a texture rather
than into an entire window.

As I understand the code (xine 1.1.19), it looks like a texture is
generated, but that texture is displayed by the plugin unconditionally.

How hard would it be to create the possibility to have the libxine-using
application set up the GL environment and decide where the animated
texture needs to be displayed?

Thanks,

-- 
The biometric identification system at the gates of the CIA headquarters
works because there's a guard with a large gun making sure no one is
trying to fool the system.
  http://www.schneier.com/blog/archives/2009/01/biometrics.html

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb