Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
Kai Jellinghaus 510de97c19
SilkTouch work for 2.4 (#454)
* Remove ConcurrentDictionaryVTable

* Out with the trees!

* Split files

* Out with the threes part 2!

* Remove slots & cleanup

* Add fallback arm

* Adjust exception message

* Update src/Core/Silk.NET.Core/Native/NativeApiContainer.cs

Co-authored-by: Dylan Perks <11160611+Perksey@users.noreply.github.com>

* Change how loading exceptions work

* Update src/Core/Silk.NET.Core/Native/NativeApiContainer.cs

Co-authored-by: Dylan Perks <11160611+Perksey@users.noreply.github.com>

* Try to filter usings

* Cleanup Vk + XR

* Remove redundant code

* Fix some warnings

* enable telemetry

* Raise telemetry diagnostic to Warning

* Fix telemetry option

* Enable compact file format always

Co-authored-by: Dylan Perks <11160611+Perksey@users.noreply.github.com>
2021-05-02 21:52:58 +01:00
Dylan Perks d3c0e237cb
Push merging 2020-12-04 15:59:28 +00:00
Dylan Perks 545e4b58fc
Merge branch 'master' into 2.0 2020-12-04 15:40:41 +00:00
Dylan Perks 892a931f2b
SilkMarshal 2.0 (#333)
* SilkMarshal 2.0 w/ GlobalMemory - a HGlobal/POH abstraction

* Update src/Core/Silk.NET.Core/Native/GlobalMemory.cs

* NativeStringEncoding = UnmanagedType
2020-10-18 20:16:05 +01:00
Dylan Perks 19351cd5f6
1.7-2.0 catchup 2020-10-17 19:51:35 +01:00
radobot 9a40f1e8ce
Add more options to editorconfig and normalise all code according to it (#320)
* Make editorconfig more readable

* Add some missing options to editorconfig

* Fix wrong autoguessed editorconfig option to a more appropriate value

* Fix formatting in all nongenerated source files

* Change formatting of explicit type casts to include a space
2020-10-04 15:09:16 +01:00
HurricanKai ebd8ba7be1
Inline Generated VTable comparisions (#299) 2020-08-31 08:38:25 +02:00
HurricanKai 1781f16d78
Generate VTable class (#296)
* Allow custom VTable implementations

* Optionally generate VTable

* Enable VTable generation globally

* Distinct Entrypoints

* Add Swap overload
2020-08-30 16:15:18 +02:00
Dylan Perks f17ca05e2a
An input implementation using GLFW (#21)
* Start of the GLFW Input implementation

* A start I guess, it's messy and all over the place

* Additional work on GLFW input (#26)

* Move ApplyDeadzone to Deadzone struct

* Add test program, move ConnectionChanged to IInputContext

* Add functionality to test program

* More input work

* Add an .editorconfig

* ThumbstickCollection

* ButtonCollection

* Hat and Trigger collection

* Update collections

* joystick axis cache

* Update cached axis

* Update GlfwJoystick.cs

* Joystick cache

* AxisCollection

* GamePad and Joystick cache

* GamepadFix

* GamePad Updates

* Bracket fix

* work

* Thumbstick update

* Gamepad implementation

* nitpick

* update test program

* Update dispatcher

* Only show window when running

* Fix context not being passed to enumerator

* Fix a marshalling bug

* Apply deadzone

* Enumerate over the disconnected joysticks too.

* Update the test app.

* Controller events fix

* wip

* Use indexers on the pointers

* Fix mismatched enumerant names in GLFW

* Destroy window when we're done

* Fix wrong enum values in GLFW

* Make properties update initialOptions, and only invoke GLFW if running

* Window is immovable when only 1 thread is used, investigate WindowUpdate

* Fix `Get` methods (#30)

* Fix the abominations that were `Get()` methods

* Remove Get methods entirely

* Fully implement mice, fix deadlock issues

* This is GLFW input.

* Update GlfwInputContext.cs

* Update Silk.NET.Input.Desktop.csproj

* Update GlfwInputContext.cs

* Update InputHandler.cs

* Update GlfwInputContext.cs
2019-08-04 17:22:13 +01:00