On Fri, 25 Oct 2002 23:38:41 +0100
Ian Molton <[EMAIL PROTECTED]> wrote:

> On Fri, 25 Oct 2002 10:34:35 -0700
> Ian Romanick <[EMAIL PROTECTED]> wrote:
> 
> > 
> > Time step 1:
> 
> <cut>
> 
> Er. surely you would render lkike this
> 
> 1: Display 0     Render 1
> 2: Display 0.n   Render 2
> Now, if still displaying 0, swap 1 and 2 (surely a pointer swap) and
> re-render in 1 else switch to 1.
> 
> in other words, never render to the current buffer, but keep rendering
> full-tilt into the two back buffers alternately until one gets flipped.
> 
> At least, thats how I used to do things on my old A410...

But this way you waste lots of CPU cycles on frames which are never
displayed. Wouldn't be waiting (IRQ) for the pageflip to occur before
you render the 3rd frame in the above example a better approach?

Felix

               __\|/__    ___     ___     ___
__Tschüß_______\_6 6_/___/__ \___/__ \___/___\___You can do anything,___
_____Felix_______\Ä/\ \_____\ \_____\ \______U___just not everything____
  [EMAIL PROTECTED]    >o<__/   \___/   \___/        at the same time!


-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to