2015-03-25 17:22:41 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
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': [
|
2015-09-15 17:20:55 +00:00
|
|
|
'<(skia_src_path)/effects/GrCircleBlurFragmentProcessor.cpp',
|
|
|
|
'<(skia_src_path)/effects/GrCircleBlurFragmentProcessor.h',
|
2016-04-18 14:20:05 +00:00
|
|
|
'<(skia_src_path)/effects/GrAlphaThresholdFragmentProcessor.cpp',
|
|
|
|
'<(skia_src_path)/effects/GrAlphaThresholdFragmentProcessor.h',
|
2015-09-15 17:20:55 +00:00
|
|
|
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(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',
|
2014-12-17 09:47:32 +00:00
|
|
|
'<(skia_src_path)/effects/SkArcToPathEffect.cpp',
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(skia_src_path)/effects/SkArithmeticMode.cpp',
|
2015-01-14 18:49:18 +00:00
|
|
|
'<(skia_src_path)/effects/SkArithmeticMode_gpu.cpp',
|
|
|
|
'<(skia_src_path)/effects/SkArithmeticMode_gpu.h',
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(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/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',
|
2015-09-14 20:31:18 +00:00
|
|
|
'<(skia_src_path)/effects/SkImageSource.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',
|
|
|
|
'<(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',
|
2016-02-23 20:55:20 +00:00
|
|
|
'<(skia_src_path)/effects/SkPackBits.cpp',
|
|
|
|
'<(skia_src_path)/effects/SkPackBits.h',
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(skia_src_path)/effects/SkPaintFlagsDrawFilter.cpp',
|
2016-01-08 22:58:35 +00:00
|
|
|
'<(skia_src_path)/effects/SkPaintImageFilter.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/SkTableColorFilter.cpp',
|
2016-07-18 15:18:50 +00:00
|
|
|
'<(skia_src_path)/effects/SkTableMaskFilter.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',
|
2013-05-31 17:49:12 +00:00
|
|
|
'<(skia_src_path)/effects/SkXfermodeImageFilter.cpp',
|
2012-08-20 20:56:26 +00:00
|
|
|
|
2016-02-22 17:12:33 +00:00
|
|
|
'<(skia_src_path)/effects/gradients/Sk4fGradientBase.cpp',
|
|
|
|
'<(skia_src_path)/effects/gradients/Sk4fGradientBase.h',
|
2016-03-10 19:18:43 +00:00
|
|
|
'<(skia_src_path)/effects/gradients/Sk4fGradientPriv.h',
|
2016-02-22 17:12:33 +00:00
|
|
|
'<(skia_src_path)/effects/gradients/Sk4fLinearGradient.cpp',
|
|
|
|
'<(skia_src_path)/effects/gradients/Sk4fLinearGradient.h',
|
2012-08-20 20:56:26 +00:00
|
|
|
'<(skia_src_path)/effects/gradients/SkClampRange.cpp',
|
|
|
|
'<(skia_src_path)/effects/gradients/SkClampRange.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/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',
|
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',
|
|
|
|
'<(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',
|
2016-02-01 20:09:07 +00:00
|
|
|
'<(skia_include_path)/effects/SkColorFilterImageFilter.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/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',
|
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',
|
2015-09-14 20:31:18 +00:00
|
|
|
'<(skia_include_path)/effects/SkImageSource.h',
|
2012-08-20 21:35:00 +00:00
|
|
|
'<(skia_include_path)/effects/SkLayerDrawLooper.h',
|
|
|
|
'<(skia_include_path)/effects/SkLayerRasterizer.h',
|
|
|
|
'<(skia_include_path)/effects/SkLightingImageFilter.h',
|
2013-10-07 18:00:17 +00:00
|
|
|
'<(skia_include_path)/effects/SkLumaColorFilter.h',
|
2015-07-13 20:16:44 +00:00
|
|
|
'<(skia_include_path)/effects/SkMagnifierImageFilter.h',
|
2012-08-20 21:35:00 +00:00
|
|
|
'<(skia_include_path)/effects/SkMorphologyImageFilter.h',
|
2015-07-13 20:16:44 +00:00
|
|
|
'<(skia_include_path)/effects/SkOffsetImageFilter.h',
|
2012-08-20 21:35:00 +00:00
|
|
|
'<(skia_include_path)/effects/SkPaintFlagsDrawFilter.h',
|
2016-01-08 22:58:35 +00:00
|
|
|
'<(skia_include_path)/effects/SkPaintImageFilter.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/SkTableColorFilter.h',
|
2016-07-18 15:18:50 +00:00
|
|
|
'<(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',
|
2015-07-13 20:16:44 +00:00
|
|
|
'<(skia_include_path)/effects/SkXfermodeImageFilter.h',
|
2012-08-20 20:56:26 +00:00
|
|
|
],
|
|
|
|
}
|