aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_render.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-08-25 10:51:05 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-08-25 10:51:05 -0700
commit14f1a0bde7169dad284838a3e439aba62a98ec49 (patch)
treeaaeb442b20f9196cb112db15e7ff861658e42c9e /src/lib/evas/canvas/evas_render.c
parentevas: gl_common should not segv on freeing a NULL gl_image. (diff)
downloadefl-14f1a0bde7169dad284838a3e439aba62a98ec49.tar.gz
evas: forgotten convertion from output to engine.
Diffstat (limited to '')
-rw-r--r--src/lib/evas/canvas/evas_render.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/evas/canvas/evas_render.c b/src/lib/evas/canvas/evas_render.c
index 5d2495c4ff..631bbb39aa 100644
--- a/src/lib/evas/canvas/evas_render.c
+++ b/src/lib/evas/canvas/evas_render.c
@@ -2086,7 +2086,7 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object *eo_obj,
}
}
- ENFN->context_free(ENDT, ctx);
+ ENFN->context_free(ENC, ctx);
// FIXME: needs to cache these maps and
// keep them only rendering updates
@@ -2096,7 +2096,7 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object *eo_obj,
}
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");
@@ -2125,7 +2125,7 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object *eo_obj,
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,
@@ -2140,7 +2140,7 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object *eo_obj,
#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
@@ -2166,7 +2166,7 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object *eo_obj,
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))
{
@@ -2218,7 +2218,7 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object *eo_obj,
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,
@@ -2229,7 +2229,7 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object *eo_obj,
#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
@@ -2258,14 +2258,14 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object *eo_obj,
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
{
@@ -2281,7 +2281,7 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object *eo_obj,
#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
@@ -2292,7 +2292,7 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object *eo_obj,
if (obj->changed_map) clean_them = EINA_TRUE;
on_empty_clip:
- ENFN->context_free(ENDT, ctx);
+ ENFN->context_free(ENC, ctx);
}
end: