skia2/modules/particles
Brian Osman be0b3b7363 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-07 14:28:41 +00:00
..
include Strip down SkSL::ExternalValues, limit them to functions 2021-01-07 14:28:41 +00:00
src Strip down SkSL::ExternalValues, limit them to functions 2021-01-07 14:28:41 +00:00
BUILD.gn Always use Skia's Vulkan headers when compiling particles module 2020-07-07 20:44:34 +00:00
particles.gni Remove SkCurve and SkColorCurve 2019-10-08 15:38:20 +00:00