[Intel-gfx] [compiz] compiz swapbuffers patch

Jesse Barnes jbarnes at virtuousgeek.org
Thu May 21 18:32:35 CEST 2009


Ah great, thanks for looking.  Yeah I was missing that bit; in testing
I was typically running operations that did a full screen damage
anyway, so that must be why I didn't notice it.  I'll fix it up and
re-post.

Thanks,
Jesse

On Thu, 21 May 2009 01:40:39 -0500
Brandon Wright <bearoso at gmail.com> wrote:

> Hi Jesse,
> 
> I've looked at your patch, and it won't work normally unless the whole
> screen is damaged. I assume you're running a plugin that does this by
> default, and that's why you missed it. In any case, you need a couple
> extra lines. Something like:
> 
> if (alwaysSwap == TRUE)
>     damageScreen (s);
> 
> at src/screen.c:1455 in the original file, or just after the whole "if
> (s->slowAnimations)" block.
> 
> Good luck getting this patch in. Compiz has needed something like this
> for a while.
> 
> On Thu, May 7, 2009 at 3:02 PM, Jesse Barnes
> <jbarnes at virtuousgeek.org> wrote:
> > Here's a compiz patch to assume the presence of a sane glXSwapBuffer
> > implementation (i.e. one that uses page flips synchronized to
> > vblank).
> >
> > It adds --no-wait and --always-swap options, which, if used with the
> > swapbuffers patchset, will make compiz use the page flipping path
> > for tear-free drawing.
> >
> > Jesse
> > _______________________________________________
> > compiz mailing list
> > compiz at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/compiz
> >
> >
> 


-- 
Jesse Barnes, Intel Open Source Technology Center



More information about the Intel-gfx mailing list