Skip to content

Silk.NET 2.0 #182

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 151 commits into from
Dec 4, 2020
Merged

Silk.NET 2.0 #182

merged 151 commits into from
Dec 4, 2020

Conversation

Perksey
Copy link
Member

@Perksey Perksey commented May 20, 2020

#48

Christ almighty do not squash this PR

@Perksey Perksey mentioned this pull request May 20, 2020
2 tasks
Perksey and others added 20 commits November 14, 2020 21:32
* Preprocessor directives for BuildTools

* Add ExcludeFromOverrideAttribute

* Working prototype

* Update to the new attribute

* Don't need override type

* Use ExcludeFromOverride, regenerate bindings, fix OpenCL

* Fix #343

* Incremental Slots

* unsafe

Co-authored-by: Kai Jellinghaus <contact@kaij.tech>
* Initial NUKE prototype

* First iteration of NUKE is done

* Add a test target

* Attempt one at updating the CI workflow

* Attempt two at CI

* Update global.json

* Update build.yml

* Update Silk.NET.NUKE.csproj

* Disable SilkTouch debug dump, checkout recursively

* Only test projects that have tests in the name

.NET insists on building everything again for some reason

* Stop deleting packages before pushing them

* Try adding Android in the loop

* Stop building libsilkdroid in CI (NDK issue)

* NUKE is complete

* Apply suggestions from code review

Co-authored-by: Kai Jellinghaus <kai.jellinghaus1@gmail.com>

Co-authored-by: Kai Jellinghaus <kai.jellinghaus1@gmail.com>
* Add some log messages to find out what's going on

* Fix build

* Adjust the pipeline

* Zero what? Elephants?

* Update build.yml

* Ok seriously what is going on

* Maybe it's a path thing?

* Ohhhhh

* Comment out the cwd artifact for now, will clean later

* Commit finished NUKE build system

* Commit finished build pipeline

* There was a reason pack and push were separate
* Add args and be more tolerant of failures

* Initial bindings with no COM, initial COM support in BuildTools

* Complete Direct3D 11 and DXGI bindings

* Start D3D12 work, move D3DCommon into Silk.NET.Core

* Add d3d11shader.h, BuildTools bug fixes

* Finish D3D12 bindings, add ComPtr & ComObject

* Direct3D 9 Bindings

* DXC and D3DCompiler bindings

* Push (disabled) config for Direct2D

* NUKE fixes

* Continued

* Binder improvements

* More COM-related improvements

* Revert SDL generator overwrite

* Add XInput and XAudio

* Finishing touches

* Update src/Microsoft/Silk.NET.DXGI/DXGILibraryNameContainer.cs

Co-authored-by: Kai Jellinghaus <kai.jellinghaus1@gmail.com>

* GUIDs

* Remove ZeroStart now it's no longer used

Co-authored-by: Kai Jellinghaus <kai.jellinghaus1@gmail.com>
@Perksey Perksey changed the title [WIP] Silk.NET 2.0 Silk.NET 2.0 Dec 4, 2020
Perksey and others added 6 commits December 4, 2020 15:17
* Initial commit

* gitignore

* Exclude Idea folder

* Restructure project

* Add Operations and Constants

* Add Vector2 and Tests

* Vector3

* Vector4

* Matrix4x4

* Integrate Matrix4x4

* Plane

* Quaternion

* Matrix3x2

* Add PublicAPI Tracking

* Document Constants

* Document remaining Vector2 methods

* Add extension methods for converting generic to/from non-generic types

* FromSystem -> ToGeneric

* Add explicit casts

* Add Log

* Add Exp

* Pow & Abs

* Improve Abs with HWIntrinsics

* Improve Log with... things

* Improve Exp somewhat

* Document all the things

* Ray2/3D

* Circle & Sphere

* Cube & Rect

* Matrix4x3

* Matrix3x4

* Matrix3x3

* Matrix2x3

* Matrix2x2 & Multiplications

* Remove D suffix

* I hate matrices

* Renames & ctors

* Merge Part 2

* Vector * Matrix

* Scalar.Inverse<T>

* Floor improvement

* Abs improvements

* Round optimization

* Sqrt improvement

* Integrate into Solution, Multi-target

* Rect -> Rectangle

* Update Benchmarks to use System.Math on NetFx4.8

* More improvements

* Round

* Fix Tables on non-POH platforms

* Bounds2/3

* Bounds2 -> Box2

* Bounds3 -> Box3

* Box2 & Box3 APIs

* Cube & Rectangle API

* Remove Maths solution

* Rename folders

* Remove unecessary files

* Best Serialization effort

* Tired

* Circle/Sphere

* Update API

* Vectors AAA

* Update API tracking

* Remove MS Toolkit dependency

* Both net5.0 and netcoreapp3.1 (and netframework4.8) are required for tests

* Integrate MathHelper into Scalar

* Fix Diameter

* 768

* Plane.D -> Plane.Distance

* readonly getters

* Two more methods marked as readonly

* Add .editorconfig

* Add source

* Reciprocal

* Length/Squared to Properties

* Extract Vector2 statics

* Extract Vector3 statics

* Extract Vector4 statics

* Extract Plane statics

* Extract Matrix4x4 statics

* Cleanup rest

* Add Indexers

* Document more

* Fix last warnings

* Add VS Test runner

* Address some review comments

* Move static classes to Ops files

Co-authored-by: Dylan Perks <dmp9biz@gmail.com>
@Perksey Perksey requested a review from HurricanKai as a code owner December 4, 2020 17:35
@Perksey Perksey merged commit 7b81915 into master Dec 4, 2020
@Perksey Perksey deleted the 2.0 branch March 20, 2021 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants