From: Christopher Michael Date: Thu, 24 Jan 2013 09:17:51 +0000 (+0000) Subject: Add code for engine redraws push. X-Git-Tag: submit/devel/efl/20131022.203902~2036 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a3559d4c88d0b5da45c1d0f6a5f7f52df4c61258;p=platform%2Fupstream%2Fefl.git Add code for engine redraws push. Signed-off-by: Christopher Michael SVN revision: 83261 --- diff --git a/src/modules/evas/engines/wayland_shm/evas_engine.c b/src/modules/evas/engines/wayland_shm/evas_engine.c index 1231057..b7b7d23 100644 --- a/src/modules/evas/engines/wayland_shm/evas_engine.c +++ b/src/modules/evas/engines/wayland_shm/evas_engine.c @@ -302,7 +302,17 @@ eng_output_redraws_next_update_get(void *data, int *x, int *y, int *w, int *h, i static void eng_output_redraws_next_update_push(void *data, void *surface, int x, int y, int w, int h, Evas_Render_Mode render_mode) { + Render_Engine *re; + + if (render_mode == EVAS_RENDER_MODE_ASYNC_INIT) return; + if (!(re = (Render_Engine *)data)) return; +#if defined(BUILD_PIPE_RENDER) + evas_common_pipe_map_begin(surface); +#endif + re->outbuf_update_region_push(re->ob, surface, x, y, w, h); + re->outbuf_update_region_free(re->ob, surface); + evas_common_cpu_end_opt() } static void