skia2/gn/effects.gni
Mike Reed 26ea975e6c Arithmetic blender
... to aid in removing special ArithmeticImageFilter.

Can we use something like this to reimpl the ArithmeticImageFilter
--> BlenderImageFilter?

I see some special checking in filterBounds for ArithIF -- is that
required? Is that generalizable for any BlenderImageFilter?
If we can generalize blend[er]imagefilter, let's just move this
logic into Chrome -- no need for Arithmetic to appear in Skia
in any form!

Re: https://skia-review.googlesource.com/c/skia/+/424436

Change-Id: Ifa0ff2fa25de6385f6f60505e73ecc28463a80b3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/424417
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
2021-07-08 17:06:17 +00:00

70 lines
2.7 KiB
Plaintext

# Copyright 2016 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Things are easiest for everyone if these source paths are absolute.
_src = get_path_info("../src", "abspath")
_include = get_path_info("../include", "abspath")
skia_effects_public = [
"$_include/effects/Sk1DPathEffect.h",
"$_include/effects/Sk2DPathEffect.h",
"$_include/effects/SkBlenders.h",
"$_include/effects/SkBlurMaskFilter.h",
"$_include/effects/SkColorMatrix.h",
"$_include/effects/SkColorMatrixFilter.h",
"$_include/effects/SkCornerPathEffect.h",
"$_include/effects/SkDashPathEffect.h",
"$_include/effects/SkDiscretePathEffect.h",
"$_include/effects/SkGradientShader.h",
"$_include/effects/SkHighContrastFilter.h",
"$_include/effects/SkLumaColorFilter.h",
"$_include/effects/SkOverdrawColorFilter.h",
"$_include/effects/SkPerlinNoiseShader.h",
"$_include/effects/SkRuntimeEffect.h",
"$_include/effects/SkShaderMaskFilter.h",
"$_include/effects/SkTableColorFilter.h",
"$_include/effects/SkTableMaskFilter.h",
]
skia_effects_sources = [
"$_src/c/sk_effects.cpp",
"$_src/effects/Sk1DPathEffect.cpp",
"$_src/effects/Sk2DPathEffect.cpp",
"$_src/effects/SkBlenders.cpp",
"$_src/effects/SkColorMatrix.cpp",
"$_src/effects/SkColorMatrixFilter.cpp",
"$_src/effects/SkCornerPathEffect.cpp",
"$_src/effects/SkDashPathEffect.cpp",
"$_src/effects/SkDiscretePathEffect.cpp",
"$_src/effects/SkEmbossMask.cpp",
"$_src/effects/SkEmbossMask.h",
"$_src/effects/SkEmbossMaskFilter.cpp",
"$_src/effects/SkHighContrastFilter.cpp",
"$_src/effects/SkLayerDrawLooper.cpp",
"$_src/effects/SkLumaColorFilter.cpp",
"$_src/effects/SkOpPathEffect.cpp",
"$_src/effects/SkOverdrawColorFilter.cpp",
"$_src/effects/SkShaderMaskFilter.cpp",
"$_src/effects/SkTableColorFilter.cpp",
"$_src/effects/SkTableMaskFilter.cpp",
"$_src/effects/SkTrimPathEffect.cpp",
"$_src/shaders/SkPerlinNoiseShader.cpp",
"$_src/shaders/gradients/Sk4fGradientBase.cpp",
"$_src/shaders/gradients/Sk4fGradientBase.h",
"$_src/shaders/gradients/Sk4fGradientPriv.h",
"$_src/shaders/gradients/Sk4fLinearGradient.cpp",
"$_src/shaders/gradients/Sk4fLinearGradient.h",
"$_src/shaders/gradients/SkGradientShader.cpp",
"$_src/shaders/gradients/SkGradientShaderPriv.h",
"$_src/shaders/gradients/SkLinearGradient.cpp",
"$_src/shaders/gradients/SkLinearGradient.h",
"$_src/shaders/gradients/SkRadialGradient.cpp",
"$_src/shaders/gradients/SkRadialGradient.h",
"$_src/shaders/gradients/SkSweepGradient.cpp",
"$_src/shaders/gradients/SkSweepGradient.h",
"$_src/shaders/gradients/SkTwoPointConicalGradient.cpp",
"$_src/shaders/gradients/SkTwoPointConicalGradient.h",
]