[compiz] Zoom plugin filter linear?

Bellegarde Cedric gnumdk at puffy.homelinux.org
Tue Feb 13 23:54:08 PST 2007


http://gitweb.freedesktop.org/?p=xorg/app/compiz.git;a=blobdiff;h=7ebfdccdaccfe12749e7123fba5271f430fb9e5f;hp=59d3ce75d24296751120916144c057114fad1f14;hb=d32ac34676f2a87d60ad9e4fe426281595c5b859;f=plugins/zoom.c

David, when you add my zoom plugin patch factor, you add this:

+        if (zs->zoomFactor == 2.0f &&
+            (zs->opt[ZOOM_SCREEN_OPTION_FILTER_LINEAR].value.b ||
+             zs->zVelocity != 0.0f))
             s->filter[SCREEN_TRANS_FILTER] = COMP_TEXTURE_FILTER_GOOD;
         else
             s->filter[SCREEN_TRANS_FILTER] = COMP_TEXTURE_FILTER_FAST;

It make filter linear disabled when zoom factor != 2 :(
Any reason? I remove this and it seems to work well here.

Cedric


More information about the compiz mailing list