• Show log

    Commit

  • Hash : 6eb6158d
    Author : Alexei Podtelezhnikov
    Date : 2015-10-06T22:39:54

    [smooth] Faster alternative line renderer.
    
    This implementation renders the entire line segment at once without
    subdividing it into scanlines.  The main speed improvement comes from
    reducing the number of divisions to just two per line segment, which
    is a bare minimum to calculate cell coverage in a smooth rasterizer.
    Notably, the progression from cell to cell does not itself require any
    divisions at all.  The speed improvement is more noticeable at larger
    sizes.
    
    * src/smooth/ftgrays.c (gray_render_line): New implementation.