Граф коммитов

3143 Коммитов

Автор SHA1 Сообщение Дата
Matthew Leibowitz b31199bb64
Update harfbuzz to 8.3.1 (#3052) 2024-11-06 23:10:22 +08:00
Matthew Leibowitz f9bf451276
Bump the version of the packages to 3.118 (#3050) 2024-11-05 23:38:36 +08:00
Matthew Leibowitz 0cbe6a4505
Update skia to Milestone 118 (#3048)
* Updated the C# API with the new C APIs

* Update README.md with new milestone numbers

* Fixed test

* Update externals
2024-11-04 15:15:22 +02:00
Matthew Leibowitz 8de547b6a5
Update skia to milestone 117 (#3047)
* Update the interop API after the update

* Update the C# API after the update

* More API changes

* Tests

* Update externals

* Update readme
2024-10-28 22:02:09 +08:00
Matthew Leibowitz 9bea7b2be3
Add support for multi-thread and/or SIMD WebAssembly (#2620)
* Add support for multi-thread wasm blazor

* Order the folder name parts (#2774)

* this

* handle the matrix of st/mt and /simd/non-simd

* Merge remote-tracking branch 'origin/main' into dev/mt-main

# Conflicts:
#	scripts/azure-templates-stages.yml

* wasm things

* Added a sample
2024-10-28 19:48:39 +08:00
Alexandr 44d6780f28
Add SKMatrix.MapPoints/MapVectors, SKPath.AddPoly overloads with Span<SKPoint> (#3030)
When you nead maps several points without heap allocation and with only one pInvoke

*Add SKMatrix  tests

Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2024-10-28 19:45:12 +08:00
Jonathan Dick 69aaac126a
Update skia (#3026)
* Update skia

* Update with the fix

* Try bump this

* this maybe

* Use a newer debian and newer tools

* need to look at the other one

* try this

* older one for now

* new xcode

* older things

---------

Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2024-10-25 10:41:15 +08:00
David Sungaila 2f6bc0132a
Revert SKBitmap.Encode with SKPngEncoderOptions to previous behavior (2.88.8) (#3014)
* Revert SKBitmap.Encode with SKPngEncoderOptions to previous behavior

* Update SKPixmap.cs

---------

Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2024-10-23 20:40:26 +08:00
Matthew Leibowitz 4d4e70db09
Update bug-report.yml 2024-09-28 22:23:22 +08:00
Matthew Leibowitz 008cac10c1
Update bug-report.yml (#3022) 2024-09-28 22:21:35 +08:00
Jérôme Laban 767c3c3632
feat: Add support for .NET 9 (#3010)
Builds binaries for emscripten 3.1.56 used by .NET 9
2024-09-21 12:09:53 +08:00
Matthew Leibowitz 60b07b722e
Use the new GLControl packages for WinForms (#2989) 2024-09-19 02:04:14 +08:00
Max Katz 9cbf9c80b7
Function pointers and LibraryImport (#2917)
* Update generator to emit function pointers

* Regenerate interop files

* Enable USE_LIBRARY_IMPORT in HarfBuzzSharp

* Enable USE_LIBRARY_IMPORT on SkiaSharp

* Set DisableRuntimeMarshalling on HarfBuzzSharp

* Replace remaining DllImports with LibraryImport on SkiaSharp

* Set DisableRuntimeMarshalling on SkiaSharp as well

* Fix missed proxy definition

* Regenerate skia api with a correct submodule version

* Collections literals are not supported on the CI .NET SDK

* An attempt to fix Tizen build

* Forgot about partial

* Set UnmanagedType.LPStr on evas_gl_proc_address_get instead

* Set USE_LIBRARY_IMPORT on remaining projects too

* Update generator tool to generate DelegateProxy as well

* Regenerate HarfBuzz and SkiaSharp with new DelegateProxy source gen

* Regenerate other projects as well

* Add `protected internal` to test classes too, since this project has InternalsVisibleTo configured

* Disable DelegateTypesAreValid and DelegateTypesHaveAttributes tests on .NET 7+ build, see comments

* Reduce warnings noise

* Update binding/SkiaSharp/GRGlInterface.cs

Co-authored-by: Filip Navara <filip.navara@gmail.com>

* Add missing USE_LIBRARY_IMPORT defines

* Update binding/SkiaSharp/GRGlInterface.cs

* Also needs USE_LIBRARY_IMPORT

---------

Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
Co-authored-by: Filip Navara <filip.navara@gmail.com>
2024-08-21 23:16:05 +08:00
Matthew Leibowitz 6058ab0c79
Don't fail Mac Catalyst just so we can go green (#2975) 2024-08-19 19:47:53 +08:00
Matthew Leibowitz 40b0f57852
Update SDK, workloads and projects (#2971) 2024-08-17 01:53:38 +08:00
Youssef Victor e5675c9539
Add compatibility overloads for SKFilterQuality (#2963) 2024-08-17 01:20:05 +08:00
Matthew Leibowitz 054d48e7a3
Make sure ANGLE reaches the nugets (#2970)
After #2950 landed, the native artifacts were not downloaded and included in the general native collection step.
2024-08-17 01:18:50 +08:00
Matthew Leibowitz 2961933ac0
Install workloads with diagnostic (#2969) 2024-08-17 01:17:23 +08:00
Matthew Leibowitz 8cf8bcb61c
Improve stability of CI (#2959) 2024-07-29 14:48:02 +02:00
Matthew Leibowitz ccde024b62
Fix memory leaks in MAUI views (#2955)
Fixes #2923
2024-07-26 16:14:49 +08:00
Matthew Leibowitz d3a6ae9491
Create a rebase bot (#2957) 2024-07-26 00:34:56 +08:00
Matthew Leibowitz 171e086a89
Update .NET to 8.0 (#2927)
* Update the Dockerfiles
* Use newer Xcode
* Update Blazor WASM Sample
* Update Uno Samples
2024-07-26 00:28:28 +08:00
Matthew Leibowitz 8f901fde6b
Download the native artifacts for _NativeAssets (#2954) 2024-07-23 16:49:18 +02:00
Matthew Leibowitz e3ab2e4580
Build ANGLE separately (#2950)
* Build ANGLE separately

The public CI agents are now running out of space.

* Update build.cake
2024-07-19 19:38:02 +02:00
Youssef Victor 215abb5464
Provide Span overload for SetRectRadii (#2949) 2024-07-19 14:24:17 +02:00
Matthew Leibowitz 9fde53e5f1
Update IBufferByteAccess for AOT (#2920)
Fixes https://github.com/microsoft/CsWinRT/issues/1645
2024-07-18 21:57:03 +02:00
Matthew Leibowitz a1f734d7fb
Update the signing template (#2932) (#2946) 2024-07-17 15:25:29 +02:00
Matthew Leibowitz a805bc272f
Fix CI (#2938) 2024-07-10 21:06:58 +02:00
Matthew Leibowitz fc63970966
Fix the download artifacts script (#2935) 2024-07-10 14:38:31 +02:00
Matthew Leibowitz 96c6071cef
Skip building Tizen on Linux (#2934)
Fixes https://github.com/mono/SkiaSharp/issues/2933
2024-07-10 06:58:07 +02:00
Matthew Leibowitz 7e5ba2adcd
Authenticate Docker (#2929) (#2930) 2024-07-08 20:21:10 +02:00
Jeremy Powell 58b618c2cd
Fix AVE disposing cloned SKPaint (#2904)
Clone should operate on SkCompatPaint
2024-07-08 14:35:00 +02:00
Matthew Leibowitz fe42add846
Update Tizen Studio (#2926) 2024-07-06 02:42:49 +08:00
Matthew Leibowitz 3ace63b183
Do not stretch the background (#2922)
* Do not stretch the background

When resizing a view, the background will be stretched making the image distorted and not a great experience.

This PR make sure to never scale the background brush and rather keep it top-left aligned.

* Update SKXamlCanvas.cs

* Scale the brush instead of stretching it
2024-07-05 16:18:32 +08:00
Matthew Leibowitz 5feff85cda
Use the SKPaint.FilterQuality for the SamplingOptions in obsolete methods (#2924) 2024-07-05 16:16:58 +08:00
Youssef Victor c264c449b8
Fix SKXamlCanvas on Uno Skia to use Bgra8888 (#2918)
* Fix SKXamlCanvas on Uno Skia to use Bgra8888
* Fix build
2024-07-03 23:07:13 +02:00
Matthew Leibowitz 463dd82027
Add R-Tree overload of beginRecording (#2889)
* Add R-Tree overload for BeginRecording

* Fix the tests

* Update skia
2024-06-18 11:09:50 +02:00
Matthew Leibowitz 5b31788346
Re-generate APIs (#2891) 2024-06-04 17:21:40 +02:00
Matthew Leibowitz c27367ab18
Make unit tests more reliable (#2890) 2024-06-04 17:17:00 +02:00
Phill Djonov 7c5b9efe5f
Fix the GetKerningPairAdjustments API. (#2858)
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2024-06-03 17:36:40 +02:00
Matthew Leibowitz c62991932c
Add more SKPicture APIs (#2883)
Adding a few new APIs to help with determining picture and drawable "size" 
as well as adding the `Playback` method to `SKPicture`.

The playback method is different to draw in that draw results in a single
"draw the picture" command, but playback effectively replicates what
was done to create the picture. There is a small different to the latter
in that the picture may optimize/combine commands as well as split 
commands to best fit into the picture's storage.
2024-06-03 17:15:28 +02:00
Matthew Leibowitz bc19136df6
Update skia external (#2885) 2024-06-03 17:00:48 +02:00
Matthew Leibowitz 5e18068118
Add spans to the color filters (#2879) 2024-06-03 16:23:38 +02:00
Jérôme Laban 8e7a51dc04
fix: XamlRoot may be null when the SKXamlCanvas is unloaded (#2854)
* fix: XamlRoot may be null when the SKXamlCanvas is unloaded

* chore: Adjust more xamlroot uses

---------

Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2024-06-03 16:22:23 +02:00
Matthew Leibowitz 258a6f62bd
Use the new license expressions (#2878) 2024-06-03 13:13:15 +02:00
Matthew Leibowitz 6c5db069ee
Disable more unused tools (#2880) 2024-06-01 07:08:13 +02:00
Matthew Leibowitz 48cefebe88
Remove some unused dependencies (#2876) 2024-05-31 17:43:39 +02:00
Matthew Leibowitz 9ff20528f9
Remove usage of `gsutil` (#2875)
* Remove the usage of gsutil

The tool brings in dependencies which we don't want, so just use the URI
directly to get the file.

* verbosity pass through
2024-05-30 18:04:30 +02:00
Matthew Leibowitz b6e477b383
Disable the unused and problematic tools (#2873)
* Disable the unused and problematic tools

The Go modules are all far out of date and some tooling is reporting the
repo as having security issues. We do not use any part of Go, EMSDK or
perfetto in the SkiaSharp project.

In an ideal world we don't have to make changes and there is a special
flag that exists for us to "disable all issues", but that does not exist
and trying to make that flag work only on CI is unnecessary. We can just
delete the few places that are having issues.
2024-05-29 03:35:53 +08:00
Matthew Leibowitz 1760351123
Only process assemblies that exist (#2864) 2024-05-20 20:21:07 +08:00