summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-01-27 10:57:07 -0500
committerChris Michael <cp.michael@samsung.com>2015-01-27 11:04:51 -0500
commit3b695937617ffa63ed232c8b696e3e57119af1be (patch)
tree232b4589cd0e96ae99f53f33a2b2b9e21f7e3375 /src/modules
parente203b321711123c83819751df1bea2e4a13e190a (diff)
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>
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/evas/engines/software_x11/evas_xcb_outbuf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/evas/engines/software_x11/evas_xcb_outbuf.c b/src/modules/evas/engines/software_x11/evas_xcb_outbuf.c
index f903846fef..e1e8287713 100644
--- a/src/modules/evas/engines/software_x11/evas_xcb_outbuf.c
+++ b/src/modules/evas/engines/software_x11/evas_xcb_outbuf.c
@@ -65,8 +65,10 @@ evas_software_xcb_outbuf_free(Outbuf *buf)
65 if (obr->mask) _unfind_xcbob(obr->mask, EINA_FALSE); 65 if (obr->mask) _unfind_xcbob(obr->mask, EINA_FALSE);
66 free(obr); 66 free(obr);
67 } 67 }
68
68 evas_software_xcb_outbuf_idle_flush(buf); 69 evas_software_xcb_outbuf_idle_flush(buf);
69 evas_software_xcb_outbuf_flush(buf); 70 evas_software_xcb_outbuf_flush(buf, NULL, MODE_FULL);
71
70 if (buf->priv.x11.xcb.gc) 72 if (buf->priv.x11.xcb.gc)
71 xcb_free_gc(buf->priv.x11.xcb.conn, buf->priv.x11.xcb.gc); 73 xcb_free_gc(buf->priv.x11.xcb.conn, buf->priv.x11.xcb.gc);
72 if (buf->priv.x11.xcb.gcm) 74 if (buf->priv.x11.xcb.gcm)
@@ -582,7 +584,7 @@ evas_software_xcb_outbuf_free_region_for_update(Outbuf *buf EINA_UNUSED, RGBA_Im
582} 584}
583 585
584void 586void
585evas_software_xcb_outbuf_flush(Outbuf *buf, Tilebuf_Rect *rects, Evas_Render_Mode render_mode) 587evas_software_xcb_outbuf_flush(Outbuf *buf, Tilebuf_Rect *rects EINA_UNUSED, Evas_Render_Mode render_mode)
586{ 588{
587 Eina_List *l = NULL; 589 Eina_List *l = NULL;
588 RGBA_Image *im = NULL; 590 RGBA_Image *im = NULL;