Skip to content

This is the December 2021 Update (v2.11.0) #712

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified build/cache/cl.json.gz
Binary file not shown.
Binary file modified build/cache/gl.json.gz
Binary file not shown.
Binary file modified build/cache/glcore.json.gz
Binary file not shown.
Binary file modified build/cache/gles2.json.gz
Binary file not shown.
Binary file modified build/cache/openxr.json.gz
Binary file not shown.
Binary file modified build/cache/vulkan.json.gz
Binary file not shown.
3 changes: 2 additions & 1 deletion build/csharp_typemap.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,5 +165,6 @@
"LONG_PTR": "nint",
"_screen_window": "void",
"_screen_context": "void",
"int16_t": "short"
"int16_t": "short",
"cl_properties": "ulong"
}
15 changes: 12 additions & 3 deletions build/props/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,25 @@
<LangVersion>preview</LangVersion>
<Authors>.NET Foundation and Contributors</Authors>
<PackageReleaseNotes>
Silk.NET .NET Conf 2021 Update
Silk.NET December 2021 Update

- Fixes issues with 2.10 (compiled against .NET 6 RC1) not working correctly in projects using the .NET 6 Release SDK.
- 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
- 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)
</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.10.1</VersionPrefix>
<VersionPrefix>2.11</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
9 changes: 9 additions & 0 deletions generator.json
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,15 @@
"cl_semaphore_payload_khr": "cl_ulong",
"cl_external_semaphore_handle_type_khr": "cl_uint",
"cl_external_memory_handle_type_khr": "cl_uint",
"cl_device_command_buffer_capabilities_khr": "cl_bitfield",
"cl_sync_point_khr": "cl_uint",
"cl_command_buffer_info_khr": "cl_uint",
"cl_command_buffer_state_khr": "cl_uint",
"cl_command_buffer_properties_khr": "cl_properties",
"cl_command_buffer_flags_khr": "cl_bitfield",
"cl_ndrange_kernel_command_properties_khr": "cl_properties",
"cl_mutable_command_khr": "intptr_t",
"cl_command_buffer_khr": "intptr_t"
},
{
"$include.commonTypeMap": "build/csharp_typemap.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,8 @@ public enum INTEL : int
CommandReleaseDX9ObjectsIntel = 0x402B,
[NativeName("Name", "CL_EGL_YUV_PLANE_INTEL")]
EglYuvPlaneIntel = 0x4107,
[NativeName("Name", "CL_QUEUE_THREAD_LOCAL_EXEC_ENABLE_INTEL")]
QueueThreadLocalExecEnableIntel = unchecked((int)0x80000000),
[NativeName("Name", "CL_MEM_CHANNEL_INTEL")]
MemChannelIntel = 0x4213,
[NativeName("Name", "CL_MEM_FORCE_HOST_MEMORY_INTEL")]
Expand Down Expand Up @@ -476,8 +478,6 @@ public enum INTEL : int
DeviceSimultaneousInteropsIntel = 0x4104,
[NativeName("Name", "CL_DEVICE_NUM_SIMULTANEOUS_INTEROPS_INTEL")]
DeviceNumSimultaneousInteropsIntel = 0x4105,
[NativeName("Name", "CL_QUEUE_THREAD_LOCAL_EXEC_ENABLE_INTEL")]
QueueThreadLocalExecEnableIntel = unchecked((int)0x80000000),
[NativeName("Name", "CL_DEVICE_HOST_MEM_CAPABILITIES_INTEL")]
DeviceHostMemCapabilitiesIntel = 0x4190,
[NativeName("Name", "CL_DEVICE_DEVICE_MEM_CAPABILITIES_INTEL")]
Expand All @@ -500,6 +500,10 @@ public enum INTEL : int
MemAllocFlagsIntel = 0x4195,
[NativeName("Name", "CL_MEM_ALLOC_WRITE_COMBINED_INTEL")]
MemAllocWriteCombinedIntel = 0x1,
[NativeName("Name", "CL_MEM_ALLOC_INITIAL_PLACEMENT_DEVICE_INTEL")]
MemAllocInitialPlacementDeviceIntel = 0x2,
[NativeName("Name", "CL_MEM_ALLOC_INITIAL_PLACEMENT_HOST_INTEL")]
MemAllocInitialPlacementHostIntel = 0x4,
[NativeName("Name", "CL_MEM_ALLOC_TYPE_INTEL")]
MemAllocTypeIntel = 0x419A,
[NativeName("Name", "CL_MEM_ALLOC_BASE_PTR_INTEL")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,48 @@ namespace Silk.NET.OpenCL.Extensions.KHR
[NativeName("Name", "GLenum")]
public enum KHR : int
{
[NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_CAPABILITIES_KHR")]
DeviceCommandBufferCapabilitiesKhr = 0x12A9,
[NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_REQUIRED_QUEUE_PROPERTIES_KHR")]
DeviceCommandBufferRequiredQueuePropertiesKhr = 0x12AA,
[NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_KERNEL_PRINTF_KHR")]
CommandBufferCapabilityKernelPrintfKhr = 0x1,
[NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_DEVICE_SIDE_ENQUEUE_KHR")]
CommandBufferCapabilityDeviceSideEnqueueKhr = 0x2,
[NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_SIMULTANEOUS_USE_KHR")]
CommandBufferCapabilitySimultaneousUseKhr = 0x4,
[NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_OUT_OF_ORDER_KHR")]
CommandBufferCapabilityOutOfOrderKhr = 0x8,
[NativeName("Name", "CL_COMMAND_BUFFER_FLAGS_KHR")]
CommandBufferFlagsKhr = 0x1293,
[NativeName("Name", "CL_COMMAND_BUFFER_SIMULTANEOUS_USE_KHR")]
CommandBufferSimultaneousUseKhr = 0x1,
[NativeName("Name", "CL_INVALID_COMMAND_BUFFER_KHR")]
InvalidCommandBufferKhr = unchecked((int)0xFFFFFFFFFFFFFB8E),
[NativeName("Name", "CL_INVALID_SYNC_POINT_WAIT_LIST_KHR")]
InvalidSyncPointWaitListKhr = unchecked((int)0xFFFFFFFFFFFFFB8D),
[NativeName("Name", "CL_INCOMPATIBLE_COMMAND_QUEUE_KHR")]
IncompatibleCommandQueueKhr = unchecked((int)0xFFFFFFFFFFFFFB8C),
[NativeName("Name", "CL_COMMAND_BUFFER_QUEUES_KHR")]
CommandBufferQueuesKhr = 0x1294,
[NativeName("Name", "CL_COMMAND_BUFFER_NUM_QUEUES_KHR")]
CommandBufferNumQueuesKhr = 0x1295,
[NativeName("Name", "CL_COMMAND_BUFFER_REFERENCE_COUNT_KHR")]
CommandBufferReferenceCountKhr = 0x1296,
[NativeName("Name", "CL_COMMAND_BUFFER_STATE_KHR")]
CommandBufferStateKhr = 0x1297,
[NativeName("Name", "CL_COMMAND_BUFFER_PROPERTIES_ARRAY_KHR")]
CommandBufferPropertiesArrayKhr = 0x1298,
[NativeName("Name", "CL_COMMAND_BUFFER_STATE_RECORDING_KHR")]
CommandBufferStateRecordingKhr = 0x0,
[NativeName("Name", "CL_COMMAND_BUFFER_STATE_EXECUTABLE_KHR")]
CommandBufferStateExecutableKhr = 0x1,
[NativeName("Name", "CL_COMMAND_BUFFER_STATE_PENDING_KHR")]
CommandBufferStatePendingKhr = 0x2,
[NativeName("Name", "CL_COMMAND_BUFFER_STATE_INVALID_KHR")]
CommandBufferStateInvalidKhr = 0x3,
[NativeName("Name", "CL_COMMAND_COMMAND_BUFFER_KHR")]
CommandCommandBufferKhr = 0x12A8,
[NativeName("Name", "CL_INVALID_D3D10_DEVICE_KHR")]
InvalidD3D10DeviceKhr = unchecked((int)0xFFFFFFFFFFFFFC16),
[NativeName("Name", "CL_INVALID_D3D10_RESOURCE_KHR")]
Expand Down
Loading