Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/include
Modified Files:
evas_common.h
Log Message:
fix shaped output (rgba dest rendering)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/include/evas_common.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- evas_common.h 9 Feb 2005 16:10:56 -0000 1.32
+++ evas_common.h 11 Feb 2005 05:33:44 -0000 1.33
@@ -576,14 +576,15 @@
* C: 0.716
*/
-#if 0 /* old blender */
-#define BLEND_ALPHA_SETUP(a, tmp)
-#define BLEND_COLOR(a, nc, c, cc, tmp) \
+/*
+#define BLEND_ADST_ALPHA_SETUP(a, tmp)
+#define BLEND_ADST_COLOR(a, nc, c, cc, tmp) \
{ \
(tmp) = ((c) - (cc)) * (a); \
(nc) = (cc) + (((tmp) + ((tmp) >> 8) + 0x80) >> 8); \
}
-#else /* new blender - faster! */
+*/
+
#define BLEND_ALPHA_SETUP(a, tmp) \
{ \
(tmp) = ((a) + ((a) >> 7)); \
@@ -592,7 +593,10 @@
{ \
(nc) = ((((tmp) * ((c) - (cc))) >> 8) + (cc)); \
}
-#endif
+
+#define BLEND_ADST_ALPHA_SETUP BLEND_ALPHA_SETUP
+#define BLEND_ADST_COLOR BLEND_COLOR
+
#define PIXEL_SOLID_ALPHA 0xff000000
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs