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

93 Коммитов

Автор SHA1 Сообщение Дата
Matthew Leibowitz 297d6bfc5b
Add nullable attributes, TimeSpan and overloads to Skottie (#2119)
* Add nullable attibutes and overloads to Skottie

* Changed Duration to TimeSpan

* Update xample to use new APIs
2022-06-20 08:06:56 +02:00
Matthew Leibowitz 4683ac719e
Move Skottie and SceneGraph out of the core SkiaSharp.dll (#2091) 2022-06-03 17:53:57 +02:00
Matthew Leibowitz ff5239a007
Merge the "classic" projects (#2092) 2022-06-02 19:02:14 +02:00
Jérôme Laban cda59a8fb3
feat: Add basic Skottie support (#1987)
* feat: Add basic Skottie support
* chore: Adjust skottie SKStream support
* ci: Adjust apple targets
* chore: Adjust apple targets
* chore: Adjust tizen targets
* chore: Adjust APIs, add tests, align with new memory management functions
* chore: Adjust for updated API name in sample
* chore: Adjust test values
* chore: Adjust AnimationRenderFlags generation
* chore: Fix linux skottie export map
* ci: Update skia submodule
2022-05-31 22:40:16 +02:00
Jérôme Laban a6c2d0fb07
Add WinUI support (#2042)
Co-authored-by: Pavel Anpin <pavel@apes.ge>
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2022-05-27 23:41:24 +02:00
Matthew Leibowitz f58bfce42f Revert "Add WinUI support (#2042)"
This reverts commit 7b3e8f3375.
2022-05-27 23:40:27 +02:00
Matthew Leibowitz 7b3e8f3375 Add WinUI support (#2042)
Co-authored-by: Pavel Anpin <pavel@apes.ge>
Co-authored-by: Jerome Laban <jerome.laban@nventive.com>
2022-05-27 23:33:54 +02:00
Matthew Leibowitz 9eec9652fc
Update maui to Preview 12 (#1932) 2022-01-27 01:44:17 +02:00
Jérôme Laban fffae82cf6
Bumps to Uno 4.0 (#1873) 2021-12-17 04:31:00 +02:00
Matthew Leibowitz 85613e728c
Update all the things (#1842) 2021-10-28 18:38:56 +02:00
Matthew Leibowitz ce7778c0c4
Support ASP.NET Blazor Web Assembly Components (#1811) 2021-10-11 11:08:38 +02:00
Matthew Leibowitz 7533b54bb1
Bump Maui to RC 2 / P9 (#1815) 2021-09-28 02:08:21 +02:00
Matthew Leibowitz 789cb44726 Merge remote-tracking branch 'origin/patch/v2.80.4' 2021-09-14 01:20:17 +02:00
Matthew Leibowitz 45e4894fb0
ANGLE now has another output zlib1.dll (#1807) 2021-09-14 01:15:41 +02:00
Matthew Leibowitz 83b8b2c274
Add support for Xamarin.Forms on netcoreapp3.1 (#1774) 2021-08-19 06:38:17 +02:00
Matthew Leibowitz 80860aacf3
Add support for SKXamlCanvas on Uno Platform SkiaSharp backends v2.0 (#1634) (#1704)
* fix: [Uno] SKXamlCanvas is now a Canvas
* feat: Add support for SKXamlCanvas when running on SkiaSharp based backends
   This enables SKXamlCanvas for Uno Platform's support for for GTK (Linux, Windows, macOS), WPF and Tizen, for Uno 3.6 and later.
* feat: Add Uno Skia samples
* bump uno samples to latest uno.ui for VS 16.10 pre3 changes
* Update Uno all packages
* ci: adjust for wasm net5
* fix: Update WPF sample
* Remove unsupported tizen sample
* chore: Update to Uno.UI 3.7.6 to fix invalid SkiaSharp.Views dependency
* Update llvm to v11.1


Co-authored-by: Jerome Laban <jerome.laban@nventive.com>
2021-06-11 13:23:50 +02:00
Matthew Leibowitz 1916562ba5
Update Uno (#1708) 2021-05-23 04:40:52 +02:00
Matthew Leibowitz 4e9a505aef
Update to .NET 5.0 (#1697) 2021-05-08 01:49:57 +02:00
Matthew Leibowitz 14bd67945e
Refactor the Android surface factory (#1617)
* Reuse the same backing bitmap logic for Android
* remove the duplicate code
* fix a bug when the view is removed then re-added
* Update samples to net472
2021-02-13 00:03:38 +02:00
Matthew Leibowitz 66ed32a5a0
Build and include all the emscripten version for WASM (#1590)
* Build for the most common Emscripten versions
* Update MSBuild.Sdk.Extras for .NET 5
* Do not rely on WasmHead to detect WebAssembly (#1550)

Co-authored-by: Jerome Laban <jerome.laban@nventive.com>
2021-01-27 06:07:39 +02:00
Matthew Leibowitz fef54f6e37
Generate the interop with harfbuzz (#1447)
* Improve the generator
* Fix up for WASM
* Some fixes for the cookies
* Add support for HarfBuzzSharp on WASM
* New Xcode
* Add a basic HarfBuzz test
2020-10-07 15:34:05 +02:00
Matthew Leibowitz 74a31ace5c
Update Uno Platform to v3.0 (#1489)
Co-authored-by: Jerome Laban <jerome.laban@nventive.com>
Co-authored-by: Jérôme Laban <jlaban@gmail.com>
2020-10-01 17:56:09 +02:00
Matthew Leibowitz 61b71d6e48
Don't allocate arrays when copying streams (#1510)
- Use the array pool
- Use Span to copy native memory
- Fixes #1509
2020-09-26 19:06:36 +02:00
Matthew Leibowitz c0952f9036
Use the version of OpenTK that is correctly sn (#1480)
Fixes #1479
2020-08-25 04:46:29 +02:00
Matthew Leibowitz a9fa48caab
Add a replacement method (#1431)
Fixes #1415
2020-07-29 21:25:20 +02:00
Matthew Leibowitz b3f5975cd8
Add the GPU views for Uno Platform (#1429)
* Add the GPU views for the platforms
* Add the render loop for the platforms
* Fix the samples for infinite recursion
* Added the GL views to the gallery
2020-07-27 18:46:04 +02:00
Matthew Leibowitz 1fa3daddcc
Update the Uno package versions (#1426) 2020-07-24 03:57:30 +02:00
Matthew Leibowitz b84f667eae
Add WASM Support for Uno Platform (#1333)
Co-authored-by: Jérôme Laban <jerome.laban@nventive.com>
Co-authored-by: Geoffrey Huntley <ghuntley@ghuntley.com>
Co-authored-by: Martin Zikmund <martin@zikmund.dev>
2020-07-21 03:22:38 +02:00
Matthew Leibowitz 99356f9b7e
Add more Uno things (#1420) 2020-07-20 12:21:44 +02:00
Matthew Leibowitz c908d6d71d
Update the version of Clang used to build for Tizen (#1386) 2020-07-07 19:15:40 +02:00
Matthew Leibowitz 35a7522bf8
Fix Packaging (#1366)
* Move non-netcoreapp native files into build
* Update samples
* Fix iOS GL interface assembler
2020-06-30 17:02:03 +02:00
Tyson Williams 695c35270e
SkiaSharpSample project now default startup project in the WPF SkiaSharpSample solution (#1369) 2020-06-30 06:18:57 +02:00
Matthew Leibowitz a5d30e95a6
Build SkiaSharp for Win32 ARM64 (#1358)
* Build SkiaSharp for Win32 ARM64
* Drop net45 so we can use new and more performant things
2020-06-27 02:41:26 +02:00
Matthew Leibowitz 69c89d555e
Don't embed libSkiaSharp in the assemblies (#1296)
* Don't embed libSkiaSharp in the dlls
* Update the samples to use the new .targets
* Update forms
2020-06-10 21:03:56 +02:00
Matthew Leibowitz 282638783f
Update Samples (#1313)
* Update samples (new things, AndroidX, updated versions)
* Update icons
* Move away from all obsolete uses
* Temporary workaround for https://developercommunity.visualstudio.com/content/problem/1057547/incorrect-file-validation-for-the-installappleprov.html
* Fix the API diff
2020-06-03 23:30:51 +02:00
Peter Verswyvelen 38f2220edb
Implemented SKCanvas.DrawTextOnPath (#1198)
Google deleted `DrawTextOnPath` so this PR adds it back along with other text-related APIs.
 - Added an overload for `SKCanvas.DrawTextOnPath` that disables glyph warping
 - Wrapped the `ArrayPool<T>.Shared` logic into a disposable util method
 - Renamed `SKFont.GetPath` to `SKFont.GetTextPath` so that it makes more sense
 - Added `SKFont.GetTextPathOnPath` to get the text path, but following another path instance (warps glyphs)
 - Removed/obsoleted the non-glyph overloads for `SKTextBlobBuilder.Add*Run`
 - Added a set of `SKTextBlob.Create` overloads that are used to make "string" runs
 - A few other small changes to make the API better
 - Fixes #1183
2020-05-15 00:16:53 +02:00
Matthew Leibowitz 5e48f0dea2
Add the expected overload for newer versions XF.Tizen (#1117)
- Updating Xamarin.Forms to v4.4.0.991757
- Work around the portable PDB issue for UWP for now
2020-03-15 15:24:45 +02:00
Matthew Leibowitz b2d486ad17
Update Xamarin.Forms to v4.2.0.910310 (#1109)
* Use mono 6.4.0
* Things have moved around in Forms
2020-01-19 06:42:42 +02:00
Matthew Leibowitz e84ba47396
Upgrade to VS2019 and .NET Core 3.0 (#1030)
* Upgraded a good few things
 - multitargeting for netstandard1.3, netstandard2.0, netcoreapp3.0 and net45
 - iOS, tvOS, macOS, watchOS now builds on non-macOS (not embedded binaries)
 - removed empty assembly infos
 - using Directory.Build.* to clean up a few things
 - improved the msbuild tasks to properly skip
* Add the targets file to the nuget
* Let all the tests run before failing the build
* Pack and validate in one go
* Update the samples to use the new projects
* Use VS 2017 for native builds for now
* Update Dockerfiles
* removed references from Views.WPF to OpenTK #1029 (#1078)
* Install the type redirector
* Update depot_tools
* Don't do any signing for macOS

Co-authored-by: Tyson Williams <34664007+bender2k14@users.noreply.github.com>
2019-12-22 18:50:47 +02:00
Tyson Williams 7fe55eb3ee Remove an unused argument of type TaskScheduler from AnimatedSampleBase (#1063) 2019-12-14 03:46:49 +02:00
Tyson Williams 1403ad8ee0 suffices to start the rotation matrix as the identity matrix (#1062) 2019-12-14 03:41:25 +02:00
Matthew Leibowitz 83ba22c84f
Updated all the samples (#1021)
* Updated all the samples with new things
* Update the docs
2019-11-21 21:26:38 +02:00
Matthew Leibowitz c10c7394a2
Some of the colorspaces created are just references (#922)
* Some of the colorspaces created are just references
  - SRGB and SRGB Linear colorspaces are static and should never be disposed
* Fix concurrent disposal and creation
  - In some cases, a new native object is created with the same memory location while the 
    managed instances is still being disposed. In this case, we cannot remove the managed
    instance from the dictionary, since it is not the current object being disposed anymore.
  - SKColorSpace has some members that should not be disposed, since they are static on the
    native side. Just, there is no docs for this, so calling dispose will crash everything.
  - Added the logic to make sure that all static objects are created before anything, so we can 
    get a handle on them and make sure they are static managed instances.
* Make sure the objects are not collected when using spans
2019-09-24 01:34:44 +02:00
Matthew Leibowitz e6b7934556
Add the WPF backend for Xamarin.Forms (#917)
Add a new NuGet
- add a targets file to the nuget to warn if the platform packages were not installed

Update the pipeline:
- use build artifacts everywhere
- just disable tizen for Windows
2019-07-26 15:05:54 +02:00
Matthew Leibowitz ec5f04fea1
Update Xamarin.Forms (#916)
- so we can update OpenTK
- so we can add WPF and GTK
2019-07-23 14:19:25 +02:00
Matthew Leibowitz 5e8dc3e2c9
Split the desktop projects and packages (#899)
* Removed v2.3.1 and renamed Flags to BufferFlags
* Updated some API and Doc
* Add Gtk3 views
* Reworked the samples logic
 - handle the more varied project structure
 - build the generated zip to test it
 - always use the local nuget cache
* macOS is always Any CPU
* Rename SKWidget to SKDrawingArea for GTK#3
 - this allows us to have a single moniker for docs
 - it indicates that it is not quite the same as the widget in GTK#2
 - is is more specific so we can have more GTK# controls
* merge all the views (except forms) into a single moniker so it is better for browsing in the docs portal
* SK3dView is not actually obsolete :)
* Add readmes to the samples
2019-07-23 03:02:20 +02:00
Benedikt Schroeder 5377b4bf36 Update HarfBuzz to v2.5.2 (#872)
Switched to clang for Android and Linux
2019-06-22 21:05:28 +02:00
Matthew Leibowitz 650f2e43f7
Update some versions and fix the sample builds (#869)
- Xamarin.Forms is now the last v3.x (v3.6)
 - Build using the latest Android (v9.0)
 - Update UWP samples so they can build again
2019-06-21 02:20:42 +02:00
Matthew Leibowitz 87bd5c6d01
Moving Documentation to SkiaSharp-API-docs (#843)
* Added the docs repo submodule
2019-05-17 11:53:05 -07:00
Matthew Leibowitz 276e7ca13b
UWP also requires the platform NuGet 2019-01-16 17:55:24 +02:00