Re: [AD] Allegro 4.2 planning

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


On Thu, 2004-10-21 at 18:16 +1000, Peter Wang wrote:
> Elias Pschernig wrote:
> 
> >We really should find out how other programs like
> >xmame can use DGA2 without running as root.
> >  
> >
> That's news to me.  But I think you're wrong :)
> 

Yes, seems so - I probably got the impression it uses DGA2 since it runs
so much smoother than Allegro.

And I got to another problem with my 2 displays allegro now (which I
somehow think you also mentioned as well) - if I call XFlush in the
window_redrawer, it gets very slow. If I call XFlush from the events
thread, this defeats the whole purpose. If I don't call it, there's no
updates of the gfx display :P

So this needs some further modifications. I don't see a solution right
now though - might have to look how SDL does it. Probably their
"SDL_UpdateRects" directly calls XFlush, and there's no implicit
updating as with Allegro - so this would be the end of the 2 displays
idea :P

-- 
Elias Pschernig





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