[12.0] Target SkiaSharp 3.0. Drop 2.88 support (#18981)

* Retarget to SkiaSharp 3.0

* Replace SKFilterQuality with SKSamplingOptions

* Replace obsolete GRBackendRenderTarget ctor

* Replace SkiaMetalApi reflection with stable APIs

* Use SKMatrix4x4 where it makes more sense perf wise

* Add CS0618 warning as error for Skia

* Fix ToSKSamplingOptions implementation

* Remove hacky compile time condition

* Update API compat

* Remove maccatalyst hack

---------

Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
This commit is contained in:
Max Katz
2025-07-05 00:58:30 -07:00
committed by GitHub
parent 88bfecbee0
commit b644cee98f
16 changed files with 83 additions and 179 deletions
+1 -6
View File
@@ -1,10 +1,5 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Condition="'$(AvsIncludeSkiaSharp3)' != 'true'">
<PackageReference Include="SkiaSharp" Version="2.88.9" />
<PackageReference Condition="'$(IncludeLinuxSkia)' == 'true'" Include="SkiaSharp.NativeAssets.Linux" Version="2.88.9" />
<PackageReference Condition="'$(IncludeWasmSkia)' == 'true'" Include="SkiaSharp.NativeAssets.WebAssembly" Version="2.88.9" />
</ItemGroup>
<ItemGroup Condition="'$(AvsIncludeSkiaSharp3)' == 'true'">
<ItemGroup>
<PackageReference Include="SkiaSharp" Version="3.119.0" />
<PackageReference Condition="'$(IncludeLinuxSkia)' == 'true'" Include="SkiaSharp.NativeAssets.Linux" Version="3.119.0" />
<PackageReference Condition="'$(IncludeWasmSkia)' == 'true'" Include="SkiaSharp.NativeAssets.WebAssembly" Version="3.119.0" />