Enlightenment CVS committal

Author  : tilman
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/modules/engines/xrender_x11


Modified Files:
        evas_engine_xrender.c 


Log Message:
use the proper macros for the picture filter names

===================================================================
RCS file: 
/cvs/e/e17/libs/evas/src/modules/engines/xrender_x11/evas_engine_xrender.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- evas_engine_xrender.c       12 Sep 2006 00:03:53 -0000      1.17
+++ evas_engine_xrender.c       12 Sep 2006 10:06:45 -0000      1.18
@@ -438,9 +438,9 @@
    if (trs)
      {
        if (smooth)
-         XRenderSetPictureFilter(trs->xinf->disp, trs->pic, "best", NULL, 0);
+         XRenderSetPictureFilter(trs->xinf->disp, trs->pic, FilterBest, NULL, 
0);
        else 
-         XRenderSetPictureFilter(trs->xinf->disp, trs->pic, "nearest", NULL, 
0);
+         XRenderSetPictureFilter(trs->xinf->disp, trs->pic, FilterNearest, 
NULL, 0);
        XRenderSetPictureTransform(trs->xinf->disp, trs->pic, &xf);
        
        XRenderComposite(trs->xinf->disp, op, trs->pic, mask, drs->pic,
@@ -465,9 +465,9 @@
                             trs->pic, sx + sw - 1, sy + sh - 1, 0, 0, sw, sh, 
1, 1);
 
            if (smooth)
-               XRenderSetPictureFilter(trs->xinf->disp, trs->pic, "best", 
NULL, 0);
+               XRenderSetPictureFilter(trs->xinf->disp, trs->pic, FilterBest, 
NULL, 0);
            else 
-               XRenderSetPictureFilter(trs->xinf->disp, trs->pic, "nearest", 
NULL, 0);
+               XRenderSetPictureFilter(trs->xinf->disp, trs->pic, 
FilterNearest, NULL, 0);
 
            XRenderSetPictureTransform(trs->xinf->disp, trs->pic, &xf);
            XRenderComposite(trs->xinf->disp, op, trs->pic, mask, drs->pic,
@@ -477,9 +477,9 @@
        else
          {
            if (smooth)
-               XRenderSetPictureFilter(srs->xinf->disp, srs->pic, "best", 
NULL, 0);
+               XRenderSetPictureFilter(srs->xinf->disp, srs->pic, FilterBest, 
NULL, 0);
            else 
-               XRenderSetPictureFilter(srs->xinf->disp, srs->pic, "nearest", 
NULL, 0);
+               XRenderSetPictureFilter(srs->xinf->disp, srs->pic, 
FilterNearest, NULL, 0);
 
            XRenderSetPictureTransform(srs->xinf->disp, srs->pic, &xf);
            XRenderComposite(srs->xinf->disp, op, srs->pic, mask, drs->pic,
@@ -513,7 +513,7 @@
    att.clip_mask = None;
    XRenderChangePicture(srs->xinf->disp, srs->pic, CPClipMask, &att);
    XRenderChangePicture(srs->xinf->disp, drs->pic, CPClipMask, &att);
-   XRenderSetPictureFilter(srs->xinf->disp, srs->pic, "nearest", NULL, 0);
+   XRenderSetPictureFilter(srs->xinf->disp, srs->pic, FilterNearest, NULL, 0);
    
    XRenderComposite(srs->xinf->disp, PictOpSrc, srs->pic, None, drs->pic, 
                    sx, sy, 0, 0, x, y, w, h);



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to