Skip to content

Commit ae1a4b9

Browse files
committed
This is the September 2021 Update (v2.8.0) (#604)
* Update common.props * Update bindings for 2.8 * Update common.props * Update common.props * Fix build
1 parent a8d1cab commit ae1a4b9

File tree

68 files changed

+2019
-290
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+2019
-290
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ jobs:
2929
- name: Install Workloads
3030
# TODO: This is slow. Maybe we can make a docker container with this already done?
3131
run: dotnet workload install android android-aot ios maccatalyst maui
32-
- name: Setup NUKE
33-
run: dotnet tool install Nuke.GlobalTool --global
3432
- name: Pack
3533
run: nuke Pack --msbuild-properties ContinuousIntegrationBuild=true SilkEnableSourceLink=true --feature-sets Legacy-Android Legacy-iOS
3634
- name: Upload Unsigned Artifacts to Actions

Silk.NET.sln

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Silk.NET.OpenXR.Extensions.
452452
EndProject
453453
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TriangleNET6", "src\Lab\Experiments\TriangleNET6\TriangleNET6.csproj", "{477046D2-AF81-4E2B-83BD-20176A971FDD}"
454454
EndProject
455+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.OpenCL.Extensions.POCL", "src\OpenCL\Extensions\Silk.NET.OpenCL.Extensions.POCL\Silk.NET.OpenCL.Extensions.POCL.csproj", "{8881342D-6247-4826-9963-87D4B029ECB6}"
456+
EndProject
455457
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.OpenAL.Tests", "src\OpenAL\Silk.NET.OpenAL.Tests\Silk.NET.OpenAL.Tests.csproj", "{514DED00-4DA3-46D1-B2E8-10CE826CD52D}"
456458
EndProject
457459
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "OpenGL Demos", "OpenGL Demos", "{2F547104-C74A-4A84-8980-D1B973CC40C1}"
@@ -2709,6 +2711,18 @@ Global
27092711
{477046D2-AF81-4E2B-83BD-20176A971FDD}.Release|x64.Build.0 = Release|Any CPU
27102712
{477046D2-AF81-4E2B-83BD-20176A971FDD}.Release|x86.ActiveCfg = Release|Any CPU
27112713
{477046D2-AF81-4E2B-83BD-20176A971FDD}.Release|x86.Build.0 = Release|Any CPU
2714+
{8881342D-6247-4826-9963-87D4B029ECB6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2715+
{8881342D-6247-4826-9963-87D4B029ECB6}.Debug|Any CPU.Build.0 = Debug|Any CPU
2716+
{8881342D-6247-4826-9963-87D4B029ECB6}.Debug|x64.ActiveCfg = Debug|Any CPU
2717+
{8881342D-6247-4826-9963-87D4B029ECB6}.Debug|x64.Build.0 = Debug|Any CPU
2718+
{8881342D-6247-4826-9963-87D4B029ECB6}.Debug|x86.ActiveCfg = Debug|Any CPU
2719+
{8881342D-6247-4826-9963-87D4B029ECB6}.Debug|x86.Build.0 = Debug|Any CPU
2720+
{8881342D-6247-4826-9963-87D4B029ECB6}.Release|Any CPU.ActiveCfg = Release|Any CPU
2721+
{8881342D-6247-4826-9963-87D4B029ECB6}.Release|Any CPU.Build.0 = Release|Any CPU
2722+
{8881342D-6247-4826-9963-87D4B029ECB6}.Release|x64.ActiveCfg = Release|Any CPU
2723+
{8881342D-6247-4826-9963-87D4B029ECB6}.Release|x64.Build.0 = Release|Any CPU
2724+
{8881342D-6247-4826-9963-87D4B029ECB6}.Release|x86.ActiveCfg = Release|Any CPU
2725+
{8881342D-6247-4826-9963-87D4B029ECB6}.Release|x86.Build.0 = Release|Any CPU
27122726
{514DED00-4DA3-46D1-B2E8-10CE826CD52D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27132727
{514DED00-4DA3-46D1-B2E8-10CE826CD52D}.Debug|Any CPU.Build.0 = Debug|Any CPU
27142728
{514DED00-4DA3-46D1-B2E8-10CE826CD52D}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -2939,6 +2953,7 @@ Global
29392953
{AE5A7BBD-E303-46C4-9DDC-29E80C9128F5} = {90471225-AC23-424E-B62E-F6EC4C6ECAC0}
29402954
{0D1E5AD9-E329-4B84-A5FE-FC1EE33BF038} = {90471225-AC23-424E-B62E-F6EC4C6ECAC0}
29412955
{477046D2-AF81-4E2B-83BD-20176A971FDD} = {39B598E9-44BA-4A61-A1BB-7C543734DBA6}
2956+
{8881342D-6247-4826-9963-87D4B029ECB6} = {757F2B10-B69D-4C19-BFE0-D99070A00AD9}
29422957
{514DED00-4DA3-46D1-B2E8-10CE826CD52D} = {081E7761-B200-4DBF-8950-941464DECACE}
29432958
{2F547104-C74A-4A84-8980-D1B973CC40C1} = {6842A2C6-5C7B-42DD-9825-0EDE91BFEBF7}
29442959
{58E7EE89-B67C-482D-9605-04B3BCC5CFBB} = {2F547104-C74A-4A84-8980-D1B973CC40C1}

build/cache/cl.json.gz

767 Bytes
Binary file not shown.

build/cache/gl.json.gz

0 Bytes
Binary file not shown.

build/cache/glcore.json.gz

0 Bytes
Binary file not shown.

build/cache/gles2.json.gz

565 Bytes
Binary file not shown.

build/cache/openxr.json.gz

1.89 KB
Binary file not shown.

build/cache/vulkan.json.gz

659 Bytes
Binary file not shown.

build/csharp_typemap.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,5 +164,6 @@
164164
"ULONGLONG": "ulong",
165165
"LONG_PTR": "nint",
166166
"_screen_window": "void",
167-
"_screen_context": "void"
167+
"_screen_context": "void",
168+
"int16_t": "short"
168169
}

build/props/common.props

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,31 @@
66
<LangVersion>preview</LangVersion>
77
<Authors>.NET Foundation and Contributors</Authors>
88
<PackageReleaseNotes>
9-
Silk.NET August 2021 Update
9+
Silk.NET September 2021 Update
1010

11-
- Add code signing to all Silk.NET binaries
12-
- Add support for platform-default calling conventions
11+
- Add TryGetExtension methods to AL &amp; ALContext
12+
- Add support for .NET 6 Android
13+
- Update to Vulkan 1.2.190
14+
- Update to OpenXR 1.0.19
1315
- Update to latest OpenGL specifications
14-
- Update to Vulkan 1.2.187
15-
- Update to OpenXR 1.0.18
16-
- Fix loading some OpenAL extensions
16+
- Update to latest OpenCL specifications
17+
- Fix calling CreateInput on an uninitialized IView resulting in a AccessViolationException
18+
- Fix calling Close on an uninitialized IView resulting in an AccessViolationException
19+
- Fix Silk.NET (and by extension SDL) taking full control of orientation on Android
20+
- Fix DoRender being called if Window.Close was called during DoUpdate
21+
- Fix Scalar.Abs for double values
22+
- Fix "Pfn" function pointer structures being marshalled with the incorrect calling convention
23+
- Fix Scalar.IsNaN and Scalar.IsInfinity returning true for non floating point types
24+
- Fix Box2D.Center returning bogus values
25+
- Fix incorrect documentation in Thumbstick.Direction
26+
- Fix incorrect documentation in WindowOptions
1727
</PackageReleaseNotes>
1828
<PackageTags Condition="'$(PackageTags)' == ''">OpenCL;OpenGL;OpenAL;OpenGLES;GLES;Vulkan;Assimp;DirectX;GLFW;SDL;Windowing;Input;Gamepad;Joystick;Keyboard;Mouse;SilkTouch;Source;Generator;C#;F#;.NET;DotNet;Mono;Vector;Math;Maths;Numerics;Game;Graphics;Compute;Audio;Sound;Engine;Silk;Silk.NET;Slim.NET;ElgarTK;GPU;Sharp;Science;Scientific;Visualization;Visual;Audiovisual;Windows;macOS;Linux;Android;Bindings;OSX;Wrapper;Native</PackageTags>
1929
<GenerateDocumentationFile>true</GenerateDocumentationFile>
2030
<PackageOutputPath>$(MSBuildThisFileDirectory)/../output_packages</PackageOutputPath>
2131
<RepositoryUrl>https://github.com/dotnet/Silk.NET</RepositoryUrl>
2232
<RepositoryType>Git</RepositoryType>
23-
<VersionPrefix>2.7.0</VersionPrefix>
33+
<VersionPrefix>2.8.0</VersionPrefix>
2434
<VersionSuffix Condition="'$(VersionSuffix)' == ''"></VersionSuffix>
2535
<Description Condition="'$(Description)' == ''">
2636
Silk.NET is a high-speed, advanced library, providing bindings to popular low-level APIs such as OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, and DirectX.

0 commit comments

Comments
 (0)