* 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>
This was a large set of changes, both to the code as well as to new
requirements. The changes included:
- Updated skia
- Updated depot_tools (and this also needed changes
- Added/chnaged/removed C++ types
- Re-generated C# pinvokes
- Minimum OS versions changed:
- Android: 21 (v5.0)
- macOS: 10.13 (High Sierra)
- Tizen: 6.0
- tvOS: 11.0
- Debiam: 10 (Buster)
- Updated macOS build agent to macOS 13 with Xcode 14.3.1
- Updated the Android NDK to r25c
- Updated Tizen Studio to 5.1
- Ninja is now a required dependency and not included in depot_tools
- Python is now used to run ninja instead of ninja run directly
* Merge and modernize the binding projects
* Remove UWP and watchOS
* Add the native assets projects
* Rename bootstrapper.ps1 to build.ps1
* Add new device tests
* Rework the test skipping feature
---------
Co-authored-by: Jerome Laban <jerome.laban@nventive.com>
* 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>
A few changes and improvements:
- add some helper members
- improved the SKBitmap.CopyTo and related members
- added Encode(...) to SKBitmap
- added Encode(...) with a .NET Stream to SKBitmap, SKImage and SKPixmap
- start the move from SKEncoding to SKTextEncoding
- added more tests
- generator now has a validator for ensuring all declarations have implementations
- added equality members to all structs
Bugs Fixed
- Bitmaps copied with SKBitmap.Copy sometimes have incorrect colors
- The GC would sometimes collect a stream that was being used by a PDF document
* Make more members readonly (the generator now makes the equality members readonly)
* split the SKMatrix file into SKMatrix44, SKRotationScaleMatrix, SK3dView
* split the SKColorSpace structs/classes into a separate file
* reworked/renamed all the poorly designed SKMatrix (and related) members to be actually useful
* Make sure the obsolete items are invisible
* Make sure everything implements IEquatable<T>
* Update docs and changelogs
* ISKGLViewController is public
* Generator
- getters readonly
- implement IEquatable
* Improve a few parts of the managed API
- mark obsolete members as invisible to the editor
- make struct getters readonly
- implement struct equality/hashcodes
- SKColor calculations use the SKColorF implementations
- some whitespace fixes to conform to styles
- split SKPMColor out into a new file
* Adding SKColorF
* Improve the generator's sort
* Add SKColorF for SKPixmap
* Add the SKShader overloads and add some ToShader members
* Add some test for the SKColorF shaders
* 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>