9e6fc64988
The non-virtual filterColor4f handles premul and unpremul at the API boundary. onFilterColor4f always works on premul colors. To get the performance benefits, all color filters in a chain need to override the virtual. For now, WorkingFormatColorFilter is the other target, as builtin filters that use runtime effects are always wrapped with that. Net effect on matrix_filterColor4f timing: before: 10000 ns after : 380 ns Bug: skia:11730 Change-Id: I43d06f22c082636c4eca9e58dc3bc8225d09c910 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/383705 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Brian Osman <brianosman@google.com> |
||
---|---|---|
.. | ||
Sk1DPathEffect.h | ||
Sk2DPathEffect.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 |