[Xorg] Implementing "Xv" extension on DDX which don't supportit in hardware...

Roland Mainz roland.mainz at nrubsig.org
Sun Jul 11 12:28:14 PDT 2004


Alan Cox wrote:
> > Is there a way to implement the "Xv" extension on hardware which doesn't
> > support it (for example Xnest, Xvfb etc.) ?
> 
> I guess since nobody can see the display in Xvfb a "correct"
> implementation would be to offer Xv overlays that have no-op functions
> (and anyone reading back the fb - well its a hardware overlay so you
> dont see the data ;))

Dumb question:
I cannot implement "Xv" in a way like Mesa implements GLX for Xvfb (e.g.
push images via XPutImage()), right ?

Are the "Xv" overlays _required_ to leave the underlying framebuffer
contents intact ?

> For Xnest there is certainly nothing preventing it providing you go off
> and write enough code. Xnest is an Xwindow, that means the Xv layer of
> the master X server is perfectly capable of handling an Xv subwindow in
> the Xnest window - you just have to get all the overlay offsets correct
> and propogate the functionality.

What if the underlying Xserver does not support "Xv" ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)




More information about the xorg mailing list