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
|
else
|
||||||
{
|
{
|
||||||
changed = obj->changed;
|
if (obj->changed)
|
||||||
obj->changed = 0;
|
{
|
||||||
|
changed = 1;
|
||||||
|
obj->changed = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// clear surface before re-render
|
// clear surface before re-render
|
||||||
|
@ -724,14 +727,14 @@ evas_render_mapped(Evas *e, Evas_Object *obj, void *context, void *surface,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
int x = 0, y = 0, w = 0, h = 0;
|
int x = 0, y = 0, w = 0, h = 0;
|
||||||
|
|
||||||
w = obj->cur.map->surface_w;
|
w = obj->cur.map->surface_w;
|
||||||
h = obj->cur.map->surface_h;
|
h = obj->cur.map->surface_h;
|
||||||
RECTS_CLIP_TO_RECT(x, y, w, h,
|
RECTS_CLIP_TO_RECT(x, y, w, h,
|
||||||
obj->cur.cache.clip.x + off_x,
|
obj->cur.geometry.x + off_x,
|
||||||
obj->cur.cache.clip.y + off_y,
|
obj->cur.geometry.y + off_y,
|
||||||
obj->cur.cache.clip.w,
|
obj->cur.geometry.w,
|
||||||
obj->cur.cache.clip.h);
|
obj->cur.geometry.h);
|
||||||
e->engine.func->context_clip_set(e->engine.data.output,
|
e->engine.func->context_clip_set(e->engine.data.output,
|
||||||
ctx, x, y, w, h);
|
ctx, x, y, w, h);
|
||||||
obj->func->render(obj, e->engine.data.output, ctx,
|
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
|
#ifdef BUILD_MMX
|
||||||
evas_common_cpu_can_do(&mmx, &sse, &sse2);
|
evas_common_cpu_can_do(&mmx, &sse, &sse2);
|
||||||
#endif
|
#endif
|
||||||
if (!dc->cutout.rects)
|
if ((!dc->cutout.rects) && (!dc->clip.use))
|
||||||
{
|
{
|
||||||
#ifdef BUILD_MMX
|
#ifdef BUILD_MMX
|
||||||
if (mmx)
|
if (mmx)
|
||||||
|
|
Loading…
Reference in New Issue