forked from enlightenment/efl
parent
9f030460b3
commit
c10f1e9c5d
|
@ -678,8 +678,11 @@ evas_render_mapped(Evas *e, Evas_Object *obj, void *context, void *surface,
|
|||
}
|
||||
else
|
||||
{
|
||||
changed = obj->changed;
|
||||
obj->changed = 0;
|
||||
if (obj->changed)
|
||||
{
|
||||
changed = 1;
|
||||
obj->changed = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// clear surface before re-render
|
||||
|
@ -728,10 +731,10 @@ evas_render_mapped(Evas *e, Evas_Object *obj, void *context, void *surface,
|
|||
w = obj->cur.map->surface_w;
|
||||
h = obj->cur.map->surface_h;
|
||||
RECTS_CLIP_TO_RECT(x, y, w, h,
|
||||
obj->cur.cache.clip.x + off_x,
|
||||
obj->cur.cache.clip.y + off_y,
|
||||
obj->cur.cache.clip.w,
|
||||
obj->cur.cache.clip.h);
|
||||
obj->cur.geometry.x + off_x,
|
||||
obj->cur.geometry.y + off_y,
|
||||
obj->cur.geometry.w,
|
||||
obj->cur.geometry.h);
|
||||
e->engine.func->context_clip_set(e->engine.data.output,
|
||||
ctx, x, y, w, h);
|
||||
obj->func->render(obj, e->engine.data.output, ctx,
|
||||
|
|
|
@ -362,7 +362,7 @@ evas_common_map4_rgba(RGBA_Image *src, RGBA_Image *dst,
|
|||
#ifdef BUILD_MMX
|
||||
evas_common_cpu_can_do(&mmx, &sse, &sse2);
|
||||
#endif
|
||||
if (!dc->cutout.rects)
|
||||
if ((!dc->cutout.rects) && (!dc->clip.use))
|
||||
{
|
||||
#ifdef BUILD_MMX
|
||||
if (mmx)
|
||||
|
|
Loading…
Reference in New Issue