You should read the code in:

xc/programs/Xserver/hw/xfree86/common/xf86xv.c

in order to understand the architecture of Xv. This is the di part of
Xv. If you properly implement the dd parts of Xv by populating the dd
function pointers in the adaptor section with routines specfic to your
device I think you will discover your driver will be notified to
stop/start video, save/restore state, etc. all at the right moments.

When you say your "Xv code" I trust you mean you are implementing the dd
part of Xv in your driver and not trying to implement Xv at a level
higher than the device.


On Wed, 2003-01-15 at 19:03, Tan Wei Chong wrote:
> Dear all,
> 
> What exactly happen during a VT switching with say Ctrl-Alt-F2 ?
> I mean how does the Xserver yield all its control over the display device such as 
>its access to frame buffer or overlay to console ?
> Let say I have an application that continue to pump in video frame to the overlay 
>after the VT switch what would happen ?
> I ask this because I'm curious about what happen to my Xv code when the user do a VT 
>switch ?
> 
> Thanks,
> Wei Chong.
> -- 
> _______________________________________________
> Get your free email from http://www.bsdmail.com
> 
> Powered by Outblaze
> _______________________________________________
> Devel mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/devel


_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to