• senorblanco@chromium.org's avatar
    Implements a new class, SkSingleInputImageFilter, to handle DAG connectivity · f1369ce6
    senorblanco@chromium.org authored
    for filters with a single image input.  This provides functionality to store,
    flatten and unflatten a single SkImageFilter input, as well as to recursively
    evaluate it on the CPU or GPU.  The following classes were re-parented to 
    implement DAG connectivity:  SkBlurImageFilter, SkDilateImageFilter,
    SkErodeImageFilter, SkColorFilterImageFilter.  The constructors for each
    have been appended with a new parameter, representing the input filter
    (default NULL).
    
    This change also implements an arbitrary SkBitmap input source for filtering,
    SkBitmapSource.
    
    NOTE:  This CL will require gyp file changes when rolling past this revision.
    
    Review URL:  https://codereview.appspot.com/6462071/
    
    
    
    git-svn-id: http://skia.googlecode.com/svn/trunk@5170 2bbb7eff-a529-9590-31e7-b0007b416f81
    f1369ce6
effects.gyp 4.76 KB