Re: [AD] XIM patch for Allegro 4.1.x

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


Chris wrote:

On Tue, 26 Oct 2004 19:57:25 +0200, Elias Pschernig <elias@xxxxxxxxxx> wrote:
I think it may be connected to the way Allegro flushes the output from
the input thread. I.e. there's a call to XFlush() 100 times / second. A
better approach would be to allow the user to control when XFlush is
called, maybe in release_screen(). Or maybe this is done already - it
needs investigation in any case.

Peter supplied a patch that calls XFlush on release_screen (when the
screen is actually released). Results were promising, although it had
worse performance than just having the programmer call rest(0)
regularly.

I think it's too late for 4.2. But in Bob's new gfx API proposal [I think] there was a display mode that would allow us to only call XFlush when the user swaps the front and back buffers.

Peter




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