Enlightenment CVS committal

Author  : turran
Project : e17
Module  : proto/enesim

Dir     : e17/proto/enesim/src/lib/raster/renderer


Modified Files:
        fill_color.c 


Log Message:
+ Disable building the scanline directory
+ Add DeCasteljau bezier subdivision (the flat test isnt done yet)
+ Clean the renderer to use new API
+ Make extenders for different types (float, int)
+ Fix the vector components / container to use new Edata_Array API

===================================================================
RCS file: /cvs/e/e17/proto/enesim/src/lib/raster/renderer/fill_color.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- fill_color.c        2 Dec 2007 23:28:42 -0000       1.3
+++ fill_color.c        10 Dec 2007 23:04:05 -0000      1.4
@@ -4,8 +4,6 @@
 #include "enesim_private.h"
 #include "renderer.h"
 #include "surface.h"
-#include "scanline.h"
-#include "alias.h"
 
 /*============================================================================*
  *                                  Local                                     
* 
@@ -18,32 +16,17 @@
 static void _draw_alias(Enesim_Renderer *r, Enesim_Scanline_Alias *sl, 
Enesim_Surface *dst)
 {
        Fill_Color *f;
-#if 0
-       Scanline_Alias_Sl *s;
-#endif
        Span_Color_Func cfnc;
        int nsl;
        int offset;
        int i;
 
        f = r->data;
-#if 0
-       nsl = sl->num_sls;
-       s = sl->sls;
-#endif
+
        cfnc = enesim_surface_span_color_get(dst, r->rop);
        offset = (dst->w * sl->y) + sl->x;
        //printf("%d %d %d\n", s->y, s->x, s->w);
        cfnc(&dst->data, offset, f->color, sl->w);
-#if 0
-       for (i = 0; i < nsl; i++)
-       {
-               offset = (dst->w * s->y) + s->x;
-               //printf("%d %d %d\n", s->y, s->x, s->w);
-               cfnc(&dst->data, offset, f->color, s->w);
-               s++;
-       }
-#endif
 }
 
 static void _draw_mask(Enesim_Renderer *r, Enesim_Scanline_Mask *sl, 
Enesim_Surface *dst)



-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to