Quoting Ville Syrj�l� ([EMAIL PROTECTED]):
> On Mon, Mar 24, 2003 at 11:37:13AM +0100, Denis Oliver Kropp wrote:
> > We could have DSCAPS_FLIPPING only, but optionally DSDESC_BUFFERS setting the
> > number of buffers (currently just two or three allowed).
> 
> I was thinking about doing something like that but then I decided that 
> having more than three buffers doesn't have any real benefit for me.
> 
> > I'm not sure what the most beautiful and logical way is, but the current
> > API is already sufficient. Maybe we can arrange the bits so that the following
> > expression is true for double and triple buffering: (caps & DSCAPS_FLIPPING).
> 
> Rename DSCAPS_FLIPPING bit to DSCAPS_DOUBLE and make DSCAPS_FLIPPING a
> mask with both bits?

That's a good idea and seems to be the cleanest way at this level
of simplicity.

> > > CRTC2 seems to like triple buffering very much but BES isn't happy with
> > > it. -double -vsync is much better for BES.
> > 
> > Why should that make a difference? Did you test it with flip-on-sync
> > or flip-immediate?
> 
> Ah I forgot that BES can flip immediately. So now we really need the
> onsync flag.

Yes.

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

                            Convergence GmbH


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to