}
}
- ENFN->context_free(ENDT, ctx);
+ ENFN->context_free(ENC, ctx);
// FIXME: needs to cache these maps and
// keep them only rendering updates
}
else // not "has map"
{
- ctx = ENFN->context_dup(ENDT, context);
+ ctx = ENFN->context_dup(ENC, context);
if (mapped)
{
RD(level, " child of mapped obj\n");
if (mask->mask->surface)
{
- ENFN->context_clip_image_set(ENDT, ctx,
+ ENFN->context_clip_image_set(ENC, ctx,
mask->mask->surface,
mask->cur->geometry.x + off_x,
mask->cur->geometry.y + off_y,
#ifdef REND_DBG
int _c, _cx, _cy, _cw, _ch;
- _c = ENFN->context_clip_get(ENDT, ctx, &_cx, &_cy, &_cw, &_ch);
+ _c = ENFN->context_clip_get(ENC, ctx, &_cx, &_cy, &_cw, &_ch);
RD(level, " draw smart children(clip: [%d] %d,%d %dx%d)\n",
_c, _cx, _cy, _cw, _ch);
#endif
else
{
const Evas_Coord_Rectangle *clip = &obj->cur->geometry;
- ENFN->context_clip_clip(ENDT, ctx, clip->x + off_x, clip->y + off_y, clip->w, clip->h);
+ ENFN->context_clip_clip(ENC, ctx, clip->x + off_x, clip->y + off_y, clip->w, clip->h);
if (obj->cur->clipper && (mapped > 1))
{
if (mask->mask->surface)
{
- ENFN->context_clip_image_set(ENDT, ctx,
+ ENFN->context_clip_image_set(ENC, ctx,
mask->mask->surface,
mask->cur->geometry.x + off_x,
mask->cur->geometry.y + off_y,
#ifdef REND_DBG
int _c, _cx, _cy, _cw, _ch;
- _c = ENFN->context_clip_get(ENDT, ctx, &_cx, &_cy, &_cw, &_ch);
+ _c = ENFN->context_clip_get(ENC, ctx, &_cx, &_cy, &_cw, &_ch);
RD(level, " render(clip: [%d] %d,%d %dx%d)\n", _c, _cx, _cy, _cw, _ch);
#endif
clipper->cur->cache.clip.y,
clipper->cur->cache.clip.w,
clipper->cur->cache.clip.h);
- ENFN->context_clip_set(ENDT, ctx, x + off_x, y + off_y, w, h);
+ ENFN->context_clip_set(ENC, ctx, x + off_x, y + off_y, w, h);
if (!_is_obj_in_framespace(obj, evas))
{
_evas_render_framespace_context_clip_clip
(evas, ctx, off_x - evas->framespace.x, off_y - evas->framespace.y);
}
- ENFN->context_clip_clip(ENDT, ctx, ecx, ecy, ecw, ech);
+ ENFN->context_clip_clip(ENC, ctx, ecx, ecy, ecw, ech);
}
else
{
#ifdef REND_DBG
int _c, _cx, _cy, _cw, _ch;
- _c = ENFN->context_clip_get(ENDT, context, &_cx, &_cy, &_cw, &_ch);
+ _c = ENFN->context_clip_get(ENC, context, &_cx, &_cy, &_cw, &_ch);
RD(level, " draw normal obj: render(clip: [%d] %d,%d %dx%d)\n", _c, _cx, _cy, _cw, _ch);
#endif
if (obj->changed_map) clean_them = EINA_TRUE;
on_empty_clip:
- ENFN->context_free(ENDT, ctx);
+ ENFN->context_free(ENC, ctx);
}
end: