Skip to content

Commit

Permalink
This is the January 2022 Update (v2.12.0) (#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
Perksey authored Jan 7, 2022
1 parent 501932a commit fea3893
Show file tree
Hide file tree
Showing 201 changed files with 505 additions and 396 deletions.
Binary file modified build/cache/assimp.json.gz
Binary file not shown.
Binary file modified build/cache/cl.json.gz
Binary file not shown.
Binary file modified build/cache/d3d11.json.gz
Binary file not shown.
Binary file modified build/cache/d3d12.json.gz
Binary file not shown.
Binary file modified build/cache/d3d9.json.gz
Binary file not shown.
Binary file modified build/cache/d3dcompiler.json.gz
Binary file not shown.
Binary file modified build/cache/dxgi.json.gz
Binary file not shown.
Binary file modified build/cache/dxva.json.gz
Binary file not shown.
Binary file modified build/cache/sdl.json.gz
Binary file not shown.
Binary file modified build/cache/vulkan.json.gz
Binary file not shown.
Binary file modified build/cache/vulkan_video.json.gz
Binary file not shown.
Binary file modified build/cache/win32extras.json.gz
Binary file not shown.
Binary file modified build/cache/xaudio.json.gz
Binary file not shown.
22 changes: 11 additions & 11 deletions build/props/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@
<LangVersion>preview</LangVersion>
<Authors>.NET Foundation and Contributors</Authors>
<PackageReleaseNotes>
Silk.NET December 2021 Update
Silk.NET January 2022 Update

- Add a high-level C# wrapper over Vulkan Structure Chains (thanks @thargy).
- Add a WindowClass option in Windowing for setting the X11 class name (thanks @Pydacor)
- Add a IsContextControlDisabled option in Windowing to disable automatically making OpenGL contexts current
- Add support for cloning Vk objects to allow reuse of their function tables independently
- Add support for retrieving the clipboard text on IKeyboard (thanks @Beyley)
- Add a constructor for customizing the ImGui configuration before ImGuiController applies its configuration (thanks @sampletext32)
- Add Flags attributes to all bitmasks generated from C++ headers (i.e. DirectX), fixing warnings on usage
- Update to latest OpenCL specifications
- Update to latest OpenGL and OpenGLES specifications
- Update to Vulkan 1.2.210
- Fix string marshalling regression which resulted in multiple string-overloaded functions throwing
- Fix multiple input-related problems when using the SDL backend of our Windowing abstractions
- Discontinued support for Legacy Xamarin (exclusively supporting .NET 6 mobile from now on)
- Update to Vulkan 1.2.203 (from 1.2.201, not 1.2.210 as the previous update indicated)
- Fix input information being one or two frames behind due to running in DoUpdate instead of DoEvents
- Fix BuildTools incorrectly defaulting to Cdecl instead of Winapi (fixes 32-bit issues)
- Fix string marshalling not allocating enough memory for multibyte UTF8 strings
- Fix a DivideByZeroException in PointToFramebuffer thrown in some circumstances
- Fix SymbolLoadingExceptions on usage of GetStringList functions in OpenAL
</PackageReleaseNotes>
<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>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageOutputPath>$(MSBuildThisFileDirectory)/../output_packages</PackageOutputPath>
<RepositoryUrl>https://github.com/dotnet/Silk.NET</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<VersionPrefix>2.11</VersionPrefix>
<VersionPrefix>2.12</VersionPrefix>
<VersionSuffix Condition="'$(VersionSuffix)' == ''"></VersionSuffix>
<Description Condition="'$(Description)' == ''">
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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,24 @@ public enum EXT : int
AffinityDomainNumaExt = 0x10,
[NativeName("Name", "CL_AFFINITY_DOMAIN_NEXT_FISSIONABLE_EXT")]
AffinityDomainNextFissionableExt = 0x100,
[NativeName("Name", "CL_DEVICE_GLOBAL_FP_ATOMIC_LOAD_STORE_EXT")]
DeviceGlobalFPAtomicLoadStoreExt = 0x1,
[NativeName("Name", "CL_DEVICE_GLOBAL_FP_ATOMIC_ADD_EXT")]
DeviceGlobalFPAtomicAddExt = 0x2,
[NativeName("Name", "CL_DEVICE_GLOBAL_FP_ATOMIC_MIN_MAX_EXT")]
DeviceGlobalFPAtomicMinMaxExt = 0x4,
[NativeName("Name", "CL_DEVICE_LOCAL_FP_ATOMIC_LOAD_STORE_EXT")]
DeviceLocalFPAtomicLoadStoreExt = 0x10000,
[NativeName("Name", "CL_DEVICE_LOCAL_FP_ATOMIC_ADD_EXT")]
DeviceLocalFPAtomicAddExt = 0x20000,
[NativeName("Name", "CL_DEVICE_LOCAL_FP_ATOMIC_MIN_MAX_EXT")]
DeviceLocalFPAtomicMinMaxExt = 0x40000,
[NativeName("Name", "CL_DEVICE_SINGLE_FP_ATOMIC_CAPABILITIES_EXT")]
DeviceSingleFPAtomicCapabilitiesExt = 0x4231,
[NativeName("Name", "CL_DEVICE_DOUBLE_FP_ATOMIC_CAPABILITIES_EXT")]
DeviceDoubleFPAtomicCapabilitiesExt = 0x4232,
[NativeName("Name", "CL_DEVICE_HALF_FP_ATOMIC_CAPABILITIES_EXT")]
DeviceHalfFPAtomicCapabilitiesExt = 0x4233,
[NativeName("Name", "CL_MIGRATE_MEM_OBJECT_HOST_EXT")]
MigrateMemObjectHostExt = 0x1,
[NativeName("Name", "CL_COMMAND_MIGRATE_MEM_OBJECT_EXT")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrAndroidSurfaceSwapchainFlagsFB")]
public enum AndroidSurfaceSwapchainFlagsFB : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrCompositionLayerFlags")]
public enum CompositionLayerFlags : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrCompositionLayerImageLayoutFlagsFB")]
public enum CompositionLayerImageLayoutFlagsFB : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrCompositionLayerSecureContentFlagsFB")]
public enum CompositionLayerSecureContentFlagsFB : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrCompositionLayerSpaceWarpInfoFlagsFB")]
public enum CompositionLayerSpaceWarpInfoFlagsFB : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrDebugUtilsMessageSeverityFlagsEXT")]
public enum DebugUtilsMessageSeverityFlagsEXT : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrDebugUtilsMessageTypeFlagsEXT")]
public enum DebugUtilsMessageTypeFlagsEXT : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrHandTrackingAimFlagsFB")]
public enum HandTrackingAimFlagsFB : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrInputSourceLocalizedNameFlags")]
public enum InputSourceLocalizedNameFlags : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrInstanceCreateFlags")]
public enum InstanceCreateFlags : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrOverlayMainSessionFlagsEXTX")]
public enum OverlayMainSessionFlagsEXTX : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrOverlaySessionCreateFlagsEXTX")]
public enum OverlaySessionCreateFlagsEXTX : long
{
Expand Down
2 changes: 1 addition & 1 deletion src/OpenXR/Silk.NET.OpenXR/Enums/PassthroughFlagsFB.gen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrPassthroughFlagsFB")]
public enum PassthroughFlagsFB : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrPassthroughStateChangedFlagsFB")]
public enum PassthroughStateChangedFlagsFB : long
{
Expand Down
2 changes: 1 addition & 1 deletion src/OpenXR/Silk.NET.OpenXR/Enums/SessionCreateFlags.gen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrSessionCreateFlags")]
public enum SessionCreateFlags : long
{
Expand Down
2 changes: 1 addition & 1 deletion src/OpenXR/Silk.NET.OpenXR/Enums/SpaceLocationFlags.gen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrSpaceLocationFlags")]
public enum SpaceLocationFlags : long
{
Expand Down
2 changes: 1 addition & 1 deletion src/OpenXR/Silk.NET.OpenXR/Enums/SpaceVelocityFlags.gen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrSpaceVelocityFlags")]
public enum SpaceVelocityFlags : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrSwapchainCreateFlags")]
public enum SwapchainCreateFlags : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrSwapchainCreateFoveationFlagsFB")]
public enum SwapchainCreateFoveationFlagsFB : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrSwapchainStateFoveationFlagsFB")]
public enum SwapchainStateFoveationFlagsFB : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrSwapchainUsageFlags")]
public enum SwapchainUsageFlags : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrTriangleMeshFlagsFB")]
public enum TriangleMeshFlagsFB : long
{
Expand Down
2 changes: 1 addition & 1 deletion src/OpenXR/Silk.NET.OpenXR/Enums/ViewStateFlags.gen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrViewStateFlags")]
public enum ViewStateFlags : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrVulkanDeviceCreateFlagsKHR")]
public enum VulkanDeviceCreateFlagsKHR : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.OpenXR
{
[Flags()]
[Flags]
[NativeName("Name", "XrVulkanInstanceCreateFlagsKHR")]
public enum VulkanInstanceCreateFlagsKHR : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.Vulkan
{
[Flags()]
[Flags]
[NativeName("Name", "VkAccelerationStructureCreateFlagsKHR")]
public enum AccelerationStructureCreateFlagsKHR : int
{
Expand Down
2 changes: 1 addition & 1 deletion src/Vulkan/Silk.NET.Vulkan/Enums/AccessFlags.gen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.Vulkan
{
[Flags()]
[Flags]
[NativeName("Name", "VkAccessFlags")]
public enum AccessFlags : int
{
Expand Down
2 changes: 1 addition & 1 deletion src/Vulkan/Silk.NET.Vulkan/Enums/AccessFlags2KHR.gen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.Vulkan
{
[Flags()]
[Flags]
[NativeName("Name", "VkAccessFlags2KHR")]
public enum AccessFlags2KHR : long
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.Vulkan
{
[Flags()]
[Flags]
[NativeName("Name", "VkAcquireProfilingLockFlagsKHR")]
public enum AcquireProfilingLockFlagsKHR : int
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.Vulkan
{
[Flags()]
[Flags]
[NativeName("Name", "VkAttachmentDescriptionFlags")]
public enum AttachmentDescriptionFlags : int
{
Expand Down
2 changes: 1 addition & 1 deletion src/Vulkan/Silk.NET.Vulkan/Enums/BufferCreateFlags.gen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.Vulkan
{
[Flags()]
[Flags]
[NativeName("Name", "VkBufferCreateFlags")]
public enum BufferCreateFlags : int
{
Expand Down
2 changes: 1 addition & 1 deletion src/Vulkan/Silk.NET.Vulkan/Enums/BufferUsageFlags.gen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.Vulkan
{
[Flags()]
[Flags]
[NativeName("Name", "VkBufferUsageFlags")]
public enum BufferUsageFlags : int
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.Vulkan
{
[Flags()]
[Flags]
[NativeName("Name", "VkBuildAccelerationStructureFlagsKHR")]
public enum BuildAccelerationStructureFlagsKHR : int
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.Vulkan
{
[Flags()]
[Flags]
[NativeName("Name", "VkBuildAccelerationStructureFlagsNV")]
public enum BuildAccelerationStructureFlagsNV : int
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.Vulkan
{
[Flags()]
[Flags]
[NativeName("Name", "VkColorComponentFlags")]
public enum ColorComponentFlags : int
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.Vulkan
{
[Flags()]
[Flags]
[NativeName("Name", "VkCommandBufferResetFlags")]
public enum CommandBufferResetFlags : int
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Silk.NET.Vulkan
{
[Flags()]
[Flags]
[NativeName("Name", "VkCommandBufferUsageFlags")]
public enum CommandBufferUsageFlags : int
{
Expand Down
Loading

0 comments on commit fea3893

Please sign in to comment.