b08cc024cd
It's slower, but code size is quite a bit smaller, memory usage is smaller, and we think that mapping it to SkVM is just as easy. This effectively reverts all of the following commits: "Fix gcc9 warning around size of memset." https://skia-review.googlesource.com/c/skia/+/279861 "Remove unused (and misleading) 'instruction' from SkSLInterpreter.h" https://skia-review.googlesource.com/c/skia/+/278177 "Interpreter: Fix intrinsics when called with vector types" https://skia-review.googlesource.com/c/skia/+/272721 "Make it easier to add vector versions of byte code instructions" https://skia-review.googlesource.com/c/skia/+/272527 "Interpreter: Support returns from runStriped" https://skia-review.googlesource.com/c/skia/+/268941 "add SkSLInterpreter vector instructions" https://skia-review.googlesource.com/c/skia/+/266560 "Fix crash when editing particle scripts" https://skia-review.googlesource.com/c/skia/+/269487 "Revert "Revert "Complete rewrite of the SkSL interpreter""" https://skia-review.googlesource.com/c/skia/+/266205 Change-Id: I4258596399c4ca94489d4faf8aacfec88afeee13 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/281205 Reviewed-by: Mike Klein <mtklein@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
72 lines
2.8 KiB
Plaintext
72 lines
2.8 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")
|
|
|
|
skia_sksl_sources = [
|
|
"$_src/sksl/SkSLASTNode.cpp",
|
|
"$_src/sksl/SkSLByteCode.cpp",
|
|
"$_src/sksl/SkSLByteCodeGenerator.cpp",
|
|
"$_src/sksl/SkSLCFGGenerator.cpp",
|
|
"$_src/sksl/SkSLCompiler.cpp",
|
|
"$_src/sksl/SkSLIRGenerator.cpp",
|
|
"$_src/sksl/SkSLLexer.cpp",
|
|
"$_src/sksl/SkSLParser.cpp",
|
|
"$_src/sksl/SkSLSectionAndParameterHelper.cpp",
|
|
"$_src/sksl/SkSLString.cpp",
|
|
"$_src/sksl/SkSLUtil.cpp",
|
|
"$_src/sksl/ir/SkSLSetting.cpp",
|
|
"$_src/sksl/ir/SkSLSymbolTable.cpp",
|
|
"$_src/sksl/ir/SkSLType.cpp",
|
|
"$_src/sksl/ir/SkSLVariableReference.cpp",
|
|
]
|
|
|
|
skia_sksl_gpu_sources = [
|
|
"$_src/sksl/SkSLCPPCodeGenerator.cpp",
|
|
"$_src/sksl/SkSLCPPUniformCTypes.cpp",
|
|
"$_src/sksl/SkSLGLSLCodeGenerator.cpp",
|
|
"$_src/sksl/SkSLHCodeGenerator.cpp",
|
|
"$_src/sksl/SkSLMetalCodeGenerator.cpp",
|
|
"$_src/sksl/SkSLOutputStream.cpp",
|
|
"$_src/sksl/SkSLPipelineStageCodeGenerator.cpp",
|
|
"$_src/sksl/SkSLSPIRVCodeGenerator.cpp",
|
|
"$_src/sksl/SkSLSPIRVtoHLSL.cpp",
|
|
]
|
|
|
|
skia_gpu_processor_sources = [
|
|
"$_src/gpu/effects/GrAARectEffect.fp",
|
|
"$_src/gpu/effects/GrAlphaThresholdFragmentProcessor.fp",
|
|
"$_src/gpu/effects/GrBlurredEdgeFragmentProcessor.fp",
|
|
"$_src/gpu/effects/GrCircleBlurFragmentProcessor.fp",
|
|
"$_src/gpu/effects/GrCircleEffect.fp",
|
|
"$_src/gpu/effects/GrClampFragmentProcessor.fp",
|
|
"$_src/gpu/effects/GrColorMatrixFragmentProcessor.fp",
|
|
"$_src/gpu/effects/GrComposeLerpEffect.fp",
|
|
"$_src/gpu/effects/GrConfigConversionEffect.fp",
|
|
"$_src/gpu/effects/GrConstColorProcessor.fp",
|
|
"$_src/gpu/effects/GrDeviceSpaceEffect.fp",
|
|
"$_src/gpu/effects/GrEllipseEffect.fp",
|
|
"$_src/gpu/effects/GrHSLToRGBFilterEffect.fp",
|
|
"$_src/gpu/effects/GrLumaColorFilterEffect.fp",
|
|
"$_src/gpu/effects/GrMagnifierEffect.fp",
|
|
"$_src/gpu/effects/GrMixerEffect.fp",
|
|
"$_src/gpu/effects/GrOverrideInputFragmentProcessor.fp",
|
|
"$_src/gpu/effects/GrPremulInputFragmentProcessor.fp",
|
|
"$_src/gpu/effects/GrRGBToHSLFilterEffect.fp",
|
|
"$_src/gpu/effects/GrRRectBlurEffect.fp",
|
|
"$_src/gpu/effects/GrRectBlurEffect.fp",
|
|
"$_src/gpu/gradients/GrClampedGradientEffect.fp",
|
|
"$_src/gpu/gradients/GrDualIntervalGradientColorizer.fp",
|
|
"$_src/gpu/gradients/GrLinearGradientLayout.fp",
|
|
"$_src/gpu/gradients/GrRadialGradientLayout.fp",
|
|
"$_src/gpu/gradients/GrSingleIntervalGradientColorizer.fp",
|
|
"$_src/gpu/gradients/GrSweepGradientLayout.fp",
|
|
"$_src/gpu/gradients/GrTextureGradientColorizer.fp",
|
|
"$_src/gpu/gradients/GrTiledGradientEffect.fp",
|
|
"$_src/gpu/gradients/GrTwoPointConicalGradientLayout.fp",
|
|
"$_src/gpu/gradients/GrUnrolledBinaryGradientColorizer.fp",
|
|
]
|