[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[E-devel] something strange in xrender evas_engine.c



hey,

in evas_engine.c, I can see (line 151 and after)


   if (!re->mask)
     re->output = _xr_render_surface_adopt(re->xinf, re->win, e->output.w,
e->output.h, re->destination_alpha);
   else
     re->output = _xr_render_surface_adopt(re->xinf, re->win, e->output.w,
e->output.h, 0);

   if (re->mask)
     re->mask_output = _xr_render_surface_format_adopt(re->xinf, re->mask,
						       e->output.w,
e->output.h,
						       re->xinf->fmt1, 1);
   else
     re->mask_output = NULL;

that is 2 if/else on re->mask. What is the point of doing them ?

Vincent