Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SkiaSharp 3.0 support #15503

Open
2 of 8 tasks
maxkatz6 opened this issue Apr 25, 2024 · 1 comment
Open
2 of 8 tasks

SkiaSharp 3.0 support #15503

maxkatz6 opened this issue Apr 25, 2024 · 1 comment

Comments

@maxkatz6
Copy link
Member

maxkatz6 commented Apr 25, 2024

Is your feature request related to a problem? Please describe.

Tracking issue on SkiaSharp 3.0 support status.

11.x Timeline

12.0 Target

  • Drop support for 2.88.x, only target 3.0
  • Adjust code base to efficiently use SkiaSharp 3.0 features. Avoid double conversion with SKMatrix44.
  • Use stable APIs for Metal rendering instead of reflection (only available in SkiaSharp 3.0)

Known issues with SkiaSharp 3.0 on Avalonia:

  • Bitmap drawing ignores interpolation mode, as we need to use new API with SKSamplingOptions to support that. paint.FilterQuality is a no-op.
  • Developers, who want to try SkiaSharp 3.0, need to manually include NativeAssets packages for their target platforms. It will be automatically solved once we remove 2.88 support. For example, for Linux it would be:
<PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="3.0.0-preview.3.1" />
@mattleibow
Copy link
Contributor

I can have a look at mapping filter quality to sampling options like I do with the draw methods

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants