evas-software: Fix software engine to compile using xcb

Summary: Fix several compile issues with software engine when compiled
against xcb. This fixes an improper call to
evas_software_xcb_outbuf_flush with improper parameters, and adds a
missing EINA_UNUSED to that function.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-01-27 10:57:07 -05:00
parent e203b32171
commit 3b69593761
1 changed files with 4 additions and 2 deletions

View File

@ -65,8 +65,10 @@ evas_software_xcb_outbuf_free(Outbuf *buf)
if (obr->mask) _unfind_xcbob(obr->mask, EINA_FALSE);
free(obr);
}
evas_software_xcb_outbuf_idle_flush(buf);
evas_software_xcb_outbuf_flush(buf);
evas_software_xcb_outbuf_flush(buf, NULL, MODE_FULL);
if (buf->priv.x11.xcb.gc)
xcb_free_gc(buf->priv.x11.xcb.conn, buf->priv.x11.xcb.gc);
if (buf->priv.x11.xcb.gcm)
@ -582,7 +584,7 @@ evas_software_xcb_outbuf_free_region_for_update(Outbuf *buf EINA_UNUSED, RGBA_Im
}
void
evas_software_xcb_outbuf_flush(Outbuf *buf, Tilebuf_Rect *rects, Evas_Render_Mode render_mode)
evas_software_xcb_outbuf_flush(Outbuf *buf, Tilebuf_Rect *rects EINA_UNUSED, Evas_Render_Mode render_mode)
{
Eina_List *l = NULL;
RGBA_Image *im = NULL;