On 2000/Apr/19, Andrew Apted wrote:

> Like SDL's "surfaces" ?  I.e. non-visible places to draw stuff, maybe
> blitting them to the visible screen/window at some stage, right ?
> 
> LibGGI has nothing like that yet (I hope it will someday).  The
> closest it comes is either using a large virtual area and drawing in
> the off-screen parts, or using multiple frames and drawing in the
> non-visible frame(s) using ggiSet{Read,Write}Frame.

        It isn't so simple. In most cases the offscreen video memory won't
be enough for you, so, some bitmaps will be there and some other not. There
should be some cache-like system that keeps in the video m�mory the most
frequently used bitmaps, and some algorithms to optimize the use of the
offscreen memory, too, because you will have external fragmentation... It's
not as trivial as it seems, this is the reason why GGL doesn't have support
for this stuff yet (although you can do manually if you are brave enough, of
course).

        It would be nice if GGI can do this some day...
-- 
 __
 )_) \/ / /  email: mailto:[EMAIL PROTECTED]
/ \  / (_/   www  : http://programacion.mundivia.es/ryu
[ GGL developer ] & [ IRCore developer ] & [ GPUL member ]

Reply via email to