Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/engines/xrender_x11 Modified Files: evas_engine_xrender.c Log Message: turn off dither and component alpha =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/engines/xrender_x11/evas_engine_xrender.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- evas_engine_xrender.c 6 Oct 2005 04:18:52 -0000 1.4 +++ evas_engine_xrender.c 6 Oct 2005 09:53:10 -0000 1.5 @@ -20,8 +20,8 @@ rs->depth = fmt->depth; rs->allocated = 1; rs->draw = XCreatePixmap(xinf->disp, xinf->root, w, h, fmt->depth); - att.dither = 1; - att.component_alpha = 1; + att.dither = 0; + att.component_alpha = 0; att.repeat = 0; rs->pic = XRenderCreatePicture(xinf->disp, rs->draw, fmt, CPRepeat | CPDither | CPComponentAlpha, &att); return rs; @@ -45,8 +45,8 @@ if (fmt->depth == 32) rs->alpha = 1; rs->allocated = 0; rs->draw = draw; - att.dither = 1; - att.component_alpha = 1; + att.dither = 0; + att.component_alpha = 0; att.repeat = 0; rs->pic = XRenderCreatePicture(xinf->disp, rs->draw, fmt, CPRepeat | CPDither | CPComponentAlpha, &att); return rs; @@ -68,8 +68,8 @@ if (fmt->depth == 32) rs->alpha = 1; rs->allocated = 0; rs->draw = draw; - att.dither = 1; - att.component_alpha = 1; + att.dither = 0; + att.component_alpha = 0; att.repeat = 0; rs->pic = XRenderCreatePicture(xinf->disp, rs->draw, fmt, CPRepeat | CPDither | CPComponentAlpha, &att); return rs; @@ -224,6 +224,9 @@ _xr_image_put(xim, rs->draw, x, y, w, h); } +// when color multiplier is used want: instead +// CA src IN mask SRC temp; non-CA temp OVER dst. +// void _xr_render_surface_composite(Xrender_Surface *srs, Xrender_Surface *drs, RGBA_Draw_Context *dc, int sx, int sy, int sw, int sh, int x, int y, int w, int h, int smooth) { ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs