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 <cp.michael@samsung.com>

SVN revision: 83436
This commit is contained in:
Christopher Michael 2013-01-29 14:40:21 +00:00 committed by Christopher Michael
parent 1a9d0c77b7
commit c951fb5a2d
1 changed files with 7 additions and 7 deletions

View File

@ -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