summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/software_gdi
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/engines/software_gdi')
-rw-r--r--src/modules/evas/engines/software_gdi/evas_engine.h2
-rw-r--r--src/modules/evas/engines/software_gdi/evas_outbuf.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/evas/engines/software_gdi/evas_engine.h b/src/modules/evas/engines/software_gdi/evas_engine.h
index 86f27e6..a69032c 100644
--- a/src/modules/evas/engines/software_gdi/evas_engine.h
+++ b/src/modules/evas/engines/software_gdi/evas_engine.h
@@ -184,7 +184,7 @@ void evas_software_gdi_outbuf_push_updated_region(Outbuf *buf,
184void evas_software_gdi_outbuf_free_region_for_update(Outbuf *buf, 184void evas_software_gdi_outbuf_free_region_for_update(Outbuf *buf,
185 RGBA_Image *update); 185 RGBA_Image *update);
186 186
187void evas_software_gdi_outbuf_flush(Outbuf *buf); 187void evas_software_gdi_outbuf_flush(Outbuf *buf, Evas_Render_Mode render_mode);
188 188
189void evas_software_gdi_outbuf_idle_flush(Outbuf *buf); 189void evas_software_gdi_outbuf_idle_flush(Outbuf *buf);
190 190
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 {