From: raster Date: Wed, 8 Jun 2011 03:04:12 +0000 (+0000) Subject: neon rendering bug - fix by disabling X-Git-Tag: 2.0_alpha~240^2~496 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=840502b2eadb405ae698e1b79c07b473de65eb96;p=framework%2Fuifw%2Fevas.git neon rendering bug - fix by disabling git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@60068 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/engines/common/evas_op_blend/op_blend_pixel_color_neon.c b/src/lib/engines/common/evas_op_blend/op_blend_pixel_color_neon.c index a57052c..6e35970 100644 --- a/src/lib/engines/common/evas_op_blend/op_blend_pixel_color_neon.c +++ b/src/lib/engines/common/evas_op_blend/op_blend_pixel_color_neon.c @@ -200,6 +200,19 @@ _op_blend_pan_can_dp_neon(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, i static void _op_blend_pan_caa_dp_neon(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, int l) { +#if 1 + DATA32 *e; + int alpha; + c = 1 + (c & 0xff); + UNROLL8_PLD_WHILE(d, l, e, + { + DATA32 sc = MUL_256(c, *s); + alpha = 256 - (sc >> 24); + *d = sc + MUL_256(alpha, *d); + d++; + s++; + }); +#else // the below neon is buggy!! misses rendering of spans, i think with alignment. quick - just disable this. #define AP "_op_blend_pan_caa_dp_" DATA32 *e = d + l, *tmp = (void*)73; asm volatile ( @@ -400,6 +413,7 @@ _op_blend_pan_caa_dp_neon(DATA32 *s, DATA8 *m __UNUSED__, DATA32 c, DATA32 *d, i : "q0", "q1", "q2", "q3", "q4", "q5", "q6", "q7", "q8", "q9", "memory" ); #undef AP +#endif } #define _op_blend_pas_c_dp_neon _op_blend_p_c_dp_neon