aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_out.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-05-12 15:03:05 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-05-12 15:24:45 -0700
commit35e54acc4678dd50bafbb86a015892b2937a97c7 (patch)
tree8fc8fd31202d53fdabee21b8d1763c41a9c9fbb8 /src/lib/evas/canvas/evas_out.c
parentShelf/Gadget themes... Update with proper horiz/vert theme strings for future... (diff)
downloadefl-35e54acc4678dd50bafbb86a015892b2937a97c7.tar.gz
evas: stat introducing a concept of engine and output in the backend.
Diffstat (limited to 'src/lib/evas/canvas/evas_out.c')
-rw-r--r--src/lib/evas/canvas/evas_out.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/lib/evas/canvas/evas_out.c b/src/lib/evas/canvas/evas_out.c
index 9a147d6553..d66fb0f396 100644
--- a/src/lib/evas/canvas/evas_out.c
+++ b/src/lib/evas/canvas/evas_out.c
@@ -58,9 +58,10 @@ efl_canvas_output_del(Efl_Canvas_Output *output)
if (e->engine.func)
{
- e->engine.func->ector_destroy(output->output,
+ e->engine.func->ector_destroy(_evas_engine_context(e),
output->ector);
- e->engine.func->output_free(output->output);
+ e->engine.func->output_free(_evas_engine_context(e),
+ output->output);
e->engine.func->info_free(output->canvas, output->info);
}
e->outputs = eina_list_remove(e->outputs, output);
@@ -114,12 +115,14 @@ efl_canvas_output_engine_info_set(Efl_Canvas_Output *output,
{
if (e->engine.func->update)
{
- e->engine.func->update(output->output, info, e->output.w, e->output.h);
+ e->engine.func->update(_evas_engine_context(e), output->output, info,
+ e->output.w, e->output.h);
}
else
{
// For engine who do not provide an update function
- e->engine.func->output_free(output->output);
+ e->engine.func->output_free(_evas_engine_context(e),
+ output->output);
goto setup;
}
@@ -133,7 +136,8 @@ efl_canvas_output_engine_info_set(Efl_Canvas_Output *output,
}
setup:
- output->output = e->engine.func->setup(info, e->output.w, e->output.h);
+ output->output = e->engine.func->setup(_evas_engine_context(e), info,
+ e->output.w, e->output.h);
}
return !!output->output;