summaryrefslogtreecommitdiff
path: root/src/lib/evas
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-12-16 10:40:55 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-12-16 10:40:55 +0900
commit581505791a2b87f8bfe5a7d6870f6becc409c04e (patch)
tree7af2a15faf3bb9535ea7bc751e0af3f6e485f6ae /src/lib/evas
parent260d838d221703ee8478c10bfa373ee1374f65d3 (diff)
evas: Remove context from some engine function
This is for canvas_alpha_get. context is never used.
Diffstat (limited to 'src/lib/evas')
-rw-r--r--src/lib/evas/canvas/evas_render.c2
-rw-r--r--src/lib/evas/canvas/render2/evas_render2_old.c3
-rw-r--r--src/lib/evas/include/evas_private.h2
3 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/evas/canvas/evas_render.c b/src/lib/evas/canvas/evas_render.c
index 42cb32fa78..73682f34ce 100644
--- a/src/lib/evas/canvas/evas_render.c
+++ b/src/lib/evas/canvas/evas_render.c
@@ -2959,7 +2959,7 @@ evas_render_updates_internal(Evas *eo_e,
2959 } 2959 }
2960 2960
2961 /* phase 1.5. check if the video should be inlined or stay in their overlay */ 2961 /* phase 1.5. check if the video should be inlined or stay in their overlay */
2962 alpha = ENFN->canvas_alpha_get(ENDT, ENCTX); 2962 alpha = ENFN->canvas_alpha_get(ENDT);
2963 2963
2964 EINA_LIST_FOREACH(e->video_objects, ll, eo_obj) 2964 EINA_LIST_FOREACH(e->video_objects, ll, eo_obj)
2965 { 2965 {
diff --git a/src/lib/evas/canvas/render2/evas_render2_old.c b/src/lib/evas/canvas/render2/evas_render2_old.c
index d57d31d7f7..b486bae01a 100644
--- a/src/lib/evas/canvas/render2/evas_render2_old.c
+++ b/src/lib/evas/canvas/render2/evas_render2_old.c
@@ -274,8 +274,7 @@ _evas_render2_stage_render_do(Evas_Public_Data *e, Eina_Bool do_async EINA_UNUSE
274 // XXX: actually render now (either in thread or in mainloop) 274 // XXX: actually render now (either in thread or in mainloop)
275 // XXX: 275 // XXX:
276 printf(" _evas_render2_stage_render_do %p\n", e); 276 printf(" _evas_render2_stage_render_do %p\n", e);
277 alpha = e->engine.func->canvas_alpha_get(e->engine.data.output, 277 alpha = e->engine.func->canvas_alpha_get(e->engine.data.output);
278 e->engine.data.context);
279 while ((uinf.surface = 278 while ((uinf.surface =
280 e->engine.func->output_redraws_next_update_get 279 e->engine.func->output_redraws_next_update_get
281 (e->engine.data.output, 280 (e->engine.data.output,
diff --git a/src/lib/evas/include/evas_private.h b/src/lib/evas/include/evas_private.h
index 356c3c32cc..9fe56dfb8e 100644
--- a/src/lib/evas/include/evas_private.h
+++ b/src/lib/evas/include/evas_private.h
@@ -1363,7 +1363,7 @@ struct _Evas_Func
1363 1363
1364 void *(*context_new) (void *data); 1364 void *(*context_new) (void *data);
1365 void *(*context_dup) (void *data, void *context); 1365 void *(*context_dup) (void *data, void *context);
1366 Eina_Bool (*canvas_alpha_get) (void *data, void *context); 1366 Eina_Bool (*canvas_alpha_get) (void *data);
1367 void (*context_free) (void *data, void *context); 1367 void (*context_free) (void *data, void *context);
1368 void (*context_clip_set) (void *data, void *context, int x, int y, int w, int h); 1368 void (*context_clip_set) (void *data, void *context, int x, int y, int w, int h);
1369 void (*context_clip_image_set) (void *data, void *context, void *surface, int x, int y, Evas_Public_Data *evas, Eina_Bool do_async); 1369 void (*context_clip_image_set) (void *data, void *context, void *surface, int x, int y, Evas_Public_Data *evas, Eina_Bool do_async);