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

3137 Коммитов

Автор SHA1 Сообщение Дата
Matthew Leibowitz 4f0bd198f0
Merge branch 'main' into dev/mt-main 2024-09-19 03:20:56 +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
Matthew Leibowitz bfd166e463
Create similarissues.yml (#2851) 2024-05-03 22:19:50 +08:00
Fxplorer 8a59d53c7a
fix typo in README.dib (#2839) 2024-04-28 11:56:01 +02:00
Matthew Leibowitz aa4f2ffedb
Expose SKBlender (#2830) 2024-04-15 23:50:36 +02:00
Matthew Leibowitz a0f3767c96
Update skia to m116 (#2829) 2024-04-15 12:28:32 +02:00
Matthew Leibowitz bef2eab4ef
GRMtlTextureInfo should have readonly getters (#2833) 2024-04-14 23:49:35 +02:00
Matthew Leibowitz 0a5739a528
Validate the generated interop files (#2831) 2024-04-13 08:49:41 +02:00
Max Katz 63141bfff4
Bring Metal APIs to a common .NET TFM (#2788)
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2024-04-08 21:09:21 +02:00
Matthew Leibowitz 647403d6dc
Add and remove the compatibility APIs (#2789) 2024-04-08 21:08:57 +02:00
Alberto Rodríguez a290ccffc7
Expose Blazor components dpi (#1832) 2024-04-02 16:16:14 +02:00
Matthew Leibowitz 510e738015
Installing Java is troublesome, so avoid it (#2815)
There are some sort of weird corruption issues on macOS
2024-03-29 20:26:47 +02:00