37b5f3b164
DSLType is now a simple wrapper around SkSL::Type*. Previously, its type was determined through a combination of a Type* and a TypeConstant enum, and fSkSLType == nullptr was used as a sentinel to mean "use the type constant instead", which meant that we couldn't have a null DSLType as it would fall back to the type-constant. We can now return `DSLType(nullptr)` to indicate an error case in type handling code, instead of needing to wrap the DSLType in an optional<>. Change-Id: Iebaab86162b526a7fcb93d253367a7e4881ef6d0 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/545781 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com> |
||
---|---|---|
.. | ||
android | ||
c | ||
codec | ||
config | ||
core | ||
docs | ||
effects | ||
encode | ||
gpu | ||
pathops | ||
ports | ||
private | ||
sksl | ||
svg | ||
third_party | ||
utils | ||
BUILD.bazel | ||
OWNERS |