On Wed, 19 Apr 2000, Rub�n wrote:

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

A good version of the beginning of this is in the glide2x/3x sources.
If anyone's curious.

(aside - anyone know 3Dfx initialization rules?  I'm having a few probs
with fb/glide port)

G'day, eh? :)
        - Teunis

Reply via email to