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> |
||
---|---|---|
.. | ||
Sk1DPathEffect.h | ||
Sk2DPathEffect.h | ||
SkBlenders.h | ||
SkBlurDrawLooper.h | ||
SkBlurMaskFilter.h | ||
SkColorMatrix.h | ||
SkColorMatrixFilter.h | ||
SkCornerPathEffect.h | ||
SkDashPathEffect.h | ||
SkDiscretePathEffect.h | ||
SkGradientShader.h | ||
SkHighContrastFilter.h | ||
SkImageFilters.h | ||
SkLayerDrawLooper.h | ||
SkLumaColorFilter.h | ||
SkOpPathEffect.h | ||
SkOverdrawColorFilter.h | ||
SkPerlinNoiseShader.h | ||
SkRuntimeEffect.h | ||
SkShaderMaskFilter.h | ||
SkStrokeAndFillPathEffect.h | ||
SkTableColorFilter.h | ||
SkTableMaskFilter.h | ||
SkTrimPathEffect.h |