forked from enlightenment/efl
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:
parent
1a9d0c77b7
commit
c951fb5a2d
|
@ -253,14 +253,14 @@ evas_swapbuf_update_region_push(Outbuf *ob, RGBA_Image *update, int x, int y, in
|
||||||
func =
|
func =
|
||||||
evas_common_convert_func_get(0, w, h, depth,
|
evas_common_convert_func_get(0, w, h, depth,
|
||||||
RED_MASK, GREEN_MASK, BLUE_MASK,
|
RED_MASK, GREEN_MASK, BLUE_MASK,
|
||||||
PAL_MODE_RGB332, ob->rotation);
|
PAL_MODE_NONE, ob->rotation);
|
||||||
}
|
}
|
||||||
else if ((ob->rotation == 90) || (ob->rotation == 270))
|
else if ((ob->rotation == 90) || (ob->rotation == 270))
|
||||||
{
|
{
|
||||||
func =
|
func =
|
||||||
evas_common_convert_func_get(0, h, w, depth,
|
evas_common_convert_func_get(0, h, w, depth,
|
||||||
RED_MASK, GREEN_MASK, BLUE_MASK,
|
RED_MASK, GREEN_MASK, BLUE_MASK,
|
||||||
PAL_MODE_RGB332, ob->rotation);
|
PAL_MODE_NONE, ob->rotation);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* make sure we have a valid convert function */
|
/* make sure we have a valid convert function */
|
||||||
|
@ -448,18 +448,18 @@ evas_swapbuf_flush(Outbuf *ob)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
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 */
|
/* check for valid output buffer */
|
||||||
if (!ob) return;
|
/* if (!ob) return; */
|
||||||
|
|
||||||
/* check for valid swapper */
|
/* 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 */
|
/* 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
|
int
|
||||||
|
|
Loading…
Reference in New Issue