2016-10-26 18:17:04 +00:00
|
|
|
# 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")
|
2020-06-24 18:50:25 +00:00
|
|
|
_include = get_path_info("../include", "abspath")
|
2016-10-26 18:17:04 +00:00
|
|
|
|
|
|
|
skia_sksl_sources = [
|
2021-03-04 19:30:25 +00:00
|
|
|
"$_include/private/SkSLDefines.h",
|
2021-03-09 18:10:59 +00:00
|
|
|
"$_include/private/SkSLIRNode.h",
|
2021-03-04 19:30:25 +00:00
|
|
|
"$_include/private/SkSLLayout.h",
|
|
|
|
"$_include/private/SkSLModifiers.h",
|
2021-03-09 18:10:59 +00:00
|
|
|
"$_include/private/SkSLProgramElement.h",
|
2021-04-09 19:33:53 +00:00
|
|
|
"$_include/private/SkSLProgramKind.h",
|
2020-06-30 17:39:35 +00:00
|
|
|
"$_include/private/SkSLSampleUsage.h",
|
2021-03-09 18:10:59 +00:00
|
|
|
"$_include/private/SkSLStatement.h",
|
2021-03-04 19:30:25 +00:00
|
|
|
"$_include/private/SkSLString.h",
|
2021-03-09 18:10:59 +00:00
|
|
|
"$_include/private/SkSLSymbol.h",
|
2021-03-04 19:30:25 +00:00
|
|
|
"$_include/sksl/DSL.h",
|
|
|
|
"$_include/sksl/DSLBlock.h",
|
|
|
|
"$_include/sksl/DSLCase.h",
|
|
|
|
"$_include/sksl/DSLCore.h",
|
|
|
|
"$_include/sksl/DSLExpression.h",
|
|
|
|
"$_include/sksl/DSLFunction.h",
|
2021-05-10 20:17:22 +00:00
|
|
|
"$_include/sksl/DSLLayout.h",
|
2021-03-04 19:30:25 +00:00
|
|
|
"$_include/sksl/DSLModifiers.h",
|
|
|
|
"$_include/sksl/DSLStatement.h",
|
2021-06-10 16:07:34 +00:00
|
|
|
"$_include/sksl/DSLSymbols.h",
|
2021-03-04 19:30:25 +00:00
|
|
|
"$_include/sksl/DSLType.h",
|
|
|
|
"$_include/sksl/DSLVar.h",
|
2021-12-07 16:22:18 +00:00
|
|
|
"$_include/sksl/SkSLDebugTrace.h",
|
2021-08-13 21:29:51 +00:00
|
|
|
"$_include/sksl/SkSLErrorReporter.h",
|
2022-03-30 19:48:52 +00:00
|
|
|
"$_include/sksl/SkSLOperator.h",
|
2022-04-22 20:47:46 +00:00
|
|
|
"$_include/sksl/SkSLPosition.h",
|
2022-04-25 20:05:37 +00:00
|
|
|
"$_include/sksl/SkSLVersion.h",
|
2020-06-29 21:27:00 +00:00
|
|
|
"$_src/sksl/SkSLAnalysis.cpp",
|
|
|
|
"$_src/sksl/SkSLAnalysis.h",
|
2021-12-14 16:25:26 +00:00
|
|
|
"$_src/sksl/SkSLBuiltinMap.cpp",
|
|
|
|
"$_src/sksl/SkSLBuiltinMap.h",
|
2021-01-15 16:12:46 +00:00
|
|
|
"$_src/sksl/SkSLBuiltinTypes.cpp",
|
|
|
|
"$_src/sksl/SkSLBuiltinTypes.h",
|
2016-10-26 18:17:04 +00:00
|
|
|
"$_src/sksl/SkSLCompiler.cpp",
|
2020-06-02 16:29:20 +00:00
|
|
|
"$_src/sksl/SkSLCompiler.h",
|
2021-01-11 16:05:21 +00:00
|
|
|
"$_src/sksl/SkSLConstantFolder.cpp",
|
|
|
|
"$_src/sksl/SkSLConstantFolder.h",
|
2021-01-11 19:22:36 +00:00
|
|
|
"$_src/sksl/SkSLContext.cpp",
|
2020-06-02 16:29:20 +00:00
|
|
|
"$_src/sksl/SkSLContext.h",
|
2021-07-20 19:23:04 +00:00
|
|
|
"$_src/sksl/SkSLDSLParser.cpp",
|
|
|
|
"$_src/sksl/SkSLDSLParser.h",
|
2020-07-28 18:46:53 +00:00
|
|
|
"$_src/sksl/SkSLDehydrator.cpp",
|
2020-10-06 20:14:37 +00:00
|
|
|
"$_src/sksl/SkSLDehydrator.h",
|
2021-08-13 21:29:51 +00:00
|
|
|
"$_src/sksl/SkSLErrorReporter.cpp",
|
2020-06-02 16:29:20 +00:00
|
|
|
"$_src/sksl/SkSLFileOutputStream.h",
|
2021-11-17 22:34:43 +00:00
|
|
|
"$_src/sksl/SkSLGLSL.h",
|
2020-08-31 17:16:04 +00:00
|
|
|
"$_src/sksl/SkSLInliner.cpp",
|
|
|
|
"$_src/sksl/SkSLInliner.h",
|
2021-05-06 02:17:04 +00:00
|
|
|
"$_src/sksl/SkSLIntrinsicList.h",
|
2017-09-11 20:50:14 +00:00
|
|
|
"$_src/sksl/SkSLLexer.cpp",
|
2020-06-02 16:29:20 +00:00
|
|
|
"$_src/sksl/SkSLLexer.h",
|
2021-01-11 17:37:42 +00:00
|
|
|
"$_src/sksl/SkSLMangler.cpp",
|
2021-07-26 12:32:07 +00:00
|
|
|
"$_src/sksl/SkSLMangler.h",
|
2020-06-02 16:29:20 +00:00
|
|
|
"$_src/sksl/SkSLMemoryLayout.h",
|
2020-10-29 14:17:15 +00:00
|
|
|
"$_src/sksl/SkSLMemoryPool.h",
|
2021-07-26 12:32:07 +00:00
|
|
|
"$_src/sksl/SkSLModifiersPool.h",
|
2022-03-30 19:48:52 +00:00
|
|
|
"$_src/sksl/SkSLOperator.cpp",
|
2020-12-02 14:27:10 +00:00
|
|
|
"$_src/sksl/SkSLOutputStream.cpp",
|
|
|
|
"$_src/sksl/SkSLOutputStream.h",
|
2021-07-26 12:32:07 +00:00
|
|
|
"$_src/sksl/SkSLParsedModule.h",
|
Reland "Create a basic IRNode pooling system."
This is a reland of e16eca95f5c08c2bdf72cc0b04af62a1071afd8d
This fixes the no-op (iOS) implementation of CreatePoolOnThread.
Original change's description:
> Create a basic IRNode pooling system.
>
> Allocations are redirected by overriding `operator new` and `operator
> delete` on the IRNode class. This allows us to use our existing
> `unique_ptr` and `make_unique` calls as-is. The Pool class is simple;
> it holds a fixed number of nodes and recycles them as they are returned.
>
> A fixed pool size of 2000 nodes was chosen. That is large enough to hold
> the contents of `sksl_large` during compilation, but it can be
> overflowed by very large shaders, or if multiple programs are converted
> at the same time. Exhausting the pool is not a problem; if this happens,
> additional nodes will be allocated via the system allocator as usual.
> More elaborate schemes are possible but might not add a lot of value.
>
> Thread safety is accomplished by placing the pool in a `thread_local`
> static during a Program's creation and destruction; the pool is freed
> when the program is destroyed. One important consequence of this
> strategy is that a program must free every node that it allocated during
> its creation, or else the node will be leaked. In debug, leaking a node
> will be detected and causes a DEBUGFAIL. In release, the pool will be
> freed despite having a live node in it, and if that node is later freed,
> that pointer will be passed to the system `free` (which is likely to
> cause a crash).
>
> In this CL, iOS does not support pooling, since support for
> `thread_local` was only added on iOS 9. This is fixed in the followup
> CL, http://review.skia.org/328837, which uses pthread keys on iOS.
>
> Nanobench shows ~15% improvement:
> (last week) http://screen/5CNBhTaZApcDA8h
> (today) http://screen/8ti5Rymvf6LUs8i
>
> Change-Id: I559de73606ee1be54e5eae7f82129dc928a63e3c
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/326876
> Commit-Queue: John Stiles <johnstiles@google.com>
> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
> Auto-Submit: John Stiles <johnstiles@google.com>
Change-Id: I8623a574a7e92332ff00b83982497863c8953929
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/329171
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2020-10-22 15:09:15 +00:00
|
|
|
"$_src/sksl/SkSLPool.cpp",
|
|
|
|
"$_src/sksl/SkSLPool.h",
|
2022-03-17 14:01:59 +00:00
|
|
|
"$_src/sksl/SkSLPosition.cpp",
|
2021-07-26 12:32:07 +00:00
|
|
|
"$_src/sksl/SkSLProgramSettings.h",
|
2020-07-28 18:46:53 +00:00
|
|
|
"$_src/sksl/SkSLRehydrator.cpp",
|
2020-10-06 20:14:37 +00:00
|
|
|
"$_src/sksl/SkSLRehydrator.h",
|
2020-06-30 17:39:35 +00:00
|
|
|
"$_src/sksl/SkSLSampleUsage.cpp",
|
2021-12-08 14:42:09 +00:00
|
|
|
"$_src/sksl/SkSLSharedCompiler.cpp",
|
|
|
|
"$_src/sksl/SkSLSharedCompiler.h",
|
2017-03-31 17:56:23 +00:00
|
|
|
"$_src/sksl/SkSLString.cpp",
|
2020-06-02 16:29:20 +00:00
|
|
|
"$_src/sksl/SkSLStringStream.h",
|
2021-10-07 14:47:32 +00:00
|
|
|
"$_src/sksl/SkSLThreadContext.cpp",
|
|
|
|
"$_src/sksl/SkSLThreadContext.h",
|
2016-10-26 18:17:04 +00:00
|
|
|
"$_src/sksl/SkSLUtil.cpp",
|
2020-06-02 16:29:20 +00:00
|
|
|
"$_src/sksl/SkSLUtil.h",
|
2021-10-07 00:05:59 +00:00
|
|
|
"$_src/sksl/analysis/SkSLCanExitWithoutReturningValue.cpp",
|
2022-04-27 20:59:04 +00:00
|
|
|
"$_src/sksl/analysis/SkSLCheckProgramStructure.cpp",
|
2022-01-25 22:07:50 +00:00
|
|
|
"$_src/sksl/analysis/SkSLFinalizationChecks.cpp",
|
2021-10-07 00:06:22 +00:00
|
|
|
"$_src/sksl/analysis/SkSLGetLoopUnrollInfo.cpp",
|
2021-10-07 00:06:41 +00:00
|
|
|
"$_src/sksl/analysis/SkSLIsConstantExpression.cpp",
|
2022-04-05 17:57:51 +00:00
|
|
|
"$_src/sksl/analysis/SkSLIsSameExpressionTree.cpp",
|
2022-03-28 14:41:23 +00:00
|
|
|
"$_src/sksl/analysis/SkSLNoOpErrorReporter.h",
|
2021-10-06 19:52:11 +00:00
|
|
|
"$_src/sksl/analysis/SkSLProgramUsage.cpp",
|
2021-10-06 17:18:57 +00:00
|
|
|
"$_src/sksl/analysis/SkSLProgramVisitor.h",
|
2021-10-06 19:57:17 +00:00
|
|
|
"$_src/sksl/analysis/SkSLSwitchCaseContainsExit.cpp",
|
2021-04-13 14:41:57 +00:00
|
|
|
"$_src/sksl/codegen/SkSLVMCodeGenerator.cpp",
|
|
|
|
"$_src/sksl/codegen/SkSLVMCodeGenerator.h",
|
2021-01-22 20:18:25 +00:00
|
|
|
"$_src/sksl/dsl/DSLBlock.cpp",
|
2021-03-04 19:30:25 +00:00
|
|
|
"$_src/sksl/dsl/DSLCase.cpp",
|
2021-01-07 15:57:27 +00:00
|
|
|
"$_src/sksl/dsl/DSLCore.cpp",
|
|
|
|
"$_src/sksl/dsl/DSLExpression.cpp",
|
2021-01-28 15:02:43 +00:00
|
|
|
"$_src/sksl/dsl/DSLFunction.cpp",
|
2021-05-10 20:17:22 +00:00
|
|
|
"$_src/sksl/dsl/DSLLayout.cpp",
|
2021-01-22 20:18:25 +00:00
|
|
|
"$_src/sksl/dsl/DSLStatement.cpp",
|
2021-06-10 16:07:34 +00:00
|
|
|
"$_src/sksl/dsl/DSLSymbols.cpp",
|
2021-01-08 16:42:25 +00:00
|
|
|
"$_src/sksl/dsl/DSLType.cpp",
|
2021-01-11 20:42:44 +00:00
|
|
|
"$_src/sksl/dsl/DSLVar.cpp",
|
2021-01-07 15:57:27 +00:00
|
|
|
"$_src/sksl/dsl/priv/DSLWriter.cpp",
|
2021-02-01 15:18:20 +00:00
|
|
|
"$_src/sksl/dsl/priv/DSLWriter.h",
|
2021-03-01 14:27:48 +00:00
|
|
|
"$_src/sksl/ir/SkSLBinaryExpression.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLBinaryExpression.h",
|
2021-03-13 00:24:31 +00:00
|
|
|
"$_src/sksl/ir/SkSLBlock.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLBlock.h",
|
|
|
|
"$_src/sksl/ir/SkSLBreakStatement.h",
|
2021-08-04 15:34:16 +00:00
|
|
|
"$_src/sksl/ir/SkSLChildCall.cpp",
|
|
|
|
"$_src/sksl/ir/SkSLChildCall.h",
|
2020-09-29 16:41:35 +00:00
|
|
|
"$_src/sksl/ir/SkSLConstructor.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLConstructor.h",
|
2021-04-01 17:48:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLConstructorArray.cpp",
|
|
|
|
"$_src/sksl/ir/SkSLConstructorArray.h",
|
2021-08-05 14:35:01 +00:00
|
|
|
"$_src/sksl/ir/SkSLConstructorArrayCast.cpp",
|
|
|
|
"$_src/sksl/ir/SkSLConstructorArrayCast.h",
|
2021-04-07 16:31:13 +00:00
|
|
|
"$_src/sksl/ir/SkSLConstructorCompound.cpp",
|
|
|
|
"$_src/sksl/ir/SkSLConstructorCompound.h",
|
|
|
|
"$_src/sksl/ir/SkSLConstructorCompoundCast.cpp",
|
|
|
|
"$_src/sksl/ir/SkSLConstructorCompoundCast.h",
|
2021-03-31 02:09:37 +00:00
|
|
|
"$_src/sksl/ir/SkSLConstructorDiagonalMatrix.cpp",
|
|
|
|
"$_src/sksl/ir/SkSLConstructorDiagonalMatrix.h",
|
2021-04-06 17:47:19 +00:00
|
|
|
"$_src/sksl/ir/SkSLConstructorMatrixResize.cpp",
|
|
|
|
"$_src/sksl/ir/SkSLConstructorMatrixResize.h",
|
2021-04-05 02:24:40 +00:00
|
|
|
"$_src/sksl/ir/SkSLConstructorScalarCast.cpp",
|
|
|
|
"$_src/sksl/ir/SkSLConstructorScalarCast.h",
|
2021-04-01 22:58:25 +00:00
|
|
|
"$_src/sksl/ir/SkSLConstructorSplat.cpp",
|
|
|
|
"$_src/sksl/ir/SkSLConstructorSplat.h",
|
2021-04-09 03:25:52 +00:00
|
|
|
"$_src/sksl/ir/SkSLConstructorStruct.cpp",
|
|
|
|
"$_src/sksl/ir/SkSLConstructorStruct.h",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLContinueStatement.h",
|
|
|
|
"$_src/sksl/ir/SkSLDiscardStatement.h",
|
2021-02-26 16:18:20 +00:00
|
|
|
"$_src/sksl/ir/SkSLDoStatement.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLDoStatement.h",
|
2021-11-09 21:29:13 +00:00
|
|
|
"$_src/sksl/ir/SkSLExpression.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLExpression.h",
|
2021-02-26 01:52:03 +00:00
|
|
|
"$_src/sksl/ir/SkSLExpressionStatement.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLExpressionStatement.h",
|
|
|
|
"$_src/sksl/ir/SkSLExtension.h",
|
2021-04-13 13:42:05 +00:00
|
|
|
"$_src/sksl/ir/SkSLExternalFunction.h",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLExternalFunctionCall.h",
|
Strip down SkSL::ExternalValues, limit them to functions
Previously ExternalValues were flexible, and could be used as raw values
(with the ability to chain access via dot notation), or they could be
callable. The only non-test use-case has been for functions (in
particles) for a long time. With the push towards SkVM, limiting
ourselves to this interface simplifies things: external functions are
basically custom intrinsics (and with the SkVM backend, they'll just get
access to the builder, and be able to do any math, as well as
loads/stores, etc).
By narrowing the feature set, we can rename everything to reflect that,
and it's overall clearer (the SkSL types now mirror FunctionReference
and FunctionCall directly, particularly in how they're handled by the
CFG and inliner).
Change-Id: Ib5dd34158ff85aae6c297408a92ace5485a08190
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/350704
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2021-01-06 19:27:35 +00:00
|
|
|
"$_src/sksl/ir/SkSLExternalFunctionReference.h",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLField.h",
|
2021-03-08 14:18:21 +00:00
|
|
|
"$_src/sksl/ir/SkSLFieldAccess.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLFieldAccess.h",
|
2021-02-25 21:24:19 +00:00
|
|
|
"$_src/sksl/ir/SkSLForStatement.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLForStatement.h",
|
2021-03-19 14:54:59 +00:00
|
|
|
"$_src/sksl/ir/SkSLFunctionCall.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLFunctionCall.h",
|
2021-05-04 18:30:02 +00:00
|
|
|
"$_src/sksl/ir/SkSLFunctionDeclaration.cpp",
|
2020-10-13 15:14:08 +00:00
|
|
|
"$_src/sksl/ir/SkSLFunctionDeclaration.h",
|
2021-08-27 16:42:45 +00:00
|
|
|
"$_src/sksl/ir/SkSLFunctionDefinition.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLFunctionDefinition.h",
|
2020-11-03 17:18:22 +00:00
|
|
|
"$_src/sksl/ir/SkSLFunctionPrototype.h",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLFunctionReference.h",
|
2021-02-25 19:27:02 +00:00
|
|
|
"$_src/sksl/ir/SkSLIfStatement.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLIfStatement.h",
|
2021-03-08 14:18:07 +00:00
|
|
|
"$_src/sksl/ir/SkSLIndexExpression.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLIndexExpression.h",
|
|
|
|
"$_src/sksl/ir/SkSLInterfaceBlock.h",
|
Replace trio of XxxxLiteral types with a single Literal type.
Throughout SkSL we've begun using doubles as a convenient way to store
any SkSL value (int, float, bool) in a single type. This idea has now
been extended to literals. Rather than having three expression kinds for
integers, floats and boolean literals, we can have just one. These can
be accessed in a type-specific way (`floatValue`, `intValue`, and
`boolValue` return the expected type, or assert if it's not the
matching type), or in a type-agnostic way (`value` will return a double
and works on any type of Literal).
This allows us to remove a complex template trick (Literal<T> is gone),
removes two redundant Expression types, and and lets us reduce our code
size in ConstantFolder, FunctionCall, etc.
Most of the conversion process was pretty straightforward:
* `IntLiteral::Make` becomes `Literal::MakeInt`
* `x.is<IntLiteral>()` becomes `x.isIntLiteral()`
* `x.as<IntLiteral>.value()` becomes `x.as<Literal>.intValue()`
Change-Id: Ic328533611e4551669c7fc9d7f9c03e34699f3f6
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/447836
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-09-13 17:32:06 +00:00
|
|
|
"$_src/sksl/ir/SkSLLiteral.h",
|
2021-09-01 17:12:16 +00:00
|
|
|
"$_src/sksl/ir/SkSLMethodReference.h",
|
2021-10-14 13:38:06 +00:00
|
|
|
"$_src/sksl/ir/SkSLModifiers.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLModifiersDeclaration.h",
|
|
|
|
"$_src/sksl/ir/SkSLNop.h",
|
2021-06-25 16:31:44 +00:00
|
|
|
"$_src/sksl/ir/SkSLPoison.h",
|
2021-02-26 20:56:48 +00:00
|
|
|
"$_src/sksl/ir/SkSLPostfixExpression.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLPostfixExpression.h",
|
2020-11-05 16:56:03 +00:00
|
|
|
"$_src/sksl/ir/SkSLPrefixExpression.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLPrefixExpression.h",
|
|
|
|
"$_src/sksl/ir/SkSLProgram.h",
|
|
|
|
"$_src/sksl/ir/SkSLReturnStatement.h",
|
2017-06-29 14:03:38 +00:00
|
|
|
"$_src/sksl/ir/SkSLSetting.cpp",
|
2020-06-02 16:29:20 +00:00
|
|
|
"$_src/sksl/ir/SkSLSetting.h",
|
2020-11-25 21:24:55 +00:00
|
|
|
"$_src/sksl/ir/SkSLStructDefinition.h",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLSwitchCase.h",
|
2021-02-23 18:44:36 +00:00
|
|
|
"$_src/sksl/ir/SkSLSwitchStatement.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLSwitchStatement.h",
|
2021-02-19 19:09:38 +00:00
|
|
|
"$_src/sksl/ir/SkSLSwizzle.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLSwizzle.h",
|
2019-08-29 20:10:13 +00:00
|
|
|
"$_src/sksl/ir/SkSLSymbolTable.cpp",
|
2020-06-02 16:29:20 +00:00
|
|
|
"$_src/sksl/ir/SkSLSymbolTable.h",
|
2021-02-27 01:44:54 +00:00
|
|
|
"$_src/sksl/ir/SkSLTernaryExpression.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLTernaryExpression.h",
|
2016-10-26 18:17:04 +00:00
|
|
|
"$_src/sksl/ir/SkSLType.cpp",
|
2020-06-02 16:29:20 +00:00
|
|
|
"$_src/sksl/ir/SkSLType.h",
|
2021-10-04 16:43:39 +00:00
|
|
|
"$_src/sksl/ir/SkSLTypeReference.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLTypeReference.h",
|
|
|
|
"$_src/sksl/ir/SkSLUnresolvedFunction.h",
|
2021-03-19 22:39:25 +00:00
|
|
|
"$_src/sksl/ir/SkSLVarDeclarations.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLVarDeclarations.h",
|
2021-01-21 18:12:01 +00:00
|
|
|
"$_src/sksl/ir/SkSLVariable.cpp",
|
2020-08-13 16:04:15 +00:00
|
|
|
"$_src/sksl/ir/SkSLVariable.h",
|
2018-03-26 18:24:27 +00:00
|
|
|
"$_src/sksl/ir/SkSLVariableReference.cpp",
|
2020-06-02 16:29:20 +00:00
|
|
|
"$_src/sksl/ir/SkSLVariableReference.h",
|
2021-04-13 14:41:57 +00:00
|
|
|
"$_src/sksl/spirv.h",
|
2021-12-10 17:03:35 +00:00
|
|
|
"$_src/sksl/tracing/SkVMDebugTrace.cpp",
|
|
|
|
"$_src/sksl/tracing/SkVMDebugTrace.h",
|
2021-09-30 16:47:04 +00:00
|
|
|
"$_src/sksl/transform/SkSLBuiltinVariableScanner.cpp",
|
2021-10-07 00:37:39 +00:00
|
|
|
"$_src/sksl/transform/SkSLEliminateDeadFunctions.cpp",
|
|
|
|
"$_src/sksl/transform/SkSLEliminateDeadGlobalVariables.cpp",
|
2021-10-06 20:51:57 +00:00
|
|
|
"$_src/sksl/transform/SkSLEliminateDeadLocalVariables.cpp",
|
2022-05-13 14:51:38 +00:00
|
|
|
"$_src/sksl/transform/SkSLEliminateEmptyStatements.cpp",
|
2021-10-06 19:54:55 +00:00
|
|
|
"$_src/sksl/transform/SkSLEliminateUnreachableCode.cpp",
|
2021-09-30 16:47:04 +00:00
|
|
|
"$_src/sksl/transform/SkSLTransform.h",
|
2016-10-26 18:17:04 +00:00
|
|
|
]
|
2017-06-29 14:03:38 +00:00
|
|
|
|
2022-04-12 12:23:07 +00:00
|
|
|
skia_sksl_tracing_sources = [
|
|
|
|
"$_src/sksl/tracing/SkVMDebugTracePlayer.cpp",
|
|
|
|
"$_src/sksl/tracing/SkVMDebugTracePlayer.h",
|
|
|
|
]
|
|
|
|
|
2019-06-18 14:14:20 +00:00
|
|
|
skia_sksl_gpu_sources = [
|
2021-04-13 14:41:57 +00:00
|
|
|
"$_src/sksl/codegen/SkSLCodeGenerator.h",
|
|
|
|
"$_src/sksl/codegen/SkSLGLSLCodeGenerator.cpp",
|
|
|
|
"$_src/sksl/codegen/SkSLGLSLCodeGenerator.h",
|
|
|
|
"$_src/sksl/codegen/SkSLMetalCodeGenerator.cpp",
|
|
|
|
"$_src/sksl/codegen/SkSLMetalCodeGenerator.h",
|
|
|
|
"$_src/sksl/codegen/SkSLPipelineStageCodeGenerator.cpp",
|
|
|
|
"$_src/sksl/codegen/SkSLPipelineStageCodeGenerator.h",
|
|
|
|
"$_src/sksl/codegen/SkSLSPIRVCodeGenerator.cpp",
|
|
|
|
"$_src/sksl/codegen/SkSLSPIRVCodeGenerator.h",
|
|
|
|
"$_src/sksl/codegen/SkSLSPIRVtoHLSL.cpp",
|
|
|
|
"$_src/sksl/codegen/SkSLSPIRVtoHLSL.h",
|
2022-03-28 23:34:52 +00:00
|
|
|
"$_src/sksl/codegen/SkSLWGSLCodeGenerator.cpp",
|
|
|
|
"$_src/sksl/codegen/SkSLWGSLCodeGenerator.h",
|
2019-06-18 14:14:20 +00:00
|
|
|
]
|
2022-03-30 18:20:13 +00:00
|
|
|
|
|
|
|
skslc_deps = [
|
|
|
|
"$_src/core/SkArenaAlloc.cpp",
|
|
|
|
"$_src/core/SkBlockAllocator.cpp",
|
|
|
|
"$_src/core/SkCpu.cpp",
|
|
|
|
"$_src/core/SkData.cpp",
|
|
|
|
"$_src/core/SkHalf.cpp",
|
|
|
|
"$_src/core/SkMalloc.cpp",
|
|
|
|
"$_src/core/SkMath.cpp",
|
|
|
|
"$_src/core/SkMatrixInvert.cpp",
|
|
|
|
"$_src/core/SkSemaphore.cpp",
|
|
|
|
"$_src/core/SkStream.cpp",
|
|
|
|
"$_src/core/SkString.cpp",
|
|
|
|
"$_src/core/SkStringUtils.cpp",
|
|
|
|
"$_src/core/SkThreadID.cpp",
|
|
|
|
"$_src/core/SkUtils.cpp",
|
|
|
|
"$_src/core/SkVM.cpp",
|
2022-04-07 15:20:24 +00:00
|
|
|
"$_src/gpu/ganesh/GrMemoryPool.cpp",
|
2022-03-30 18:20:13 +00:00
|
|
|
"$_src/ports/SkMemory_malloc.cpp",
|
|
|
|
"$_src/ports/SkOSFile_stdio.cpp",
|
|
|
|
"$_src/utils/SkJSON.cpp",
|
|
|
|
"$_src/utils/SkJSONWriter.cpp",
|
2022-04-19 03:04:30 +00:00
|
|
|
"$_src/utils/SkOSPath.cpp",
|
2022-03-30 18:20:13 +00:00
|
|
|
"$_src/utils/SkParse.cpp",
|
|
|
|
"$_src/utils/SkShaderUtils.cpp",
|
|
|
|
"$_src/utils/SkUTF.cpp",
|
|
|
|
"$_src/utils/SkVMVisualizer.cpp",
|
|
|
|
]
|