forked from enlightenment/efl
evas/line - Fixed simple line drawing on s/w backened. Unmatched loop scope caused the destination buffer pointer march in place.
SVN revision: 71977
This commit is contained in:
parent
ea43e9004f
commit
3a0f535a40
|
@ -791,3 +791,8 @@
|
||||||
2012-06-10 Cedric Bail
|
2012-06-10 Cedric Bail
|
||||||
|
|
||||||
* Limit the updated region to fit in CPU cache for Pipe rendering.
|
* Limit the updated region to fit in CPU cache for Pipe rendering.
|
||||||
|
|
||||||
|
2012-06-12 ChunEon Park
|
||||||
|
|
||||||
|
* Fixed simple line drawing on s/w backened. Unmatched loop scope caused the
|
||||||
|
destination buffer pointer march in place.
|
||||||
|
|
|
@ -361,7 +361,6 @@ _evas_draw_simple_line(RGBA_Image *dst, RGBA_Draw_Context *dc, int x0, int y0, i
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
pfunc(0, 255, color, p);
|
pfunc(0, 255, color, p);
|
||||||
}
|
|
||||||
#ifdef HAVE_PIXMAN
|
#ifdef HAVE_PIXMAN
|
||||||
# ifdef PIXMAN_LINE
|
# ifdef PIXMAN_LINE
|
||||||
pixman_x_position += x_unit;
|
pixman_x_position += x_unit;
|
||||||
|
@ -371,6 +370,7 @@ _evas_draw_simple_line(RGBA_Image *dst, RGBA_Draw_Context *dc, int x0, int y0, i
|
||||||
p += dstw;
|
p += dstw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#define SETUP_LINE_SHALLOW \
|
#define SETUP_LINE_SHALLOW \
|
||||||
if (x0 > x1) \
|
if (x0 > x1) \
|
||||||
|
|
Loading…
Reference in New Issue