Skip to content

Commit af7bdbd

Browse files
authored
This is the Summer 2022 Update 1 (v2.16.0) (#983)
* Regenerate bindings & post patch notes for 2.16 * Update release notes
1 parent 5be866f commit af7bdbd

File tree

103 files changed

+46151
-180
lines changed

Some content is hidden

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

103 files changed

+46151
-180
lines changed

build/cache/gl.json.gz

815 KB
Binary file not shown.

build/cache/glcore.json.gz

0 Bytes
Binary file not shown.

build/cache/gles2.json.gz

0 Bytes
Binary file not shown.

build/cache/openxr.json.gz

638 Bytes
Binary file not shown.

build/cache/vulkan.json.gz

0 Bytes
Binary file not shown.

build/props/common.props

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,31 @@
1212
<LangVersion>preview</LangVersion>
1313
<Authors>.NET Foundation and Contributors</Authors>
1414
<PackageReleaseNotes>
15-
Silk.NET April 2022 Update
16-
17-
- Add DirectStorage bindings
18-
- Add legacy OpenGL 2.0 support for the ImGui extension (thank you @Beyley)
19-
- Add the ability to customize the functionality/priorities of DefaultPathResolver
20-
- Add more auto-generated constants to Assimp, DirectX, and SDL
21-
- Update to Vulkan 1.3.210
15+
Silk.NET Summer 2022 Update 1
16+
17+
- Massive project-wide bindings overhaul, making our bindings easier to use and higher quality than before.
18+
- Added grouped OpenCL enums. (thanks @Alexx999)
19+
- Added support for creation of contexts with versions prior to OpenGL 3.2. (thanks @Beyley)
20+
- Added support for multiple ImGuiControllers. (thanks @Beyley)
21+
- Added support for single-file mode. (thanks @kant2002)
22+
- Added shorter names in enums used in bindings.
23+
- Added AspectRatioEstimate API to VideoMode. (thanks @ohtrobinson)
2224
- Update to latest OpenGL specifications
23-
- Fix Assimp native package being out-of-sync with latest binding
24-
- Fix SDL input backend producing different key mappings to the GLFW input backend
25-
- Fix Android Activity restarts not being properly handled by Silk.NET Windowing
25+
- Update to OpenXR 1.0.24
26+
- Update to Vulkan 1.3.223
27+
- Improved ImGuiController disposal. (thanks @Beyley)
28+
- Fixed incorrect OpenCL functions. This is breaking, but if you were using these functions your code didn't work anyway. (thanks @Alexx999)
29+
- Fixed IsVisible not being respected in some cases. (thanks @paralaxsd)
30+
- Fixed window close events not being respected on the SDL backend. (thanks @paralaxsd)
31+
32+
This update may result in your projects having a lot of deprecation warnings. We believe this update contains much-needed improvements to both Silk.NET and code consuming it, but we appeciate migrating to this version may take time.
2633
</PackageReleaseNotes>
2734
<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>
2835
<GenerateDocumentationFile>true</GenerateDocumentationFile>
2936
<PackageOutputPath>$(MSBuildThisFileDirectory)/../output_packages</PackageOutputPath>
3037
<RepositoryUrl>https://github.com/dotnet/Silk.NET</RepositoryUrl>
3138
<RepositoryType>Git</RepositoryType>
32-
<VersionPrefix>2.15</VersionPrefix>
39+
<VersionPrefix>2.16</VersionPrefix>
3340
<VersionSuffix Condition="'$(VersionSuffix)' == ''"></VersionSuffix>
3441
<Description Condition="'$(Description)' == ''">
3542
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.

src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ATI/AtiFragmentShader.gen.cs

Lines changed: 42075 additions & 21 deletions
Large diffs are not rendered by default.

src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ATI/AtiFragmentShaderOverloads.gen.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ public static unsafe void SetFragmentShaderConstant(this AtiFragmentShader thisA
2222
thisApi.SetFragmentShaderConstant(dst, in value.GetPinnableReference());
2323
}
2424

25+
public static unsafe void SetFragmentShaderConstant(this AtiFragmentShader thisApi, [Flow(FlowDirection.In)] FragmentShaderConATI dst, [Count(Count = 4), Flow(FlowDirection.In)] ReadOnlySpan<float> value)
26+
{
27+
// SpanOverloader
28+
thisApi.SetFragmentShaderConstant(dst, in value.GetPinnableReference());
29+
}
30+
2531
}
2632
}
2733

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
4+
5+
using System;
6+
using Silk.NET.Core.Attributes;
7+
8+
#pragma warning disable 1591
9+
10+
namespace Silk.NET.OpenGL.Legacy
11+
{
12+
[NativeName("Name", "FogCoordSrc")]
13+
public enum FogCoordSrc : int
14+
{
15+
[System.Obsolete]
16+
[NativeName("Name", "GL_FOG_COORDINATE")]
17+
FogCoordinate = 0x8451,
18+
[NativeName("Name", "GL_FOG_COORDINATE_EXT")]
19+
FogCoordinateExt = 0x8451,
20+
[System.Obsolete]
21+
[NativeName("Name", "GL_FOG_COORD")]
22+
FogCoord = 0x8451,
23+
[System.Obsolete]
24+
[NativeName("Name", "GL_FRAGMENT_DEPTH")]
25+
FragmentDepth = 0x8452,
26+
[NativeName("Name", "GL_FRAGMENT_DEPTH_EXT")]
27+
FragmentDepthExt = 0x8452,
28+
}
29+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
4+
5+
using System;
6+
using Silk.NET.Core.Attributes;
7+
8+
#pragma warning disable 1591
9+
10+
namespace Silk.NET.OpenGL.Legacy
11+
{
12+
[NativeName("Name", "FragmentOp1ATI")]
13+
public enum FragmentOp1ATI : int
14+
{
15+
[NativeName("Name", "GL_MOV_ATI")]
16+
MovAti = 0x8961,
17+
}
18+
}

0 commit comments

Comments
 (0)