2012-08-20 20:56:26 +00:00
|
|
|
# Include this gypi to include all 'effects' files
|
|
|
|
# The parent gyp/gypi file must define:
|
|
|
|
# 'skia_src_path' e.g. skia/trunk/src
|
|
|
|
# 'skia_include_path' e.g. skia/trunk/include
|
|
|
|
#
|
|
|
|
# The skia build defines these in common_variables.gypi.
|
|
|
|
#
|
|
|
|
{
|
|
|
|
'sources': [
|
|
|
|
'<(skia_src_path)/effects/Sk1DPathEffect.cpp',
|
|
|
|
'<(skia_src_path)/effects/Sk2DPathEffect.cpp',
|
2014-01-06 23:41:14 +00:00
|
|
|
'<(skia_src_path)/effects/SkAlphaThresholdFilter.cpp',
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(skia_src_path)/effects/SkArithmeticMode.cpp',
|
2013-05-31 17:49:12 +00:00
|
|
|
'<(skia_src_path)/effects/SkAvoidXfermode.cpp',
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(skia_src_path)/effects/SkBitmapSource.cpp',
|
|
|
|
'<(skia_src_path)/effects/SkBlurDrawLooper.cpp',
|
|
|
|
'<(skia_src_path)/effects/SkBlurMask.cpp',
|
2014-01-31 16:16:22 +00:00
|
|
|
'<(skia_src_path)/effects/SkBlurMask.h',
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(skia_src_path)/effects/SkBlurImageFilter.cpp',
|
|
|
|
'<(skia_src_path)/effects/SkBlurMaskFilter.cpp',
|
2014-10-09 12:27:23 +00:00
|
|
|
'<(skia_src_path)/effects/SkColorCubeFilter.cpp',
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(skia_src_path)/effects/SkColorFilters.cpp',
|
|
|
|
'<(skia_src_path)/effects/SkColorFilterImageFilter.cpp',
|
|
|
|
'<(skia_src_path)/effects/SkColorMatrix.cpp',
|
|
|
|
'<(skia_src_path)/effects/SkColorMatrixFilter.cpp',
|
2013-08-07 00:07:51 +00:00
|
|
|
'<(skia_src_path)/effects/SkComposeImageFilter.cpp',
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(skia_src_path)/effects/SkCornerPathEffect.cpp',
|
|
|
|
'<(skia_src_path)/effects/SkDashPathEffect.cpp',
|
|
|
|
'<(skia_src_path)/effects/SkDiscretePathEffect.cpp',
|
2013-01-15 15:40:19 +00:00
|
|
|
'<(skia_src_path)/effects/SkDisplacementMapEffect.cpp',
|
2013-08-07 20:00:55 +00:00
|
|
|
'<(skia_src_path)/effects/SkDropShadowImageFilter.cpp',
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(skia_src_path)/effects/SkEmbossMask.cpp',
|
|
|
|
'<(skia_src_path)/effects/SkEmbossMask.h',
|
|
|
|
'<(skia_src_path)/effects/SkEmbossMask_Table.h',
|
|
|
|
'<(skia_src_path)/effects/SkEmbossMaskFilter.cpp',
|
2013-07-15 15:06:54 +00:00
|
|
|
'<(skia_src_path)/effects/SkGpuBlurUtils.h',
|
|
|
|
'<(skia_src_path)/effects/SkGpuBlurUtils.cpp',
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(skia_src_path)/effects/SkLayerDrawLooper.cpp',
|
|
|
|
'<(skia_src_path)/effects/SkLayerRasterizer.cpp',
|
2013-05-21 21:33:11 +00:00
|
|
|
'<(skia_src_path)/effects/SkLerpXfermode.cpp',
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(skia_src_path)/effects/SkLightingImageFilter.cpp',
|
2013-10-07 18:00:17 +00:00
|
|
|
'<(skia_src_path)/effects/SkLumaColorFilter.cpp',
|
2013-05-31 17:49:12 +00:00
|
|
|
'<(skia_src_path)/effects/SkMagnifierImageFilter.cpp',
|
2012-09-18 20:32:34 +00:00
|
|
|
'<(skia_src_path)/effects/SkMatrixConvolutionImageFilter.cpp',
|
2012-12-04 14:18:50 +00:00
|
|
|
'<(skia_src_path)/effects/SkMergeImageFilter.cpp',
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(skia_src_path)/effects/SkMorphologyImageFilter.cpp',
|
2012-12-04 14:18:50 +00:00
|
|
|
'<(skia_src_path)/effects/SkOffsetImageFilter.cpp',
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(skia_src_path)/effects/SkPaintFlagsDrawFilter.cpp',
|
2013-04-05 13:47:09 +00:00
|
|
|
'<(skia_src_path)/effects/SkPerlinNoiseShader.cpp',
|
2013-12-12 23:28:52 +00:00
|
|
|
'<(skia_src_path)/effects/SkPictureImageFilter.cpp',
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(skia_src_path)/effects/SkPixelXorXfermode.cpp',
|
|
|
|
'<(skia_src_path)/effects/SkPorterDuff.cpp',
|
2013-02-21 15:02:28 +00:00
|
|
|
'<(skia_src_path)/effects/SkRectShaderImageFilter.cpp',
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(skia_src_path)/effects/SkTableColorFilter.cpp',
|
|
|
|
'<(skia_src_path)/effects/SkTableMaskFilter.cpp',
|
|
|
|
'<(skia_src_path)/effects/SkTestImageFilters.cpp',
|
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@11475 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-26 16:09:28 +00:00
|
|
|
'<(skia_src_path)/effects/SkTileImageFilter.cpp',
|
2014-03-25 17:35:10 +00:00
|
|
|
'<(skia_src_path)/effects/SkMatrixImageFilter.cpp',
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(skia_src_path)/effects/SkTransparentShader.cpp',
|
2013-05-31 17:49:12 +00:00
|
|
|
'<(skia_src_path)/effects/SkXfermodeImageFilter.cpp',
|
2012-08-20 20:56:26 +00:00
|
|
|
|
|
|
|
'<(skia_src_path)/effects/gradients/SkClampRange.cpp',
|
|
|
|
'<(skia_src_path)/effects/gradients/SkClampRange.h',
|
|
|
|
'<(skia_src_path)/effects/gradients/SkRadialGradient_Table.h',
|
2014-08-21 17:50:25 +00:00
|
|
|
'<(skia_src_path)/effects/gradients/SkGradientBitmapCache.cpp',
|
|
|
|
'<(skia_src_path)/effects/gradients/SkGradientBitmapCache.h',
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(skia_src_path)/effects/gradients/SkGradientShader.cpp',
|
|
|
|
'<(skia_src_path)/effects/gradients/SkGradientShaderPriv.h',
|
|
|
|
'<(skia_src_path)/effects/gradients/SkLinearGradient.cpp',
|
|
|
|
'<(skia_src_path)/effects/gradients/SkLinearGradient.h',
|
|
|
|
'<(skia_src_path)/effects/gradients/SkRadialGradient.cpp',
|
|
|
|
'<(skia_src_path)/effects/gradients/SkRadialGradient.h',
|
|
|
|
'<(skia_src_path)/effects/gradients/SkTwoPointRadialGradient.cpp',
|
|
|
|
'<(skia_src_path)/effects/gradients/SkTwoPointRadialGradient.h',
|
|
|
|
'<(skia_src_path)/effects/gradients/SkTwoPointConicalGradient.cpp',
|
|
|
|
'<(skia_src_path)/effects/gradients/SkTwoPointConicalGradient.h',
|
2014-04-03 14:59:19 +00:00
|
|
|
'<(skia_src_path)/effects/gradients/SkTwoPointConicalGradient_gpu.cpp',
|
|
|
|
'<(skia_src_path)/effects/gradients/SkTwoPointConicalGradient_gpu.h',
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(skia_src_path)/effects/gradients/SkSweepGradient.cpp',
|
|
|
|
'<(skia_src_path)/effects/gradients/SkSweepGradient.h',
|
|
|
|
|
2012-08-20 21:35:00 +00:00
|
|
|
'<(skia_include_path)/effects/Sk1DPathEffect.h',
|
|
|
|
'<(skia_include_path)/effects/Sk2DPathEffect.h',
|
2013-05-31 17:49:12 +00:00
|
|
|
'<(skia_include_path)/effects/SkXfermodeImageFilter.h',
|
2014-01-06 23:41:14 +00:00
|
|
|
'<(skia_include_path)/effects/SkAlphaThresholdFilter.h',
|
2012-08-20 21:35:00 +00:00
|
|
|
'<(skia_include_path)/effects/SkArithmeticMode.h',
|
2013-05-31 17:49:12 +00:00
|
|
|
'<(skia_include_path)/effects/SkAvoidXfermode.h',
|
2012-08-20 21:35:00 +00:00
|
|
|
'<(skia_include_path)/effects/SkBitmapSource.h',
|
|
|
|
'<(skia_include_path)/effects/SkBlurDrawLooper.h',
|
|
|
|
'<(skia_include_path)/effects/SkBlurImageFilter.h',
|
|
|
|
'<(skia_include_path)/effects/SkBlurMaskFilter.h',
|
2014-10-09 12:27:23 +00:00
|
|
|
'<(skia_include_path)/effects/SkColorCubeFilter.h',
|
2012-08-20 21:35:00 +00:00
|
|
|
'<(skia_include_path)/effects/SkColorMatrix.h',
|
|
|
|
'<(skia_include_path)/effects/SkColorMatrixFilter.h',
|
|
|
|
'<(skia_include_path)/effects/SkColorFilterImageFilter.h',
|
|
|
|
'<(skia_include_path)/effects/SkCornerPathEffect.h',
|
|
|
|
'<(skia_include_path)/effects/SkDashPathEffect.h',
|
|
|
|
'<(skia_include_path)/effects/SkDiscretePathEffect.h',
|
2013-01-15 15:40:19 +00:00
|
|
|
'<(skia_include_path)/effects/SkDisplacementMapEffect.h',
|
2012-08-20 21:35:00 +00:00
|
|
|
'<(skia_include_path)/effects/SkDrawExtraPathEffect.h',
|
2013-08-07 20:00:55 +00:00
|
|
|
'<(skia_include_path)/effects/SkDropShadowImageFilter.h',
|
2012-08-20 21:35:00 +00:00
|
|
|
'<(skia_include_path)/effects/SkEmbossMaskFilter.h',
|
|
|
|
'<(skia_include_path)/effects/SkGradientShader.h',
|
|
|
|
'<(skia_include_path)/effects/SkLayerDrawLooper.h',
|
|
|
|
'<(skia_include_path)/effects/SkLayerRasterizer.h',
|
2013-05-21 21:33:11 +00:00
|
|
|
'<(skia_include_path)/effects/SkLerpXfermode.h',
|
2012-08-20 21:35:00 +00:00
|
|
|
'<(skia_include_path)/effects/SkLightingImageFilter.h',
|
2013-10-07 18:00:17 +00:00
|
|
|
'<(skia_include_path)/effects/SkLumaColorFilter.h',
|
2012-11-06 20:29:39 +00:00
|
|
|
'<(skia_include_path)/effects/SkOffsetImageFilter.h',
|
2012-08-20 21:35:00 +00:00
|
|
|
'<(skia_include_path)/effects/SkMorphologyImageFilter.h',
|
|
|
|
'<(skia_include_path)/effects/SkPaintFlagsDrawFilter.h',
|
2013-04-05 13:47:09 +00:00
|
|
|
'<(skia_include_path)/effects/SkPerlinNoiseShader.h',
|
2012-08-20 21:35:00 +00:00
|
|
|
'<(skia_include_path)/effects/SkPixelXorXfermode.h',
|
|
|
|
'<(skia_include_path)/effects/SkPorterDuff.h',
|
2013-02-21 15:02:28 +00:00
|
|
|
'<(skia_include_path)/effects/SkRectShaderImageFilter.h',
|
2012-08-20 21:35:00 +00:00
|
|
|
'<(skia_include_path)/effects/SkTableColorFilter.h',
|
|
|
|
'<(skia_include_path)/effects/SkTableMaskFilter.h',
|
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@11475 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-09-26 16:09:28 +00:00
|
|
|
'<(skia_include_path)/effects/SkTileImageFilter.h',
|
2012-08-20 21:35:00 +00:00
|
|
|
'<(skia_include_path)/effects/SkTransparentShader.h',
|
|
|
|
'<(skia_include_path)/effects/SkMagnifierImageFilter.h',
|
2012-08-20 20:56:26 +00:00
|
|
|
],
|
|
|
|
}
|