Re: [AD] X-windows screen updates

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> I discovered that direct drawing to the screen is slower because
> the screen is updated every time someting is drawn onto it. I think that
> we can use the acquire_screen / release_screen functions to tell the
> X-windows driver not to update the screen (acquire_screen = stop
> updating the screen, release_screen = update the screen and go back to
> usual behaviour).

That's exactly the way the DirectDraw windowed driver (and soon the GDI
driver) works.

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/