Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

Releases: sharpdx/SharpDX

v4.2.0

24 Aug 05:45
8e5df9f
Compare
Choose a tag to compare

This release fixes a variety of bugs due to bugs in or incompatibilities with SharpGenTools 1.0.0. The packages are available on NuGet.

Signed assemblies

30 May 16:58
Compare
Choose a tag to compare

This version is only a fix for publishing signed assemblies that were not part of 4.0.0 build.

For more information about 4.0.0, check directly the 4.0.0 release notes.

Stable

29 May 09:30
Compare
Choose a tag to compare

Overview

This new release of SharpDX contains:

  • Several bug fixes, see the full list below
  • A migration of the build system to VS 2017
  • Added support for the .NET Core Platform (netcoreapp1.0, netstandard1.1, uap10)

This release is the dedicated work of external contributors, thanks a lot for their work!

The binaries are accessible on nuget.

Changelog since v3.1.1

Build

Comments

  • Add inherit on basic disposes and tostring (changes)
  • Fix include path in order to remove some warnings in visual studio (changes)
  • Fix path on compositor (changes)

Direct2D1

Direct3D11

Direct3D12

  • Add code comments and fix include path where relevant (changes)

Doc

  • Fix documentation comments on function reflection. Add comment for return parameter (changes)

General

  • Restored generate documentation (changes)

