Moving 4 SkImageFilter derived classes from blink to skia

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/gyp@11475 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/effects.gypi b/effects.gypi
index 9105ddd..19e55e8 100644
--- a/effects.gypi
+++ b/effects.gypi
@@ -55,6 +55,7 @@
     '<(skia_src_path)/effects/SkTableColorFilter.cpp',
     '<(skia_src_path)/effects/SkTableMaskFilter.cpp',
     '<(skia_src_path)/effects/SkTestImageFilters.cpp',
+    '<(skia_src_path)/effects/SkTileImageFilter.cpp',
     '<(skia_src_path)/effects/SkTransparentShader.cpp',
     '<(skia_src_path)/effects/SkXfermodeImageFilter.cpp',
 
@@ -113,6 +114,7 @@
     '<(skia_include_path)/effects/SkStippleMaskFilter.h',
     '<(skia_include_path)/effects/SkTableColorFilter.h',
     '<(skia_include_path)/effects/SkTableMaskFilter.h',
+    '<(skia_include_path)/effects/SkTileImageFilter.h',
     '<(skia_include_path)/effects/SkTransparentShader.h',
     '<(skia_include_path)/effects/SkMagnifierImageFilter.h',
   ],
diff --git a/gmslides.gypi b/gmslides.gypi
index 7eb97fa..bace62f 100644
--- a/gmslides.gypi
+++ b/gmslides.gypi
@@ -86,6 +86,7 @@
     '../gm/morphology.cpp',
     '../gm/nested.cpp',
     '../gm/ninepatchstretch.cpp',
+    '../gm/offsetimagefilter.cpp',
     '../gm/optimizations.cpp',
     '../gm/ovals.cpp',
     '../gm/patheffects.cpp',
@@ -125,6 +126,7 @@
     '../gm/texdata.cpp',
     '../gm/thinrects.cpp',
     '../gm/thinstrokedrects.cpp',
+    '../gm/tileimagefilter.cpp',
     '../gm/tilemodes.cpp',
     '../gm/tilemodes_scaled.cpp',
     '../gm/tinybitmap.cpp',