summaryrefslogtreecommitdiff
path: root/src/lib/evas
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-12-19 20:37:25 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-12-19 20:37:25 +0900
commit0f1469280dbe28386013147e5b043138d6fbeb7d (patch)
treed34f96b1ac8e30f217b76cc972cb07413f3ad1e2 /src/lib/evas
parentea63f487d33c2371b502dd5e3f31d045acde627e (diff)
win: Show windows created by efl_add with a job
This fixes efl_add(WIN) on wayland, using an internal API. Test scenario: ELM_DISPLAY=wl elementary_test -to "Part Shadow"
Diffstat (limited to '')
-rw-r--r--src/lib/evas/Evas_Internal.h2
-rw-r--r--src/lib/evas/canvas/evas_render.c8
2 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/evas/Evas_Internal.h b/src/lib/evas/Evas_Internal.h
index 09cc2c8f4e..5dcf351066 100644
--- a/src/lib/evas/Evas_Internal.h
+++ b/src/lib/evas/Evas_Internal.h
@@ -46,6 +46,8 @@ EAPI Evas_Engine_Info *efl_canvas_output_engine_info_get(Efl_Canvas_Output *outp
46EAPI Eina_Bool efl_canvas_output_lock(Efl_Canvas_Output *output); 46EAPI Eina_Bool efl_canvas_output_lock(Efl_Canvas_Output *output);
47EAPI Eina_Bool efl_canvas_output_unlock(Efl_Canvas_Output *output); 47EAPI Eina_Bool efl_canvas_output_unlock(Efl_Canvas_Output *output);
48 48
49EAPI void evas_render_pending_objects_flush(Evas *eo_evas);
50
49EAPI void efl_input_pointer_finalize(Efl_Input_Pointer *obj); 51EAPI void efl_input_pointer_finalize(Efl_Input_Pointer *obj);
50 52
51static inline void 53static inline void
diff --git a/src/lib/evas/canvas/evas_render.c b/src/lib/evas/canvas/evas_render.c
index 2a46387737..8da9ed8116 100644
--- a/src/lib/evas/canvas/evas_render.c
+++ b/src/lib/evas/canvas/evas_render.c
@@ -2892,6 +2892,14 @@ evas_render_pre(Evas *eo_e, Evas_Public_Data *evas)
2892 eina_evlog("-render_pre_objects_finalize", eo_e, 0.0, NULL); 2892 eina_evlog("-render_pre_objects_finalize", eo_e, 0.0, NULL);
2893} 2893}
2894 2894
2895EAPI void
2896evas_render_pending_objects_flush(Evas *eo_e)
2897{
2898 Evas_Public_Data *evas = efl_data_scope_get(eo_e, EVAS_CANVAS_CLASS);
2899 EINA_SAFETY_ON_NULL_RETURN(evas);
2900 evas_render_pre(eo_e, evas);
2901}
2902
2895static Eina_Bool 2903static Eina_Bool
2896evas_render_updates_internal_loop(Evas *eo_e, Evas_Public_Data *evas, 2904evas_render_updates_internal_loop(Evas *eo_e, Evas_Public_Data *evas,
2897 void *output, void *surface, void *context, 2905 void *output, void *surface, void *context,