Please disregard this patch. Apparently only the reflex plugin had the
problem I described and the patch wasn't doing what I meant to do for
water, blur, and video plugins. A fix is not necessary for those since
the problem was already handled there.

Regards,
Erkin

On 11/4/07, Erkin Bahceci <[EMAIL PROTECTED]> wrote:
> Hi,
>
> This patch fixes a leak when creating fragment functions in some of
> the plugins. The leak happens when there is a plugin that uses a
> fragment program with parameters and texture units on only a subset of
> windows. During screen painting, the allocated param and unit change
> across windows in the patched plugins, which (because of the mismatch
> with the previously created and stored function) causes new fragment
> functions to be created at each frame without destroying the old one,
> increasing the length of s->fragmentFunctions and slowly degrading
> painting performance.
>
> Regards,
> Erkin
>
>


-- 
- Erkin
_______________________________________________
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz

Reply via email to