summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/software_gdi/evas_outbuf.c
diff options
context:
space:
mode:
authorCedric BAIL <c.bail@partner.samsung.com>2014-07-04 13:51:03 +0200
committerCedric BAIL <c.bail@partner.samsung.com>2014-07-04 15:11:22 +0200
commit289b3691b049c20441e5f10606461e9e2a7aad6a (patch)
tree140a4907e7006aa16b7358eb257ca1ee53340b45 /src/modules/evas/engines/software_gdi/evas_outbuf.c
parent4be4991315973c7b0ea31b00e77fd837e2f8761d (diff)
evas: add more infrastructure to software_generic backend to be ready for GL_X11 migration.
Diffstat (limited to 'src/modules/evas/engines/software_gdi/evas_outbuf.c')
-rw-r--r--src/modules/evas/engines/software_gdi/evas_outbuf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/evas/engines/software_gdi/evas_outbuf.c b/src/modules/evas/engines/software_gdi/evas_outbuf.c
index 28a64a3..705c569 100644
--- a/src/modules/evas/engines/software_gdi/evas_outbuf.c
+++ b/src/modules/evas/engines/software_gdi/evas_outbuf.c
@@ -563,12 +563,14 @@ evas_software_gdi_outbuf_free_region_for_update(Outbuf *buf EINA_UNUSED,
563} 563}
564 564
565void 565void
566evas_software_gdi_outbuf_flush(Outbuf *buf) 566evas_software_gdi_outbuf_flush(Outbuf *buf, Evas_Render_Mode render_mode)
567{ 567{
568 Eina_List *l; 568 Eina_List *l;
569 RGBA_Image *im; 569 RGBA_Image *im;
570 Outbuf_Region *obr; 570 Outbuf_Region *obr;
571 571
572 if (render_mode == EVAS_RENDER_MODE_ASYNC_INIT) return;
573
572 /* copy safely the images that need to be drawn onto the back surface */ 574 /* copy safely the images that need to be drawn onto the back surface */
573 EINA_LIST_FOREACH(buf->priv.pending_writes, l, im) 575 EINA_LIST_FOREACH(buf->priv.pending_writes, l, im)
574 { 576 {