* 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
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>
* 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>
* 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>
* 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
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.
* fix: XamlRoot may be null when the SKXamlCanvas is unloaded
* chore: Adjust more xamlroot uses
---------
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
* 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
* 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.