Skip to content

Commit f0d480c

Browse files
authored
This is the February 2022 Update (v2.13.0) (#803)
* Regenerate bindings for 2.13 * Patch notes for 2.13
1 parent 9f383d3 commit f0d480c

File tree

225 files changed

+10984
-581
lines changed

Some content is hidden

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

225 files changed

+10984
-581
lines changed

build/cache/cl.json.gz

0 Bytes
Binary file not shown.

build/cache/openxr.json.gz

6.91 KB
Binary file not shown.

build/cache/vulkan.json.gz

11.2 KB
Binary file not shown.

build/cache/vulkan_video.json.gz

0 Bytes
Binary file not shown.

build/props/common.props

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,23 @@
1212
<LangVersion>preview</LangVersion>
1313
<Authors>.NET Foundation and Contributors</Authors>
1414
<PackageReleaseNotes>
15-
Silk.NET January 2022 Update
15+
Silk.NET February 2022 Update
1616

17-
- Add support for retrieving the clipboard text on IKeyboard (thanks @Beyley)
18-
- Add a constructor for customizing the ImGui configuration before ImGuiController applies its configuration (thanks @sampletext32)
19-
- Add Flags attributes to all bitmasks generated from C++ headers (i.e. DirectX), fixing warnings on usage
17+
- Add an OpenGLES version of the ImGui plugin (thanks @Beyley)
18+
- Add an initial version of a Rider/ReSharper plugin to open Khronos specifications with one click (may not be available for install immediately)
19+
- Update to OpenXR 1.0.22
20+
- Update to Vulkan 1.2.203
2021
- Update to latest OpenCL specifications
21-
- Update to Vulkan 1.2.203 (from 1.2.201, not 1.2.210 as the previous update indicated)
22-
- Fix input information being one or two frames behind due to running in DoUpdate instead of DoEvents
23-
- Fix BuildTools incorrectly defaulting to Cdecl instead of Winapi (fixes 32-bit issues)
24-
- Fix string marshalling not allocating enough memory for multibyte UTF8 strings
25-
- Fix a DivideByZeroException in PointToFramebuffer thrown in some circumstances
26-
- Fix SymbolLoadingExceptions on usage of GetStringList functions in OpenAL
22+
- Fix mouse scroll wheels state not always being up-to-date on the SDL backend (thanks @paralaxsd)
23+
24+
In addition, thanks to @roeyskoe for contributing lots of behind-the-scenes changes to improve the Silk.NET native packaging experience.
2725
</PackageReleaseNotes>
2826
<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>
2927
<GenerateDocumentationFile>true</GenerateDocumentationFile>
3028
<PackageOutputPath>$(MSBuildThisFileDirectory)/../output_packages</PackageOutputPath>
3129
<RepositoryUrl>https://github.com/dotnet/Silk.NET</RepositoryUrl>
3230
<RepositoryType>Git</RepositoryType>
33-
<VersionPrefix>2.12</VersionPrefix>
31+
<VersionPrefix>2.13</VersionPrefix>
3432
<VersionSuffix Condition="'$(VersionSuffix)' == ''"></VersionSuffix>
3533
<Description Condition="'$(Description)' == ''">
3634
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.

build/submodules/Vulkan-Headers

Submodule Vulkan-Headers updated 43 files

generator.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,8 @@
524524
"StdVideoEncodeH265SliceHeader": "Video.StdVideoEncodeH265SliceHeader",
525525
"StdVideoEncodeH265ReferenceModifications": "Video.StdVideoEncodeH265ReferenceModifications",
526526
"StdVideoH265VideoParameterSet": "Video.StdVideoH265VideoParameterSet",
527-
"StdVideoEncodeH265PictureInfo": "Video.StdVideoEncodeH265PictureInfo"
527+
"StdVideoEncodeH265PictureInfo": "Video.StdVideoEncodeH265PictureInfo",
528+
"StdVideoEncodeH265SliceSegmentHeader": "Video.StdVideoEncodeH265SliceSegmentHeader"
528529
},
529530
{
530531
"$include.commonTypeMap": "build/csharp_typemap.json"

src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.INTEL/Enums/INTEL.gen.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,8 @@ public enum INTEL : int
422422
EglYuvPlaneIntel = 0x4107,
423423
[NativeName("Name", "CL_QUEUE_THREAD_LOCAL_EXEC_ENABLE_INTEL")]
424424
QueueThreadLocalExecEnableIntel = unchecked((int)0x80000000),
425+
[NativeName("Name", "CL_MEM_ALLOC_BUFFER_LOCATION_INTEL")]
426+
MemAllocBufferLocationIntel = 0x419E,
425427
[NativeName("Name", "CL_MEM_CHANNEL_INTEL")]
426428
MemChannelIntel = 0x4213,
427429
[NativeName("Name", "CL_MEM_FORCE_HOST_MEMORY_INTEL")]
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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+
using System;
4+
using System.Runtime.InteropServices;
5+
using System.Runtime.CompilerServices;
6+
using System.Text;
7+
using Silk.NET.Core;
8+
using Silk.NET.Core.Native;
9+
using Silk.NET.Core.Attributes;
10+
using Silk.NET.Core.Contexts;
11+
using Silk.NET.Core.Loader;
12+
using Silk.NET.OpenXR;
13+
using Extension = Silk.NET.Core.Attributes.ExtensionAttribute;
14+
15+
#pragma warning disable 1591
16+
17+
namespace Silk.NET.OpenXR.Extensions.ALMALENCE
18+
{
19+
[Extension("XR_ALMALENCE_digital_lens_control")]
20+
public unsafe partial class AlmalenceDigitalLensControl : NativeExtension<XR>
21+
{
22+
public const string ExtensionName = "XR_ALMALENCE_digital_lens_control";
23+
/// <summary>To be documented.</summary>
24+
[NativeApi(EntryPoint = "xrSetDigitalLensControlALMALENCE", Convention = CallingConvention.Winapi)]
25+
public unsafe partial Result SetDigitalLensControlAlmalence([Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] DigitalLensControlALMALENCE* digitalLensControl);
26+
27+
/// <summary>To be documented.</summary>
28+
[NativeApi(EntryPoint = "xrSetDigitalLensControlALMALENCE", Convention = CallingConvention.Winapi)]
29+
public partial Result SetDigitalLensControlAlmalence([Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] in DigitalLensControlALMALENCE digitalLensControl);
30+
31+
public AlmalenceDigitalLensControl(INativeContext ctx)
32+
: base(ctx)
33+
{
34+
}
35+
}
36+
}
37+
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+
using System;
4+
using System.Runtime.InteropServices;
5+
using System.Runtime.CompilerServices;
6+
using System.Text;
7+
using Silk.NET.Core;
8+
using Silk.NET.Core.Native;
9+
using Silk.NET.Core.Attributes;
10+
using Silk.NET.Core.Contexts;
11+
using Silk.NET.Core.Loader;
12+
13+
#pragma warning disable 1591
14+
15+
namespace Silk.NET.OpenXR.Extensions.ALMALENCE
16+
{
17+
public static class AlmalenceDigitalLensControlOverloads
18+
{
19+
/// <summary>To be documented.</summary>
20+
public static unsafe Result SetDigitalLensControlAlmalence(this AlmalenceDigitalLensControl thisApi, [Count(Count = 0)] Session session, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan<DigitalLensControlALMALENCE> digitalLensControl)
21+
{
22+
// SpanOverloader
23+
return thisApi.SetDigitalLensControlAlmalence(session, in digitalLensControl.GetPinnableReference());
24+
}
25+
26+
}
27+
}
28+

0 commit comments

Comments
 (0)