82c99d19a2
We take advantage of their shared SkFlattenable lineage to store all three types of object in the same sk_sp, and check their Flattenable type to distinguish between them. Accessors allow us to mimic the coding style of having three distinct fields. Change-Id: I16426377f10fa2abffbf09bb7998c968614433df Reviewed-on: https://skia-review.googlesource.com/c/skia/+/435019 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> |
||
---|---|---|
.. | ||
android | ||
c | ||
codec | ||
config | ||
core | ||
docs | ||
effects | ||
encode | ||
gpu | ||
pathops | ||
ports | ||
private | ||
sksl | ||
svg | ||
third_party | ||
utils |