On Friday 13 January 2006 02:30, Timothy Miller wrote: > in/out between the host and the graphics memory. Also, I get the > impression that some video players bypass X11 and get direct access to > the framebuffer somehow, and that won't be a problem here.
MPlayer does this for some cards atleast, via mga_vid for matrox cards, and vidix for other cards. Basically does direct hardware access, sets up the overlay, maps the YV12 framebuffer straight into MPlayer, behind X's back. It sounds dangerous, and it does strange things to OpenGL textures if you have any OpenGL programs running at the time, but doesn't seem to crash or confuse X at all, amazingly. This direct access apparently gives enough speed boost (you avoid an extra memcpy of each frame compared to going via X and Xv) that DVDs and other files become playable on some machines that lack the power to play via Xv. _______________________________________________ Open-graphics mailing list [email protected] http://lists.duskglow.com/mailman/listinfo/open-graphics List service provided by Duskglow Consulting, LLC (www.duskglow.com)
