On 3 Nov 2000, Marcus Sundberg wrote:

> "Jon M. Taylor" <[EMAIL PROTECTED]> writes:
> 
> > On Thu, 2 Nov 2000, [iso-8859-1] Niklas H�glund wrote:
> > > At that time I found that using a main loop looking like this does sort of
> > > proper double-buffering using GGIMesa. Note that the SetMode call sets the
> > > virtual width to twice the physical width.
> 
> Why in the world would you want to use SetOrigin to just flip pages
> when there's a perfectly good API for handling multiple frames?

        QuickHack.
 
> >     Thanks for the input, but I'm afraid that the "pageflip using
> > SetOrigin" hack won't work on all targets.
> 
> Neither does normal multiple frames, so?!?

        So the point was to find a QH which would always enable
doublebuffering on all targets, no matter the inefficiency.  Lots of GL
code requires doublebuffering.

> *Of course* you should implement back/front buffering by simply
> having two separate buffers and switch between them! If that's not
> possible with the current target/mode then touch luck, you just have
> to fall back to:
>
> > allocate a DirectBuffer or a memory_visual and use that as a
> > backbuffer on every target.
> 
> I'd like to have a look at this "problem", but yesterday the Mesa
> CVS didn't compile at all. :(

        Yeah, they chose yesterday to add a whole new separated software
rasterizer cut-in layer to Mesa CVS |-/.  I wish Brian had decided to keep
that stuff in the 3.5 branch only - kind of odd, when he said that he
wanted to release 3.4 a few days ago....

Jon

---
'Cloning and the reprogramming of DNA is the first serious step in 
becoming one with God.'
        - Scientist G. Richard Seed

Reply via email to