Julien

>>> Are you using SDL or OpenGL mode? The stock event loop is documented
>> SDL.
> 
> So there is no GL available? 

No, as for most embedded devices :) (At least I have seen no
ColdFire,ARM or PowerPC device with a GL chip :-)

>>> 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 ?
> 
> Yes, this is the expected behavior. nDirty is the number of video
> regions queued for update. There is no need to remove events manually.

Yes, in a way. But I just compared with a commercial GUI (PEG+). After
everything is rendered, no further updates are made until on of the
widgets got an event (focus, change of style etc.).

So I wonder, why does Agar assume it has to re-draw the window ?

> The svn path is listed on the agar "Download" page:
> http://dev.hypertriton.com/agar/trunk

Ah, I did not know I can feed svn with this path (I am a cvs user).
Anyway, wget was my friend :-)

> All SDL
> code is now encapsulated in gui/drv_sdlfb.c and drv_sdl_common.c, and new
> drivers should be added to gui/drv.c.

I am checking if it eases porting ...

-- 
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

Reply via email to