Hi Julien > Are you using SDL or OpenGL mode? The stock event loop is documented
SDL. > at: http://wiki.libagar.org/wiki/Custom_event_loop. Yes. I have seen it. And I see it calls every x cycles AG_WindowDraw(). Somewhere there was a nDirty counter, and I wonder why it is != 0 even though there is no action. Or do I have to remove the "window-showed" event posted by AG_WindowShow() manually ? > The huge RAM usage sounds suspicious, Agar uses very little RAM for > its own purposes. I did some measurements and indeed SDL allocates 155K (w/o FB memory !) whereas Agar only 70K. BTW: The massive use of realloc() is disturbing on fix-buffer allocator systems :( > If you have a hardware-accelerated GL available, > I'd recommend trying Agar-1.4 (svn sources), compiled without SDL. Concerning Agar-1.4, how can I check it out, I've seen no svn-path. (BTW: Why don't you provide a daily/weekly snapshot of the trunk ?) I looked in the branch there the gi looked promissing. But it seems to be canceled in the trunk. A dummy driver like SDL provides would be nice where one can see what minimum function one needs to provide. Anyway: It took me only 2 days porting it, so it is pretty portable ! Regards, -- 42Bastian ------------------ Parts of this email are written with invisible ink. Note: SPAM-only account, direct mail to b...@... _______________________________________________ Agar mailing list [email protected] http://libagar.org/lists.html
