evas-software: Fix software engine to compile using xcb
authorChris Michael <cp.michael@samsung.com>
Tue, 27 Jan 2015 15:57:07 +0000 (10:57 -0500)
committerChris Michael <cp.michael@samsung.com>
Tue, 27 Jan 2015 16:04:51 +0000 (11:04 -0500)
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>
src/modules/evas/engines/software_x11/evas_xcb_outbuf.c

index f903846..e1e8287 100644 (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;