Hi all,

I have played with ggi for some days yet, now I'm wondering about
rewrite some of our applications with ggi. I currenty use SDL to display
some simple animations, but the SDLUpdateRects() function doesn't care
about vertical retrace sync in such an accurate manner I need. I think
ggi can be the altenative, because libggimisc does exactly what I need
(and it work for me). The SDL programs work in this way: allocate some
VRAM surfaces and draw some primitives onto it (e.g. lines, circles,
load bitmaps etc.), blit them around using SDLs blitting facilities,
update chaneged areas on screen with the restriction regarding to
retrace sync. Now my question is if this could be implemented with ggi
in a similar way, maybe using GGIAlloc (?) to create videosurfaces,
blitting them with respect to retrace sync. But the docs said that there
are currently no blitting functions for ggi (LibBlit is planned). Are
there a way to use video hardwaresurfaces to generate simple animations
with ggi (and which functions are provided)? Or must every frame be
redrawn with ggis primitives? 

Maybe another possibility is to alter SDLs UpdateRects function to work
with ggimisc, but I haven't looked at SDLs code yet. 

Any suggestions are appreciated. By, Sven

Reply via email to