• commit-bot@chromium.org's avatar
    Moving 4 SkImageFilter derived classes from blink to skia · 1a4fb70c
    commit-bot@chromium.org authored
    There were 4 classes in blink that derived from SkImageFilter :
    - TileImageFilter -> SkTileImageFilter
    - OffsetImageFilter -> SkOffsetImageFilter (already existed)
    - FloodImageFilter -> SkFloodImageFilter
    - CompositeImageFilter -> SkCompositeImageFilter
    
    All functions were copied as is, without modification (except for warnings fixes), except for the offset filter, which was merged into the existing SkOffsetImageFilter class, as a special case when a crop rect is provided. Since the names won't clash with the names in blink, it should be easy to integrate them in blink later and fix issues, if needed.
    
    BUG=
    R=senorblanco@google.com, senorblanco@chromium.org, bsalomon@google.com, reed@google.com, mtklein@google.com
    
    Author: sugoi@chromium.org
    
    Review URL: https://chromiumcodereview.appspot.com/24157005
    
    git-svn-id: http://skia.googlecode.com/svn/trunk@11475 2bbb7eff-a529-9590-31e7-b0007b416f81
    1a4fb70c
effects.gypi 6.39 KB