Misc

  • Add desktop check and documentation to CapturePhotoConfirmation. (changes)
  • Add inherit for Size2F ToString (changes)
  • Add missing TypeExtensions file (changes)
  • Add Rebuild target to SharpDXGen (changes)
  • Add support for net40 target (issue #877) (changes)
  • Added build output for .NET Core apps and UWP apps for the core SharpDX library. Refactored some of the common properties into MSBuild .props and .targets files. (changes)
  • Added convenience mappings for capture sink methods that SharpGen didn't generate. (changes)
  • Added documentation for wrappers. (changes)
  • Added IFormattable to FourCC to provide customised string representation when building Media Foundation GUIDs. (changes)
  • Added mappings for IMFCaptureEngine and related APIs. (changes)
  • Added public Initialize method onto CaptureEngine. (changes)
  • Added shadows and vtables for callback interfaces. (changes)
  • Added useful constructors for the CaptureEngineClassFactory and the CaptureEngine. (changes)
  • Added vswhere executable to repo. (changes)
  • Changed all references to GCC Xml outside of the CastXml class to refer to CastXml. References in CastXml.cs stay because we are using the GCC-XML compatible output format. (changes)
  • Changed base package to use new project system. Currently builds on .net45 and netstandard1.1 (changes)
  • Changed SharpDX.Tests assembly to make tests discoverable in VS. (changes)
  • Changed solution structure and SharpDX.build file to set up a build structure that generates NuGet packages in the Bin folder. (changes)
  • Cleaned up project style and removed now-unused .nuspec file (package info is in the .csproj and .props files) (changes)
  • Cleaned up SharpGen code gen for the different app types. Still a little glitchy, but is better than before (doesn't overwrite itself). (changes)
  • Converted build script to a cmd file. (changes)
  • Converted D3D10 to the new project system. (changes)
  • Converted DirectComposition to the new project system. (changes)
  • Converted SharpDX.Desktop to the new project system. (changes)
  • CoreCLR support: replaced HandleRef by IntPtr in Pinvoke routines as HandleRef is not present in CoreCLR/CoreFX. (changes)
  • Enabled binding APIs up to Windows 10 Redstone 1 (Anniversary Edition). Now bindings for all APIs available as of 3/16/2017 will be generated. (changes)
  • Fix appveyor.yml (changes)
  • Fix code comments for color, and add alpha description (changes)
  • Fix sharpdx.DirectComposition project metadata. (changes)
  • Fixed appveyor artifact path. (changes)
  • Fixed artifact path for NuGet Packages (changes)
  • Fixed Assembly mapping file checker to correctly detect changes and generate for the correct app type. (changes)
  • fixed help text BoundingBox -> BoundingSphere (changes)
  • Fixed paths in build script (changes)
  • Fixed PtrToStringAnsi and PtrToStringUni to correctly return null-terminating string instead of always returning string with maxLength chars (changes)
  • fixed readme.md (changes)
  • Freeing allocated string in DebugName setter (changes)
  • Fully populate derived structs (changes)
  • Got CastXML working to process the headers. Only a few glitches here and there that need to be fixed. (changes)
  • Improved CapturePhotoConfirmation mapping. (changes)
  • Making progress on getting sharpgen's detection of not needed work (only gen when needed) working correctly again. (changes)
  • Matrix3x2.Multiply now behaves like other Matrix.Multiply functions (changes)
  • Moved AssemblyInfo into the .props file. (changes)
  • Moved UWP support targets into SharpDX.targets (changes)
  • Moved XAudio2 to the new project system. (changes)
  • Moved XInput over to the new project system. (changes)
  • Ported over DirectInput to new project system. (changes)
  • Ported SharpDX.Mathematics over to the new project system. ([changes](https://github...
Read more

v3.1.0

19 Oct 11:30
Compare
Choose a tag to compare

Changelog between 3.0.2 and 3.1.0 version

Build

  • Add info for building on VS 2015 to readme.md (changes)
  • Add info for building on VS 2015 Update 3 (changes)
  • Update MSDNDoc.zip (changes)
  • Update solution version to VS2015 (changes)

Desktop

  • add lost CodeComments.xml file (changes)
  • fix OnMonitorChanged (changes)

Direct2D

  • update mapping for Direct2D (changes)
  • update mapping for DirectWrite (changes)

Direct3D10

Direct3D11

  • add support Device4 (changes)
  • Improve support Direct3D 11.3 (changes)
  • remove nameof operator (changes)
  • rename RaterizerState.cs => RasterizerState.cs. (changes)
  • Fix for null reference exception in DeviceContext.RasterizerStage (changes)

Direct3D12

  • Simplify marshaling for PR #773 (issue #667) (changes)
  • Disable code generation for ID3D12RootSignatureDeserializer and RootSignatureDescription. Rely on manual marshaling instead. (changes)

DirectManipulation

  • change assembly description (changes)

DXGI

  • add mapping DXGI_OVERLAY_SUPPORT_FLAG (changes)
  • fix mapping for StoreApp (changes)
  • FormatHelper public static method's convert to extensons (changes)
  • Improve to DXGI 1.5 (changes)

General

Mathematics

  • fix bug in Collision.ClosestPointPointTriangle() (changes)

MediaFoundation

  • Revert "remove" to keep around mapping.xml for MediaFoundation/DirectX (changes)
  • changes to add support for the SharpDX.MediaFoundation/DirectX code (changes)

DirectComposition

  • Add missing method to create Target from Device (changes)

Misc

  • Add .editorconfig file. (changes)
  • Fix bug in #785 in DataStream (changes)
  • fix initialization of local blockAlign with default values. (changes)
  • Fix issue with signing assemblies from PR. Remove SharpDXSign config from SharpDX.build and setup this from AppVeyor (changes)
  • Fix the missing arguments and broken test (changes)
  • Fix: Memory leak for D3D11 device when CreateWithSwapChain is used (changes)
  • Fixed #744 DeviceContext1.ClearView()'s 'color' parameter is of type 'float' when it should be a 'RawColor4'. (changes)
  • fixup locations of DirectX support inside SharpDX.MediaFoundation (changes)
  • GraphicsCommandList improvements and add better BeginEvent and SetMarker methods. (changes)
  • Improve Equals Size2, SizeF (changes)
  • Leak Device (changes)
  • Mapping improvements for ID3D11On12Device and Direct3D12 ResourceStates. (changes)
  • Modification of ReadFromSubresource API / ReadFromSubresourceの修正 (changes)
  • move to correct location (changes)
  • Moved the re-added DirectX source code, and the generated under 2.6.3 files into a Desktop only conditional, along with references to SharpDX.Mathematics and SharpDX.Direct3D9 (changes)
  • Output a markdown file for the git log (changes)
  • RawInputEventArgs (and thus also HidInputEventArgs, KeyboardInputEventArgs, and MouseInputEventArgs) now has a WindowHandle property that can be used to retrieve the handle of the window that received the raw input event. (changes)
  • remove (changes)
  • Replaced perspective view matrix calculation (changes)
  • ReSharper settings upgrade (changes)
  • SwapChain.Present and SwapChain1.Present now return their result codes so that the application can check whether the window is occluded. This should resolve #746. (changes)
  • The SharpDX commit b9f7519 causes the .NET Native compiler to crash. (changes)
  • Update CustomDevice.cs (changes)
  • Update MouseState.cs (changes)
  • Validate blockAlign can be cast to short (changes)

Samples

SharpGen

  • StringToHGlobalUni is not necessary since it is already the same layout as .NET strings, use "fixed" instead (changes)

v3.0.2

11 Mar 04:41
Compare
Choose a tag to compare

Maintenance release fixing an issue with XAudio2

v3.0.0

25 Dec 00:34
Compare
Choose a tag to compare

SharpDX 3.0.0

This is the final release for the 3.0.0 version bringing some major new features and changes:

  • Add support for Direct3D12 to get the best of your graphics card (only compatible with Windows 10 10586)
  • Thanks to the work from the diet branch, SharpDX main assembly is a bit more lightweight.
  • We have simplified the distribution and packaging by supporting only 2 platforms and .NET versions:
    • Desktop with .NET 4.5
    • StoreApp with PCL .NET 4.5 valid for Windows 8.1+ and Windows Phone 8.1+ development
  • All Mathematics (Vector3, Vector4...) have been moved to a dedicated assembly. The reason behind this change is to put SharpDX on a diet, where higher level API (like Xenko, MonoGame...) are no longer forced to include this API. In order to support this, all SharpDX assemblies are now using interop types (RawVector3, RawVector4 from SharpDX.Mathematics.Interop namespace)
  • A new assembly SharpDX.Desktop that contains RenderForm, RenderLoop previously in SharpDX assembly
  • XInput and XAudio are now providing a backward compatible interface between the various versions. For Desktop, it means that the runtime will try to detect the correct versions for XInput (9.10, 1.3, 1.4) or XAudio (2.7 or 2.8). For Store Apps, the latest one will be used.

Assemblies are both available from a zip and from NuGet.
Note that distribution from NuGet should be now more stable and usable than previous versions due to the diet work.

We have also clean-up the API:

  • The DirectX June 2010 SDK is no longer supported. For example, methods like DX11 are no longer supported (e.g. Texture.FromFile...)
  • Direct3D10 API has been removed
  • The Toolkit is no longer supported and distributed
  • Direct3D9, DirectSound, DirectInput, RawInput have been frozen so that the code generated from SharpGen codegen from C++ is no longer running. It means that these APIs will no longer receive major changes and should be considered as deprecated.

Projects that are still requiring to use .NET 2.0 or .NET 4.0, or API like Direct3D10 will have to continue using SharpDX 2.6.3.

Building from the sources

In order to compile SharpDX from the sources, It requires to install the Windows SDK for Windows 10

How to use the samples

The samples are now part of a submodule of the SharpDX repository. In order to use the sample, you can download the SharpDX zip binaries and unzip the Bin directory so that it is at the same level than the Samples directory:

  • Bin\DesktopApp\SharpDX.dll...etc.
  • Samples\Desktop\...... etc.

Some scripts will be added later to simplify the setup of the samples.

Best,
xoofx

Previous 2.6.x version

24 Dec 23:43
Compare
Choose a tag to compare

This is the latest stable version for the 2.6.x versions.