re->rects = NULL;
re->end = EINA_TRUE;
}
- /* if ((ux + uw) > re->ob->w) uw = re->ob->w - ux; */
- /* if ((uy + uh) > re->ob->h) uh = re->ob->h - uy; */
- /* if ((uw <= 0) || (uh <= 0)) return NULL; */
+ if ((ux + uw) > re->ob->w) uw = re->ob->w - ux;
+ if ((uy + uh) > re->ob->h) uh = re->ob->h - uy;
+ if ((uw <= 0) || (uh <= 0)) return NULL;
surface =
re->outbuf_new_region_for_update(re->ob, ux, uy, uw, uh, cx, cy, cw, ch);
if (x) *x = ux;
void *dest;
RGBA_Image *buffer;
- Eina_List *buffer_regions;
-
- Eina_List *pending_writes;
- Eina_List *prev_pending_writes;
Eina_Bool destination_alpha : 1;
} priv;
bytes = ((w * sizeof(int)) * h);
dest = (DATA32 *)((DATA8 *)(ob->priv.dest) + (y * bytes) + (x * 4));
- /* if (ob->func.new_update_region) */
- /* { */
- /* dest = ob->func.new_update_region(x, y, w, h, &bytes); */
- /* } */
if (!ob->priv.buffer)
{
}
}
}
- /* if (ob->func.free_update_region) */
- /* ob->func.free_update_region(x, y, w, h, dest); */
}
void