summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/wayland_egl/evas_engine.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-08-25 10:49:53 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-08-25 10:49:53 -0700
commit28397e7206322f2d31234d4ef77a588f7c0ba5e7 (patch)
tree2a80d4fe3ab8da3920d944f12beb672614ca1eb4 /src/modules/evas/engines/wayland_egl/evas_engine.c
parent76a7198e0d31192ecc6a97fbb1b136b156fbf672 (diff)
evas: differentiate engine from output.
Diffstat (limited to 'src/modules/evas/engines/wayland_egl/evas_engine.c')
-rw-r--r--src/modules/evas/engines/wayland_egl/evas_engine.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c b/src/modules/evas/engines/wayland_egl/evas_engine.c
index 0630daf..be50952 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.c
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.c
@@ -546,7 +546,7 @@ _eng_swap_mode_get(void)
546} 546}
547 547
548static void * 548static void *
549eng_output_setup(void *engine EINA_UNUSED, void *info, unsigned int w, unsigned int h) 549eng_output_setup(void *engine, void *info, unsigned int w, unsigned int h)
550{ 550{
551 Evas_Engine_Info_Wayland *inf = info; 551 Evas_Engine_Info_Wayland *inf = info;
552 Render_Engine *re; 552 Render_Engine *re;
@@ -576,7 +576,7 @@ eng_output_setup(void *engine EINA_UNUSED, void *info, unsigned int w, unsigned
576 ob = eng_window_new(inf, w, h, swap_mode); 576 ob = eng_window_new(inf, w, h, swap_mode);
577 if (!ob) goto ob_err; 577 if (!ob) goto ob_err;
578 578
579 if (!evas_render_engine_gl_generic_init(&re->generic, ob, 579 if (!evas_render_engine_gl_generic_init(engine, &re->generic, ob,
580 eng_outbuf_swap_mode_get, 580 eng_outbuf_swap_mode_get,
581 eng_outbuf_rotation_get, 581 eng_outbuf_rotation_get,
582 eng_outbuf_reconfigure, 582 eng_outbuf_reconfigure,
@@ -719,7 +719,7 @@ eng_canvas_alpha_get(void *engine)
719} 719}
720 720
721static void 721static void
722eng_output_free(void *engine EINA_UNUSED, void *data) 722eng_output_free(void *engine, void *data)
723{ 723{
724 Render_Engine *re; 724 Render_Engine *re;
725 725
@@ -729,7 +729,7 @@ eng_output_free(void *engine EINA_UNUSED, void *data)
729 729
730 if (gl_wins == 1) glsym_evgl_engine_shutdown(re); 730 if (gl_wins == 1) glsym_evgl_engine_shutdown(re);
731 731
732 evas_render_engine_software_generic_clean(&re->generic.software); 732 evas_render_engine_software_generic_clean(engine, &re->generic.software);
733 733
734 gl_wins--; 734 gl_wins--;
735 735