Re: [compiz] compiz swapbuffers patch

2009-06-10 Thread Jesse Barnes
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  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
>  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
> > [email protected]
> > http://lists.freedesktop.org/mailman/listinfo/compiz
> >
> >
> 


-- 
Jesse Barnes, Intel Open Source Technology Center
___
compiz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] compiz swapbuffers patch

2009-05-20 Thread Brandon Wright
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  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
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/compiz
>
>
___
compiz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/compiz