Screen Control Fullscreen ON/OFF

Nizamov Shawkat nizamov.shawkat at gmail.com
Thu Dec 15 07:18:10 EST 2011


> It depends on whether you want sync to vblank or not. If not, that is
> pretty easy - use sleep() or something similar. If you have to use
> sync (screen is always either black or white, never partly black and
> white) then it is much much more difficult. Actually I do not know of
> any way to sync to it.

But you do not have to sync to vblank anyway. So you can turn on
vblank sync for the videocard and then you will have either completely
black or completely white screen at each single time point, but this
will be delayed in regard to what you set in python.

Hope this helps,
S.Nizamov



More information about the Python-list mailing list