summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/software_ddraw/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_ddraw/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_ddraw/evas_outbuf.c')
-rw-r--r--src/modules/evas/engines/software_ddraw/evas_outbuf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/evas/engines/software_ddraw/evas_outbuf.c b/src/modules/evas/engines/software_ddraw/evas_outbuf.c
index 0e121ac981..4d6a515c64 100644
--- a/src/modules/evas/engines/software_ddraw/evas_outbuf.c
+++ b/src/modules/evas/engines/software_ddraw/evas_outbuf.c
@@ -356,7 +356,7 @@ evas_software_ddraw_outbuf_free_region_for_update(Outbuf *buf EINA_UNUSED,
356} 356}
357 357
358void 358void
359evas_software_ddraw_outbuf_flush(Outbuf *buf) 359evas_software_ddraw_outbuf_flush(Outbuf *buf, Evas_Render_Mode render_mode)
360{ 360{
361 Eina_List *l; 361 Eina_List *l;
362 RGBA_Image *im; 362 RGBA_Image *im;
@@ -367,6 +367,8 @@ evas_software_ddraw_outbuf_flush(Outbuf *buf)
367 int ddraw_pitch; 367 int ddraw_pitch;
368 int ddraw_depth; 368 int ddraw_depth;
369 369
370 if (render_mode == EVAS_RENDER_MODE_ASYNC_INIT) return;
371
370 /* lock the back surface */ 372 /* lock the back surface */
371 if (!(ddraw_data = evas_software_ddraw_lock(buf, 373 if (!(ddraw_data = evas_software_ddraw_lock(buf,
372 &ddraw_width, 374 &ddraw_width,