static int cpunum = 0;
static int _evas_soft_gen_log_dom = -1;
+//#define QCMD evas_thread_cmd_enqueue
+#define QCMD evas_thread_queue_flush
+
static void
eng_output_dump(void *data EINA_UNUSED)
{
cr->mask_x = dc->clip.mask_x;
cr->mask_y = dc->clip.mask_y;
- evas_thread_cmd_enqueue(_draw_thread_rectangle_draw, cr);
+ QCMD(_draw_thread_rectangle_draw, cr);
}
static void
cl->mask_x = dc->clip.mask_x;
cl->mask_y = dc->clip.mask_y;
- evas_thread_cmd_enqueue(_draw_thread_line_draw, cl);
+ QCMD(_draw_thread_line_draw, cl);
}
static void
cp->mask_x = dc->clip.mask_x;
cp->mask_y = dc->clip.mask_y;
- evas_thread_cmd_enqueue(_draw_thread_polygon_draw, cp);
+ QCMD(_draw_thread_polygon_draw, cp);
}
static void
cr->render_op = dc->render_op;
cr->smooth = smooth;
- evas_thread_cmd_enqueue(_draw_thread_image_draw, cr);
+ QCMD(_draw_thread_image_draw, cr);
return EINA_TRUE;
}
cm->mask_x = dc->clip.mask_x;
cm->mask_y = dc->clip.mask_y;
- evas_thread_cmd_enqueue(_draw_thread_map_draw, cm);
+ QCMD(_draw_thread_map_draw, cm);
return EINA_TRUE;
}
mf->y = y;
mf->texts = texts;
- evas_thread_cmd_enqueue(_draw_thread_multi_font_draw, mf);
+ QCMD(_draw_thread_multi_font_draw, mf);
return EINA_TRUE;
}
cf->mask_x = dc->clip.mask_x;
cf->mask_y = dc->clip.mask_y;
- evas_thread_cmd_enqueue(_draw_thread_font_draw, cf);
+ QCMD(_draw_thread_font_draw, cf);
return EINA_TRUE;
}
memcpy(ne, &ector, sizeof (Evas_Thread_Command_Ector));
ne->free_it = EINA_TRUE;
- evas_thread_cmd_enqueue(_draw_thread_ector_draw, ne);
+ QCMD(_draw_thread_ector_draw, ne);
}
else
{
nes->x = x;
nes->y = y;
- evas_thread_cmd_enqueue(_draw_thread_ector_surface_set, nes);
+ QCMD(_draw_thread_ector_surface_set, nes);
}
else
{
nes->ector = ector;
nes->surface = NULL;
- evas_thread_cmd_enqueue(_draw_thread_ector_surface_set, nes);
+ QCMD(_draw_thread_ector_surface_set, nes);
}
else
{