On Mon, 2002-09-30 at 22:14, Alex Deucher wrote:
> I'm pretty unfamiliar with OpenGL programming.  I have an idea for an
> xfree module that I suspect would not be too hard to implement, but I
> wanted to get some other opinions on it.  What I'd like to do is
create
> a module called perhaps ogl-xv or glx-xv that would provide a generic
> Xv adapter on the front end and on the back end would implement it
> using openGL calls to basically create an RGB or YUV texture to
render
> the video to.

One problem I see is that the X server currently can't use 3D
acceleration with the DRI; that would also be a way to achieve
accelerated indirect rendering, so it would definitely be a worthwhile
project though.

Unless I'm missing something, couldn't the module just be an openGL
client?  I've been looking at the v4l Xv module.  I was envisioning a
solution where I would just adapt the existing module and replace the
hardware specific code with OpenGL code to create a texture for the
video to render to.  in that sense the module would just be either a
DRI client (if it was available) or a Mesa client if the actual X
server didn't support DRI.  or perhaps I've just way off...


> this would have the advantage of acceleration on cards with
accelerated
> 3D, and would provide generic Xv support to cards lacking an overlay
> engine by using SW mesa,

But that might be slower than not using Xv at all.

> and it could provide for more than one Xv adapter, so you could
> theoretically have more than one Xv at a time.

That would certainly be nice, although one adapter seems to be enough
usually.

yeah usually, but another use for the second head of a dual head card. 
it'd be nice to have Xv on the second head.



__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to