Commit graph

344 commits

Author SHA1 Message Date
emmaus 835af54e12 fix build 2018-10-10 19:40:37 +00:00
ReinUsesLisp 33da7b7761 Vulkan bindings (#1)
* Initial Vulkan support
2018-10-10 19:40:36 +00:00
emmaus 562882ad0d fix marshalling xsetwindowattribute 2018-10-10 19:40:34 +00:00
emmaus 6cac24a9aa fix platform detection in nativelibrary 2018-10-10 19:40:33 +00:00
emmaus cc02000e6d dynamically load openal libs using mellinoe's code 2018-10-10 19:40:32 +00:00
emmaus a01978c895 dynamically load sdl libs using mellinoe's code 2018-10-10 19:40:32 +00:00
emmaus 48a5347eb5 fix mouse clicks 2018-10-10 19:40:31 +00:00
emmaus f309876d16 added netstandard project 2018-10-10 19:40:26 +00:00
Jarl Gullberg 5426fcaa46
Revert "Fix document typo" (#821) 2018-10-07 17:15:18 +02:00
Acid Chicken (硫酸鶏) 428bf02b75
Update MathHelper.cs 2018-10-01 09:03:43 +09:00
TominoCZ 9b5bc1172b Fixed incorrect Quaternion/Vector rotation (#776)
The issue was related to referencing...
In OpenTK 2.0, Vector3.Transform(Quaternion) actually returned a new instance of the rotated vector, which was then changed in 3.0 so that no new vector instances were created for better performance. In short, this is what caused the issue at Vector3.Transform(Quaternion), returning incorrectly rotated vectors.
2018-07-06 14:37:34 +02:00
Callum 3a70472382 Change Matrix4 to use unsafe code for invert (#719)
* Change Matrix4 to use unsafe code for invert

* Fix stylecop error

* Isolate unsafe code

* Move unsafe block
2018-04-06 22:13:35 +02:00
VperuS 067cd4a5bc Remove exception handling from main event loop in SDL. Fixed #735 (#737)
* Rethrow exception from main event loop in SDL. Fixed  #735

* Remove try-catch
2018-04-06 22:13:23 +02:00
Shane Woolcock 8ec577b9ca Fixes an issue on macOS where having unprocessed events on the event queue on startup (mouse movements, etc.) would put the app in a partially-activated state and not take window focus (#732) 2018-02-08 22:21:51 +01:00
Dan Balasescu b16e7faacc Fix Xamarin project compiles (#725)
* Fix Generator.Rewrite failing on iOS builds

* Fix incorrect path

* Directly link to Xamarin.iOS facades

* Fix Xamarin.Mac framework directory

* Add TVOS/WatchOS framework directories

* Add Android framework directory

* Remove unused framework dirs for now

Maybe we can add these back in later, when we have compiling support for these platforms.

* Remove ProjectExtensions
2018-01-23 10:13:27 +01:00
UnknownShadow200 f17fa4bc2d Fix pressing alt + [numpad numbers] raising OnKeyPress with '?' 2018-01-22 11:21:10 +01:00
Jarl Gullberg f11b6ce6ad
Merge pull request #711 from copygirl/patch-1
Replace NativeWindow cursor_visible field with implementation's CursorVisible
2018-01-06 21:24:16 +01:00
copygirl aee67bf80a Fix brace formatting in NativeWindow.CursorVisible 2018-01-06 21:18:48 +01:00
Jarl Gullberg 2665f338dd
Merge pull request #714 from ThomasD13/quaternion
Quaternion
2018-01-06 20:52:35 +01:00
copygirl 3d9d6d7ee3 Update conditionals and formatting 2018-01-05 18:43:19 +01:00
copygirl d86967eb7c Remove an unneeded check and comment 2018-01-05 18:43:19 +01:00
copygirl 673c922b72 Move cursor visible check into implementations 2018-01-05 18:43:19 +01:00
copygirl fe65c87d81 Replace cursor_visible with implementation
INativeWindow implementations already have their own private fields storing cursor visibility
2018-01-05 18:43:19 +01:00
Jarl Gullberg f28ea173dc
Merge pull request #707 from Frassle/paket
Sync paket project and add CI support
2018-01-05 16:02:18 +01:00
Fraser Waters 031320a15c Run paket install 2018-01-05 12:58:23 +00:00
Fraser Waters 77ec751dcc Remove conditional StyleCop support 2018-01-05 12:56:26 +00:00
Unknown 079f5c5242 Fixed typos 2018-01-02 20:24:15 +01:00
Unknown fca36b19b0 Provide fix for converting euler angles to quaternion
Fixed API documentation and changed convertion from euler angles to quaterion:

Rotation will applied in following order: 1. xAxis, 2. yAxis, 3. zAxis.
Right hand rule is used here. Rotation is interpreted counter clock wise, in viewing direction of positive axis. Still need to double check that with unit tests.
2018-01-02 17:53:04 +01:00
VperuS f22a18587c
Fix formating in MathHelper.cs 2018-01-02 15:06:09 +02:00
Fraser Waters 9610f20258 Remove and ignore AsssemblyInfo files (built by FAKE) 2018-01-01 19:33:25 +00:00
Fraser Waters 3971e8af78 Add ability to disable/enable stylecop rules 2017-12-27 21:03:55 +00:00
Jarl Gullberg 7fd3d75f6c
Remove bindings from source control. 2017-12-27 20:04:04 +01:00
Jarl Gullberg 991e36ca4f
Merge pull request #698 from Frassle/specupdate
Update bindings from OpenGL-Registry
2017-12-27 18:57:12 +01:00
Fraser Waters 9a40e81e73
Merge pull request #663 from Frassle/issue656
Skip null entries when enumerating DeviceCollection
2017-12-26 21:24:03 +00:00
Fraser Waters 0fc7f6d4aa Add DebugProc to ES11 2017-12-26 21:19:36 +00:00
Fraser Waters cea60cf034 Rerun Generator.Bind 2017-12-26 18:38:18 +00:00
Tzach Shabtay 0f9552e39a Game Window- allow configuring separate update thread 2017-12-23 01:58:07 -05:00
Shane Kelly e335698c07 Remove a lock on a read-only operation, in IsCurrent() 2017-12-09 12:19:41 +02:00
Shane Kelly 67563520ff Stop using DisplayLocks for every MakeCurrent context call. 2017-12-09 09:39:44 +02:00
Fraser Waters ea09f56740 Add missing count attribute to ExtGetProgramBinarySourceQCOM
Also extends Rewrite to understand the new syntax of "*name".
2017-11-02 09:28:36 +00:00
Fraser Waters e55d7017e0 Add count attribute to GetTranslatedShaderSource out string parameter 2017-11-02 09:28:36 +00:00
Fraser Waters 0ff0fbf1f7 Add count attribute to GetPerfQueryInfoINTEL out string parameter 2017-11-02 09:28:36 +00:00
Fraser Waters 602045f085 Add count attributes to GetPerfCounterInfoINTEL out string/array parameters 2017-11-02 09:28:35 +00:00
Fraser Waters 62d1072f71 Override flow direction for glGetPerfQueryIdByNameINTEL
The function in the OpenGL specification is not const correct.
2017-11-02 09:28:34 +00:00
Jarl Gullberg 781cdd5a3b Merge pull request #661 from Frassle/bindfix
Binding Generator fixes related to legacy array overloads
2017-10-19 21:06:19 +02:00
Jarl Gullberg 870f1abf8e Merge pull request #652 from Nihlus/glwidget-glarea
Base GLWidget on GLArea instead of DrawingArea
2017-10-19 21:03:11 +02:00
Fraser Waters 8efe765529 Skip null entries when enumerating DeviceCollection
Fixes #656.

DeviceCollection used the underlying List<T>'s enumerator. But we replace
entries in the list with nulls to save memory movement. This commit adds a
custom enumerator that skips nulls in the list.
2017-10-05 23:00:57 +01:00
Fraser Waters 8ed1e20a7a Generate legacy overloads for GetProgramResourceiv 2017-10-05 15:29:56 +01:00
Fraser Waters bf6d047b0c Generate legacy overloads for GetProgramResourceName 2017-10-05 15:27:42 +01:00
Fraser Waters 368c984288 Generate legacy overloads for GetProgramBinary 2017-10-05 15:20:24 +01:00