mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #10472] refactor: cache the resize image filter #12503
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/10472
State: closed
Merged: Yes
Changes
Judging by https://github.com/mono/SkiaSharp/issues/829#issuecomment-504835148, it's safe to cache SKImageFilter. We could also cache SKPaint but we would need an object pool since it isn't thread safe.