evas: fix back line and polygon draw with pipe rendering.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 4 Jul 2012 10:32:38 +0000 (10:32 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 4 Jul 2012 10:32:38 +0000 (10:32 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@73266 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/engines/common/evas_pipe.c

index 590bcd4..2760f80 100644 (file)
@@ -350,6 +350,7 @@ evas_common_pipe_line_draw(RGBA_Image *dst, RGBA_Draw_Context *dc,
    op->op_func = evas_common_pipe_line_draw_do;
    op->free_func = evas_common_pipe_op_free;
    op->prepare_func = NULL;
+   op->render = EINA_TRUE;
    evas_common_pipe_draw_context_copy(dc, op);
 }
 
@@ -357,9 +358,9 @@ evas_common_pipe_line_draw(RGBA_Image *dst, RGBA_Draw_Context *dc,
 static void
 evas_common_pipe_op_poly_free(RGBA_Pipe_Op *op)
 {
+#if 0
    RGBA_Polygon_Point *p;
 
-#if 0
    while (op->op.poly.points)
      {
         p = op->op.poly.points;
@@ -410,6 +411,7 @@ evas_common_pipe_poly_draw(RGBA_Image *dst, RGBA_Draw_Context *dc,
    op->op.poly.points = points/* pts */;
    op->op_func = evas_common_pipe_poly_draw_do;
    op->free_func = evas_common_pipe_op_poly_free;
+   op->render = EINA_TRUE;
    op->prepare_func = NULL; /* FIXME: If we really want to improve it, we should prepare span for it here */
    evas_common_pipe_draw_context_copy(dc, op);
 }