From c951fb5a2db1de26346ba9a0939c6b4402cb67f9 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Tue, 29 Jan 2013 14:40:21 +0000 Subject: [PATCH] Use palette mode none for conversion. Comment out idle_flush (for now) as it is causing some segfaults with elm_win_util_standard_add for some strange reason. Signed-off-by: Christopher Michael SVN revision: 83436 --- .../evas/engines/wayland_shm/evas_swapbuf.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/modules/evas/engines/wayland_shm/evas_swapbuf.c b/src/modules/evas/engines/wayland_shm/evas_swapbuf.c index b10f0d67a4..d194c3c29f 100644 --- a/src/modules/evas/engines/wayland_shm/evas_swapbuf.c +++ b/src/modules/evas/engines/wayland_shm/evas_swapbuf.c @@ -253,14 +253,14 @@ evas_swapbuf_update_region_push(Outbuf *ob, RGBA_Image *update, int x, int y, in func = evas_common_convert_func_get(0, w, h, depth, RED_MASK, GREEN_MASK, BLUE_MASK, - PAL_MODE_RGB332, ob->rotation); + PAL_MODE_NONE, ob->rotation); } else if ((ob->rotation == 90) || (ob->rotation == 270)) { func = evas_common_convert_func_get(0, h, w, depth, RED_MASK, GREEN_MASK, BLUE_MASK, - PAL_MODE_RGB332, ob->rotation); + PAL_MODE_NONE, ob->rotation); } /* make sure we have a valid convert function */ @@ -448,18 +448,18 @@ evas_swapbuf_flush(Outbuf *ob) } void -evas_swapbuf_idle_flush(Outbuf *ob) +evas_swapbuf_idle_flush(Outbuf *ob EINA_UNUSED) { - LOGFN(__FILE__, __LINE__, __FUNCTION__); +// LOGFN(__FILE__, __LINE__, __FUNCTION__); /* check for valid output buffer */ - if (!ob) return; + /* if (!ob) return; */ /* check for valid swapper */ - if (!ob->priv.swapper) return; + /* if (!ob->priv.swapper) return; */ /* tell the swapper to release any buffers that have been rendered */ - evas_swapper_buffer_idle_flush(ob->priv.swapper); + /* evas_swapper_buffer_idle_flush(ob->priv.swapper); */ } int