diff options
author | Cedric BAIL <cedric.bail@free.fr> | 2012-07-04 10:32:38 +0000 |
---|---|---|
committer | Cedric BAIL <cedric.bail@free.fr> | 2012-07-04 10:32:38 +0000 |
commit | c8c36eae47f34ab7bf7f903886c1c5d9fda20526 (patch) | |
tree | 301a6e108fa650ec22564548100198eff89ca314 /legacy/evas/src | |
parent | 2e0fd1d375ee62ca0dead9b15462c570473c5857 (diff) |
evas: fix back line and polygon draw with pipe rendering.
SVN revision: 73266
Diffstat (limited to '')
-rw-r--r-- | legacy/evas/src/lib/engines/common/evas_pipe.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/legacy/evas/src/lib/engines/common/evas_pipe.c b/legacy/evas/src/lib/engines/common/evas_pipe.c index 590bcd44ca..2760f80c62 100644 --- a/legacy/evas/src/lib/engines/common/evas_pipe.c +++ b/legacy/evas/src/lib/engines/common/evas_pipe.c | |||
@@ -350,6 +350,7 @@ evas_common_pipe_line_draw(RGBA_Image *dst, RGBA_Draw_Context *dc, | |||
350 | op->op_func = evas_common_pipe_line_draw_do; | 350 | op->op_func = evas_common_pipe_line_draw_do; |
351 | op->free_func = evas_common_pipe_op_free; | 351 | op->free_func = evas_common_pipe_op_free; |
352 | op->prepare_func = NULL; | 352 | op->prepare_func = NULL; |
353 | op->render = EINA_TRUE; | ||
353 | evas_common_pipe_draw_context_copy(dc, op); | 354 | evas_common_pipe_draw_context_copy(dc, op); |
354 | } | 355 | } |
355 | 356 | ||
@@ -357,9 +358,9 @@ evas_common_pipe_line_draw(RGBA_Image *dst, RGBA_Draw_Context *dc, | |||
357 | static void | 358 | static void |
358 | evas_common_pipe_op_poly_free(RGBA_Pipe_Op *op) | 359 | evas_common_pipe_op_poly_free(RGBA_Pipe_Op *op) |
359 | { | 360 | { |
361 | #if 0 | ||
360 | RGBA_Polygon_Point *p; | 362 | RGBA_Polygon_Point *p; |
361 | 363 | ||
362 | #if 0 | ||
363 | while (op->op.poly.points) | 364 | while (op->op.poly.points) |
364 | { | 365 | { |
365 | p = op->op.poly.points; | 366 | p = op->op.poly.points; |
@@ -410,6 +411,7 @@ evas_common_pipe_poly_draw(RGBA_Image *dst, RGBA_Draw_Context *dc, | |||
410 | op->op.poly.points = points/* pts */; | 411 | op->op.poly.points = points/* pts */; |
411 | op->op_func = evas_common_pipe_poly_draw_do; | 412 | op->op_func = evas_common_pipe_poly_draw_do; |
412 | op->free_func = evas_common_pipe_op_poly_free; | 413 | op->free_func = evas_common_pipe_op_poly_free; |
414 | op->render = EINA_TRUE; | ||
413 | op->prepare_func = NULL; /* FIXME: If we really want to improve it, we should prepare span for it here */ | 415 | op->prepare_func = NULL; /* FIXME: If we really want to improve it, we should prepare span for it here */ |
414 | evas_common_pipe_draw_context_copy(dc, op); | 416 | evas_common_pipe_draw_context_copy(dc, op); |
415 | } | 417 | } |