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

803 Коммитов

Автор SHA1 Сообщение Дата
Matthew Leibowitz 6da8aa7e8a Improve the hot path of the path iterators
Expose the raw pointers for the Next method so consumers can opt into a much more performant run.
2021-03-30 17:33:57 +02:00
Matthew Leibowitz 751bdf4303
Expose IsAbandoned in the C# API (#1659) 2021-03-15 10:25:16 +02:00
Matthew Leibowitz 8be3cd9602 Revert "Merge branch 'develop' into main"
This reverts commit 553cd1b5b8, reversing
changes made to 770964be7b.
2021-03-13 06:07:23 +02:00
Matthew Leibowitz 120b63c466 Merge branch 'main' into develop 2021-03-12 02:48:53 +02:00
Matthew Leibowitz 39af14bd27
Add Tests for Mobile (Android and iOS) (#1630)
* Updated Xcode
2021-02-18 15:10:08 +02:00
Matthew Leibowitz 5c539d553b Merge branch 'main' into develop 2021-02-12 02:29:00 +02:00
Matthew Leibowitz 0e4f6fedd4
Introduce some metal consistency (#1615)
* Use the shortened Mtl in the construcion type names because that is what we have done in the past :'(
* Use the longer Metal in the views layer :')
* Use GRMtlBackendContext as that is coming soon, so might as well get ahead
2021-02-07 13:49:30 +02:00
Matthew Leibowitz 9aab5dfcd4 Fixing a few debug asserts in the native code
- Make sure to abandon the context so no further calls to the GPU context is made
- Make sure to handle the case where the data is empty
2021-02-06 18:04:38 +02:00
Matthew Leibowitz 3d79f41272 Merge branch 'main' into develop 2021-02-05 11:04:27 +02:00
Matthew Leibowitz 24f4bb50e0 Add the SKRuntimeEffect API 2021-02-05 10:42:42 +02:00
Matthew Leibowitz 7af1e25bec Update to reflect the new branch name 2021-02-05 10:40:17 +02:00
Matthew Leibowitz 621c52043e
Expose GRContextOptions (#1529) 2021-02-04 17:59:13 +02:00
Matthew Leibowitz d2284246d2 Use WebGL for WASM 2021-02-03 08:38:53 +02:00
Matthew Leibowitz 5f34cbdec0 Merge branch 'master' into develop 2021-02-03 02:53:10 +02:00
Matthew Leibowitz 71aac17eb6
Add a few APIs that make things better later (#1603) 2021-02-03 00:16:43 +02:00
Matthew Leibowitz cf0647689e Fix last few unit tests
Additional color types were added and these have to be added into the conversion enums.
2021-02-02 21:01:17 +02:00
Matthew Leibowitz 0cd7fe5df2
Merge Metal APIs from main branch (#1598)
* Remove the externals/harfbuzz submodule (#1599)
* Add Metal APIs for macOS and iOS (#1394)
* docs: Add unoplatform references (#1602)
* Add a symlink for a "missing" file
2021-02-02 17:08:50 +02:00
Matthew Leibowitz 29e8f26751 Add Metal APIs for macOS and iOS (#1394) 2021-02-02 14:43:38 +02:00
Matthew Leibowitz 112025bbbe Revert "Add Metal APIs for macOS and iOS (#1394)"
This reverts commit 2a87a0d947.
2021-02-02 14:43:06 +02:00
Matthew Leibowitz 2a87a0d947
Add Metal APIs for macOS and iOS (#1394) 2021-02-02 13:59:41 +02:00
Matthew Leibowitz 8450b68e3f Re-gen the API 2021-02-01 20:33:54 +02:00
Matthew Leibowitz 0965a52116 Use the correct arg type 2021-02-01 05:31:38 +02:00
Matthew Leibowitz c311edea87 Update the managed API to match the C API 2021-01-29 04:09:40 +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 b43c95f604
Support VS 2013 because it is easy to do so (#1536)
Fixes #1532
2020-10-28 10:36:29 +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
Sergey Mikolaytis da57b9d8e4
Allow to create ANGLE GRGlInterface (#1519)
Allow to create Angle GRGlInterface from non UWP environment (WPF for an instance) from a new non deprecated Create() API.
Another option will be making AngleLoader public and use a CreateAngle (GRGlGetProcedureAddressDelegate get)
2020-10-04 19:01:14 +02:00
Matthew Leibowitz 0756cd9f23
Add bindings for the serialization of SKPicture (#1514)
Fixes #880
2020-09-30 22:49:56 +02:00
Matthew Leibowitz 2d811fb6d1
Update MSBuild.Sdk.Extras (#1511) 2020-09-27 17:28:47 +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 2019706296
Update Docs for v2.80.2 (#1493)
- updated the version of mono used to compile
- fixed an issue with the watchOS Xcode project and the new Xcode
2020-09-11 01:07:42 +02:00
Matthew Leibowitz 12ec572dc9
Check the correct directory for native libraries with ASP.NET (#1483)
* Added an MVC sample
* Check AppDomain.[RelativeSearchPath|BaseDirectory] for native dlls  
  This is used for runtimes that use app domains, such as IIS Express
* packages.config needs an actual nuget restore
2020-09-02 03:46:58 +02:00
Matthew Leibowitz d0562fc3d7
Add a few more GPU debugging members (#1478) 2020-08-25 14:34:58 +02:00
Matthew Leibowitz 575652945d
Expose SKGraphics for Debugging (#1473)
* Expose the basic properties of SKGraphics
* Added SKTraceMemoryDump
2020-08-21 21:14:20 +02:00
Matthew Leibowitz bc2b0a2ace
Make sure to overwrite the underlying pixel (#1457)
Fixes #1434
2020-08-11 15:13:37 +02:00
Matthew Leibowitz 67e322ed97
Revert the code for SetScaleTranslate (#1452) 2020-08-09 21:46:45 +02:00
Matthew Leibowitz adccd31c4f
Sometimes we can't return float, for some reason (#1453)
Fixes #1409
2020-08-09 21:44:45 +02:00
Matthew Leibowitz b5c12d6081
Use buildTransitive as well as build (#1440) 2020-08-02 09:38:07 +02:00
Matthew Leibowitz a9fa48caab
Add a replacement method (#1431)
Fixes #1415
2020-07-29 21:25:20 +02:00
Matthew Leibowitz 99356f9b7e
Add more Uno things (#1420) 2020-07-20 12:21:44 +02:00
Peter Verswyvelen 1530f48e8f
SKCanvas.DrawTextOnPath v2.80.1 iOS NullReferenceException (#1408) (#1410) 2020-07-16 12:44:41 +02:00
Matthew Leibowitz a7bbd09c36
Fix issue when creating SKData from a non-seekable stream (#1411) 2020-07-16 04:40:53 +02:00
Peter Verswyvelen ff3636a7bc
Fixed origin parameter is ignored in SKSurface.Create (#1404) 2020-07-15 03:35:32 +02:00
Matthew Leibowitz 9d17f42681
SKTypeface does not count bytes but glyphs (#1399)
Historically, SkTypeface.charsToGlyphs assumed the data was already in glyphs. So a UTF32 data array would pass the number of glyphs. Since that method was removed, we switched to SkFont.textToGlyphs. This worked in bytes. As a result, we need to make sure we convert from glyph count to byte count when we use it.
2020-07-14 02:16:50 +02:00
Matthew Leibowitz 364f92eea3
Create a WASM package (#1389) 2020-07-08 18:08:26 +02:00
Matthew Leibowitz aa6a178701
Instead of asking for the context, find it
Related to #1388
2020-07-08 13:52:51 +02:00
Matthew Leibowitz 39bde0d18a
Explicitly request GL ES 3.x in case we have it (#1388) 2020-07-08 06:45:28 +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
Matthew Leibowitz 63855d4c92
Keep the text blob builder alive (#1365) 2020-06-29 19:17:37 +02:00