skia2/include/sksl
Ethan Nicholas 80f6235688 Fixed an issue with passing DSLVar as a DSL function parameter
DSLVar is normally implicitly converted to DSLExpression wherever it is
used, but the naively template-ized nature of DSLFunction::operator()
meant that it was accepting DSLVar parameters directly. Since DSLVar is
non-copyable, this meant DSLVar couldn't be passed directly to a DSL
function.

The smarter templates in this change are able to pass DSLVar by
reference.

Change-Id: Id04531f909cefd29b377c46e37fc4525bb29953c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/394161
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2021-04-09 17:13:27 +00:00
..
DSL.h Made SkSL DSL into public API 2021-03-04 21:03:58 +00:00
DSLBlock.h Made SkSL DSL into public API 2021-03-04 21:03:58 +00:00
DSLCase.h Made SkSL DSL into public API 2021-03-04 21:03:58 +00:00
DSLCore.h DSL var values are now specified at construction time rather than in 2021-03-05 21:47:28 +00:00
DSLErrorHandling.h DSL var values are now specified at construction time rather than in 2021-03-05 21:47:28 +00:00
DSLExpression.h Refactored DSL variable creation 2021-03-25 23:02:04 +00:00
DSLFunction.h Fixed an issue with passing DSLVar as a DSL function parameter 2021-04-09 17:13:27 +00:00
DSLModifiers.h Refactored DSL variable creation 2021-03-25 23:02:04 +00:00
DSLStatement.h Fixed an issue with DSL includes 2021-03-09 20:07:00 +00:00
DSLType.h Added _Type suffix to DSL Type enum 2021-04-08 21:55:05 +00:00
DSLVar.h Refactored DSL variable creation 2021-03-25 23:02:04 +00:00